1. 27 Sep, 2013 1 commit
    • darin@apple.com's avatar
      rename KURL to URL · 5ffbb5c7
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=16214
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * many files: Renamed, using script.
      
      Source/WebKit:
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      Let the script to try to rename here.
      
      Source/WebKit/blackberry:
      
      * many files: Renamed, using script.
      
      Source/WebKit/efl:
      
      * many files: Renamed, using script.
      
      Source/WebKit/gtk:
      
      * many files: Renamed, using script.
      
      Source/WebKit/mac:
      
      * many files: Renamed, using script.
      
      Source/WebKit/qt:
      
      * many files: Renamed, using script.
      
      Source/WebKit/win:
      
      * many files: Renamed, using script.
      
      Source/WebKit/wince:
      
      * many files: Renamed, using script.
      
      Source/WebKit2:
      
      * many files: Renamed, using script.
      
      Tools:
      
      * many files: Renamed, using script.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ffbb5c7
  2. 14 Dec, 2012 1 commit
    • simonjam@chromium.org's avatar
      [Resource Timing] Properly report reused connections · 7a939941
      simonjam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104986
      
      Reviewed by Tony Gentilcore.
      
      Source/WebCore:
      
      Test: http/tests/w3c/webperf/submission/resource-timing/html/test_resource_connection_reuse.html
      
      * page/PerformanceResourceTiming.cpp:
      (WebCore::PerformanceResourceTiming::PerformanceResourceTiming):
      (WebCore::PerformanceResourceTiming::connectStart):
      (WebCore::PerformanceResourceTiming::connectEnd):
      * page/PerformanceResourceTiming.h:
      (PerformanceResourceTiming):
      
      LayoutTests:
      
      * http/tests/w3c/webperf/submission/resource-timing/html/test_resource_connection_reuse-expected.txt: Added.
      * http/tests/w3c/webperf/submission/resource-timing/html/test_resource_connection_reuse.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a939941
  3. 02 Dec, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Source/WebCore: [Resource Timing] implementation of cross origin resouce timing restrictions. · e291215c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84886.
      
      Patch by Pan Deng <pan.deng@intel.com> on 2012-12-02
      Reviewed by Tony Gentilcore.
      
      This patch implemented resource timing behaviors of cross origin. By default, detailed timing info is hided in cross origin resource timing, only startTime, duration, fetchStart and responseEnd can be observed. Exceptions are, server side allow its origin can be timing by another through a header with "timing-allow-origin" field.
      
      Tests: http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request.html
             http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request.html
      
      * page/Performance.cpp:
      (WebCore::passesTimingAllowCheck):
      (WebCore):
      (WebCore::Performance::addResourceTiming):
      * page/Performance.h:
      (WebCore):
      (Performance):
      * page/PerformanceResourceTiming.cpp:
      (WebCore):
      * page/PerformanceResourceTiming.h:
      (WebCore::PerformanceResourceTiming::create):
      (PerformanceResourceTiming):
      
      LayoutTests: [Resource Timing]Test cases of cross origin resource timing.
      https://bugs.webkit.org/show_bug.cgi?id=84886.
      
      Patch by Pan Deng <pan.deng@intel.com> on 2012-12-02
      Reviewed by Tony Gentilcore.
      
      Test cases in this patch validate resource timing behavior when cross origin request with/without "allow-timing-origin" response header.
      
      * http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php: Added.
      * http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request-expected.txt: Added.
      * http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request.html: Added.
      * http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request-expected.txt: Added.
      * http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e291215c
  4. 22 Nov, 2012 1 commit
    • simonjam@chromium.org's avatar
      [Resource Timing] Populate PerformanceResourceTiming structs with timing data · 11d3e453
      simonjam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=102862
      
      Reviewed by Tony Gentilcore.
      
      This allows CachedResourceLoader to pass in all of the necessary values and populates
      them in the PerformanceResourceTiming struct. A follow up patch will actually call
      addResourceTiming() as necessary.
      
      Tests: http/tests/w3c/webperf/submission/resource-timing
      
      * page/Performance.cpp:
      (WebCore::Performance::addResourceTiming): Accept all necessary timing data.
      * page/Performance.h:
      (WebCore):
      (Performance):
      * page/PerformanceEntry.cpp:
      (WebCore::PerformanceEntry::PerformanceEntry):
      * page/PerformanceEntry.h:
      (PerformanceEntry):
      * page/PerformanceResourceTiming.cpp:
      (WebCore::monotonicTimeToDocumentMilliseconds):
      (WebCore):
      (WebCore::PerformanceResourceTiming::PerformanceResourceTiming):
      (WebCore::PerformanceResourceTiming::initiatorType): Return the spec'd values.
      (WebCore::PerformanceResourceTiming::fetchStart):
      (WebCore::PerformanceResourceTiming::domainLookupStart):
      (WebCore::PerformanceResourceTiming::domainLookupEnd):
      (WebCore::PerformanceResourceTiming::connectStart):
      (WebCore::PerformanceResourceTiming::connectEnd):
      (WebCore::PerformanceResourceTiming::secureConnectionStart):
      (WebCore::PerformanceResourceTiming::requestStart):
      (WebCore::PerformanceResourceTiming::responseStart):
      (WebCore::PerformanceResourceTiming::responseEnd):
      (WebCore::PerformanceResourceTiming::resourceTimeToDocumentMilliseconds):
      * page/PerformanceResourceTiming.h:
      (WebCore::PerformanceResourceTiming::create):
      (PerformanceResourceTiming):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11d3e453
  5. 21 Jun, 2012 1 commit
    • simonjam@chromium.org's avatar
      [Resource Timing] Implement Resource Timing interface · 0c0aa712
      simonjam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=61152
      
      This patch implements the Resource Timing interface. It doesn't do anything
      useful, because nothing populates the timeline yet. There are also some gaps
      in the implementation, which have been filed as bugs.
      
      http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ResourceTiming/Overview.html
      
      Reviewed by Tony Gentilcore.
      
      No new tests. Feature is disabled on all platforms.
      
      * CMakeLists.txt:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * UseV8.cmake:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/v8/custom/V8PerformanceEntryCustom.cpp:
      (WebCore):
      (WebCore::toV8): Support PerformanceEntry polymorphism.
      * dom/EventNames.h:
      (WebCore):
      * dom/EventTargetFactory.in:
      * page/Performance.cpp:
      (WebCore::Performance::~Performance):
      (WebCore):
      (WebCore::Performance::interfaceName): Reqired for EventTarget.
      (WebCore::Performance::scriptExecutionContext): Ditto.
      (WebCore::Performance::webkitGetEntries): Return "resource" entries.
      (WebCore::Performance::webkitGetEntriesByType): Ditto.
      (WebCore::Performance::webkitGetEntriesByName): Ditto.
      (WebCore::Performance::webkitClearResourceTimings): New.
      (WebCore::Performance::webkitSetResourceTimingBufferSize): New. Unimplemented.
      (WebCore::Performance::addResourceTiming): This is how resources in WebCore will report to the timeline.
      (WebCore::Performance::eventTargetData): Required for EventTarget.
      (WebCore::Performance::ensureEventTargetData): Ditto.
      * page/Performance.h:
      (Performance):
      (WebCore::Performance::refEventTarget):
      (WebCore::Performance::derefEventTarget):
      * page/Performance.idl:
      * page/PerformanceEntry.cpp:
      (WebCore::PerformanceEntry::~PerformanceEntry):
      (WebCore):
      * page/PerformanceEntry.h:
      (PerformanceEntry):
      (WebCore::PerformanceEntry::isResource):
      * page/PerformanceEntry.idl:
      * page/PerformanceResourceTiming.cpp: Added.
      (WebCore):
      (WebCore::PerformanceResourceTiming::PerformanceResourceTiming):
      (WebCore::PerformanceResourceTiming::initiatorType):
      (WebCore::PerformanceResourceTiming::redirectStart):
      (WebCore::PerformanceResourceTiming::redirectEnd):
      (WebCore::PerformanceResourceTiming::fetchStart):
      (WebCore::PerformanceResourceTiming::domainLookupStart):
      (WebCore::PerformanceResourceTiming::domainLookupEnd):
      (WebCore::PerformanceResourceTiming::connectStart):
      (WebCore::PerformanceResourceTiming::connectEnd):
      (WebCore::PerformanceResourceTiming::secureConnectionStart):
      (WebCore::PerformanceResourceTiming::requestStart):
      (WebCore::PerformanceResourceTiming::responseStart):
      (WebCore::PerformanceResourceTiming::responseEnd):
      (WebCore::PerformanceResourceTiming::monotonicTimeToDocumentMilliseconds):
      (WebCore::PerformanceResourceTiming::resourceTimeToMilliseconds):
      * page/PerformanceResourceTiming.h: Added.
      (WebCore):
      (PerformanceResourceTiming):
      (WebCore::PerformanceResourceTiming::create):
      (WebCore::PerformanceResourceTiming::isResource):
      * page/PerformanceResourceTiming.idl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c0aa712
  6. 26 Apr, 2012 1 commit
    • simonjam@chromium.org's avatar
      [Web Timing] Add a vendor-prefixed Performance Timeline API · b7dff976
      simonjam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80350
      
      As described here: http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html
      
      The API is there and should be correct, but it isn't particularly useful,
      because nothing is populated. Upcoming changes will add Navigation Timing
      and Resource Timing.
      
      Reviewed by Tony Gentilcore.
      
      No new tests. Functionality is disabled on all platforms.
      
      * CMakeLists.txt: Added PerformanceEntry* files.
      * DerivedSources.pri: Ditto.
      * GNUmakefile.list.am: Ditto.
      * WebCore.gypi: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      * page/Performance.cpp:
      (WebCore::Performance::webkitGetEntries): Added.
      (WebCore::Performance::webkitGetEntriesByType): Added.
      (WebCore::Performance::webkitGetEntriesByName): Added.
      * page/Performance.h:
      (Performance):
      * page/Performance.idl:
      * page/PerformanceEntry.cpp: Added.
      (WebCore):
      (WebCore::PerformanceEntry::PerformanceEntry):
      (WebCore::PerformanceEntry::name):
      (WebCore::PerformanceEntry::entryType):
      (WebCore::PerformanceEntry::startTime):
      (WebCore::PerformanceEntry::duration):
      * page/PerformanceEntry.h: Added.
      (WebCore):
      (PerformanceEntry):
      * page/PerformanceEntry.idl: Added.
      * page/PerformanceEntryList.cpp: Added.
      (WebCore):
      (WebCore::PerformanceEntryList::PerformanceEntryList):
      (WebCore::PerformanceEntryList::~PerformanceEntryList):
      (WebCore::PerformanceEntryList::length):
      (WebCore::PerformanceEntryList::item):
      (WebCore::PerformanceEntryList::append):
      * page/PerformanceEntryList.h: Added.
      (WebCore):
      (PerformanceEntryList):
      (WebCore::PerformanceEntryList::create):
      * page/PerformanceEntryList.idl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7dff976
  7. 07 Jan, 2012 1 commit
    • abarth@webkit.org's avatar
      Disconnecting DOMWindow properties is fragile and overly complicated · 84fe60e1
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75699
      
      Reviewed by Alexey Proskuryakov.
      
      Previously, we had to carefully check every object tree hanging off of
      DOMWindow to make sure that every property correctly disconnected
      itself and all its subobjects from the Frame when the DOMWindow
      disconnected from the Frame.
      
      This patch introduces DOMWindowProperty, which is a base class that
      handles this work automagically, ensuring that we won't have any
      dangling Frame pointers and removing a bunch of boilerplate code.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * css/StyleMedia.cpp:
      (WebCore::StyleMedia::StyleMedia):
      * css/StyleMedia.h:
      (WebCore::StyleMedia::create):
      * loader/appcache/DOMApplicationCache.cpp:
      (WebCore::DOMApplicationCache::DOMApplicationCache):
      (WebCore::DOMApplicationCache::disconnectFrame):
      * loader/appcache/DOMApplicationCache.h:
      * page/BarInfo.cpp:
      (WebCore::BarInfo::BarInfo):
      * page/BarInfo.h:
      * page/Console.cpp:
      (WebCore::Console::Console):
      (WebCore::Console::memory):
      * page/Console.h:
      * page/DOMSelection.cpp:
      (WebCore::DOMSelection::DOMSelection):
      * page/DOMSelection.h:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::registerProperty):
      (WebCore::DOMWindow::unregisterProperty):
      (WebCore::DOMWindow::clear):
      * page/DOMWindow.h:
      * page/Geolocation.cpp:
      (WebCore::Geolocation::Geolocation):
      (WebCore::Geolocation::disconnectFrame):
      * page/Geolocation.h:
      * page/History.cpp:
      (WebCore::History::History):
      * page/History.h:
      * page/Location.cpp:
      (WebCore::Location::Location):
      * page/Location.h:
      * page/Navigator.cpp:
      (WebCore::Navigator::Navigator):
      (WebCore::Navigator::~Navigator):
      * page/Navigator.h:
      * page/Performance.cpp:
      (WebCore::Performance::Performance):
      (WebCore::Performance::memory):
      * page/Performance.h:
      * page/PerformanceNavigation.cpp:
      (WebCore::PerformanceNavigation::PerformanceNavigation):
      * page/PerformanceNavigation.h:
      * page/PerformanceTiming.cpp:
      (WebCore::PerformanceTiming::PerformanceTiming):
      * page/PerformanceTiming.h:
      * page/Screen.cpp:
      (WebCore::Screen::Screen):
      * page/Screen.h:
      * plugins/DOMMimeTypeArray.cpp:
      (WebCore::DOMMimeTypeArray::DOMMimeTypeArray):
      * plugins/DOMMimeTypeArray.h:
      * plugins/DOMPluginArray.cpp:
      (WebCore::DOMPluginArray::DOMPluginArray):
      * plugins/DOMPluginArray.h:
      * storage/Storage.cpp:
      (WebCore::Storage::Storage):
      * storage/Storage.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84fe60e1
  8. 08 Jan, 2011 1 commit
  9. 12 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-12 James Simonsen <simonjam@chromium.org> · 6000d4c1
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * fast/dom/Window/window-properties-performance-expected.txt: Class names changed.
      2010-11-12  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/Performance.cpp:
              (WebCore::Performance::navigation):
              (WebCore::Performance::timing):
              * page/Performance.h:
              * page/Performance.idl:
              * page/PerformanceNavigation.cpp: Renamed from WebCore/page/Navigation.cpp.
              (WebCore::PerformanceNavigation::PerformanceNavigation):
              (WebCore::PerformanceNavigation::frame):
              (WebCore::PerformanceNavigation::disconnectFrame):
              (WebCore::PerformanceNavigation::type):
              (WebCore::PerformanceNavigation::redirectCount):
              * page/PerformanceNavigation.h: Renamed from WebCore/page/Navigation.h.
              (WebCore::PerformanceNavigation::create):
              * page/PerformanceNavigation.idl: Renamed from WebCore/page/Navigation.idl.
              * page/PerformanceTiming.cpp: Renamed from WebCore/page/Timing.cpp.
              (WebCore::toIntegerMilliseconds):
              (WebCore::getPossiblySkewedTimeInKnownRange):
              (WebCore::PerformanceTiming::PerformanceTiming):
              (WebCore::PerformanceTiming::frame):
              (WebCore::PerformanceTiming::disconnectFrame):
              (WebCore::PerformanceTiming::navigationStart):
              (WebCore::PerformanceTiming::unloadEventEnd):
              (WebCore::PerformanceTiming::redirectStart):
              (WebCore::PerformanceTiming::redirectEnd):
              (WebCore::PerformanceTiming::fetchStart):
              (WebCore::PerformanceTiming::domainLookupStart):
              (WebCore::PerformanceTiming::domainLookupEnd):
              (WebCore::PerformanceTiming::connectStart):
              (WebCore::PerformanceTiming::connectEnd):
              (WebCore::PerformanceTiming::requestStart):
              (WebCore::PerformanceTiming::requestEnd):
              (WebCore::PerformanceTiming::responseStart):
              (WebCore::PerformanceTiming::responseEnd):
              (WebCore::PerformanceTiming::domLoading):
              (WebCore::PerformanceTiming::domInteractive):
              (WebCore::PerformanceTiming::domContentLoaded):
              (WebCore::PerformanceTiming::domComplete):
              (WebCore::PerformanceTiming::loadEventStart):
              (WebCore::PerformanceTiming::loadEventEnd):
              (WebCore::PerformanceTiming::documentLoader):
              (WebCore::PerformanceTiming::documentTiming):
              (WebCore::PerformanceTiming::documentLoadTiming):
              (WebCore::PerformanceTiming::resourceLoadTiming):
              (WebCore::PerformanceTiming::resourceLoadTimeRelativeToAbsolute):
              * page/PerformanceTiming.h: Renamed from WebCore/page/Timing.h.
              (WebCore::PerformanceTiming::create):
              * page/PerformanceTiming.idl: Renamed from WebCore/page/Timing.idl.
      2010-11-12  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * src/WebPerformance.cpp:
              (WebKit::WebPerformance::navigationType):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6000d4c1
  10. 16 Jul, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-07-16 Mikhail Naganov <mnaganov@chromium.org> · df0fa0d5
      mnaganov@chromium.org authored
      	Reviewed by Pavel Feldman.
      
      	Make JS memory stats available via 'Performance' object (Web Timing).
      	This statistics is populated only if 'WebKitMemoryInfoEnabled'
      	preference is set.
      
      	'console.memory' is kept until Web Timing object becomes visible by
      	default (currently it is hidden under compile-time flag).  These stats
      	are guarded with the same preference.
      
      	https://bugs.webkit.org/show_bug.cgi?id=41617
      
      	* bindings/js/JSConsoleCustom.cpp:
      	* bindings/v8/custom/V8ConsoleCustom.cpp:
      	* page/Console.cpp:
      	(WebCore::Console::disconnectFrame):
      	(WebCore::Console::memory):
      	* page/Console.h:
      	* page/Console.idl:
      	* page/MemoryInfo.cpp:
      	(WebCore::MemoryInfo::MemoryInfo):
      	* page/MemoryInfo.h:
      	(WebCore::MemoryInfo::create):
      	* page/Performance.cpp:
      	(WebCore::Performance::disconnectFrame):
      	(WebCore::Performance::memory):
      	* page/Performance.h:
      	* page/Performance.idl:
      	* page/Settings.cpp:
      	(WebCore::Settings::Settings):
      	* page/Settings.h:
      	(WebCore::Settings::setMemoryInfoEnabled):
      	(WebCore::Settings::memoryInfoEnabled):
      
      	* public/WebSettings.h:
      	* src/WebSettingsImpl.cpp:
      	(WebKit::WebSettingsImpl::setMemoryInfoEnabled):
      	* src/WebSettingsImpl.h:
      
      	* WebKit.order:
      	* WebView/WebPreferenceKeysPrivate.h:
      	* WebView/WebPreferences.mm:
      	(+[WebPreferences initialize]):
      	(-[WebPreferences memoryInfoEnabled]):
      	(-[WebPreferences setMemoryInfoEnabled:]):
      	* WebView/WebPreferencesPrivate.h:
      	* WebView/WebView.mm:
      	(-[WebView _preferencesChangedNotification:]):
      
      	* Interfaces/IWebPreferencesPrivate.idl:
      	* WebPreferenceKeysPrivate.h:
      	* WebPreferences.cpp:
      	(WebPreferences::initializeDefaultSettings):
      	(WebPreferences::memoryInfoEnabled):
      	(WebPreferences::setMemoryInfoEnabled):
      	* WebPreferences.h:
      	* WebView.cpp:
      	(WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df0fa0d5
  11. 02 Jul, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-07-01 Tony Gentilcore <tonyg@chromium.org> · 5f1072b8
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Add window.performance.navigation namespace
              https://bugs.webkit.org/show_bug.cgi?id=41442
      
              Adds window.performance.navigation namespace consisting of ".type"
              and ".redirectCount". As part of this change, I renmaed "NavigationTiming"
              to just "Timing" to avoid confusion.
      
              No new tests because tests will be added in a subsequent patch when
              functionality is added.
      
              * Android.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/Navigation.cpp: Added.
              (WebCore::Navigation::Navigation):
              (WebCore::Navigation::frame):
              (WebCore::Navigation::disconnectFrame):
              (WebCore::Navigation::type):
              (WebCore::Navigation::redirectCount):
              * page/Navigation.h: Added.
              (WebCore::Navigation::create):
              * page/Navigation.idl: Added.
              * page/NavigationTiming.cpp: Removed.
              * page/NavigationTiming.h: Removed.
              * page/NavigationTiming.idl: Removed.
              * page/Performance.cpp:
              (WebCore::Performance::navigation):
              (WebCore::Performance::timing):
              * page/Performance.h:
              * page/Performance.idl:
              * page/Timing.cpp: Added.
              (WebCore::Timing::Timing):
              (WebCore::Timing::frame):
              (WebCore::Timing::disconnectFrame):
              (WebCore::Timing::navigationStart):
              * page/Timing.h: Added.
              (WebCore::Timing::create):
              * page/Timing.idl: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f1072b8
  12. 26 Jun, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-06-26 Tony Gentilcore <tonyg@chromium.org> · 6180404a
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Add an --enable-web-timing flag which guards Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              This flag is disabled by default.
              See: http://dev.w3.org/2006/webapi/WebTiming/
      
              * configure.ac:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a guarded window.performance.timing binding which is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              This is where Web Timing support will be implemented. Web Timing is a
              draft spec for exposing load times to web pages. It will be enabled
              once the spec and implementaiton are solidified. See:
              http://dev.w3.org/2006/webapi/WebTiming/
      
              No new tests because guarded behind a #DEFINE. Will add tests as
              functionality is landed.
      
              * Android.mk:
              * CMakeLists.txt:
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::performance):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalPerformance):
              * page/DOMWindow.idl:
              * page/NavigationTiming.cpp: Added.
              (WebCore::NavigationTiming::NavigationTiming):
              (WebCore::NavigationTiming::frame):
              (WebCore::NavigationTiming::disconnectFrame):
              (WebCore::NavigationTiming::navigationStart):
              * page/NavigationTiming.h: Added.
              (WebCore::NavigationTiming::create):
              * page/NavigationTiming.idl: Added.
              * page/Performance.cpp: Added.
              (WebCore::Performance::Performance):
              (WebCore::Performance::frame):
              (WebCore::Performance::disconnectFrame):
              (WebCore::Performance::timing):
              * page/Performance.h: Added.
              (WebCore::Performance::create):
              * page/Performance.idl: Added.
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Disable Web Timing support by default for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * features.gypi:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a VS macro for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * win/tools/vsprops/FeatureDefines.vsprops:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a build-webkit option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6180404a
  13. 02 Jun, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-06-02 Mikhail Naganov <mnaganov@chromium.org> · 3e5b25a8
      mnaganov@chromium.org authored
              Reviewed by Yuri Semikhatsky.
      
              Web Inspector: add Console API for retrieving memory stats
      
              Add 'console.memory' property which returns an object. Currently
              it has two fields: totalJSHeapSize and usedJSHeapSize. Later, it can be
              extended for reporting total browser's memory consumption.
      
              https://bugs.webkit.org/show_bug.cgi?id=39646
      
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSConsoleCustom.cpp:
              (WebCore::JSConsole::memory):
              * bindings/v8/custom/V8ConsoleCustom.cpp:
              (WebCore::V8Console::memoryAccessorGetter):
              * page/Console.h:
              * page/Console.idl:
              * page/MemoryInfo.cpp: Added.
              (WebCore::MemoryInfo::MemoryInfo):
              * page/MemoryInfo.h: Added.
              (WebCore::MemoryInfo::create):
              (WebCore::MemoryInfo::totalJSHeapSize):
              (WebCore::MemoryInfo::usedJSHeapSize):
              * page/MemoryInfo.idl: Added.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e5b25a8
  14. 22 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-22 Anton Muhin <antonm@chromium.org> · 3d8be96e
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Adding ScriptWrappable into WebCore.
              This allows to associate custom information when Node
              gets wrapped into JavaScript wrapper.
      
              [v8, dom] Add a pointer field to C++ Node class
              https://bugs.webkit.org/show_bug.cgi?id=32430
      
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              * bindings/v8/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              (WebCore::ScriptWrappable::wrapper):
              (WebCore::ScriptWrappable::setWrapper):
              (WebCore::ScriptWrappable::clearWrapper):
              * dom/Node.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d8be96e
  15. 20 Jan, 2010 1 commit
    • jianli@chromium.org's avatar
      Implement File and Blob interfaces as defined in File API spec. · ec0183fe
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32912
      
      Reviewed by Dmitry Titov.
      
      WebCore:
      
      * Android.derived.jscbindings.mk:
      * Android.derived.v8bindings.mk:
      * Android.mk:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * WebCoreSources.bkl:
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::send):
      * bindings/objc/DOMHTML.h:
      * bindings/objc/PublicDOMInterfaces.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/CodeGeneratorObjC.pm:
      * bindings/scripts/CodeGeneratorV8.pm:
      * bindings/v8/DOMObjectsInclude.h:
      * bindings/v8/DerivedSourcesAllInOne.cpp:
      * bindings/v8/V8Binding.h:
      (WebCore::toInt64):
      * bindings/v8/V8Index.cpp:
      * bindings/v8/V8Index.h:
      * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
      (WebCore::V8XMLHttpRequest::sendCallback):
      * html/File.cpp:
      (WebCore::File::File):
      * html/File.h:
      (WebCore::File::create):
      (WebCore::File::name):
      (WebCore::File::fileName):
      (WebCore::File::fileSize):
      * html/File.idl:
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::send):
      * xml/XMLHttpRequest.h:
      
      WebKit/mac:
      
      * MigrateHeaders.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec0183fe
  16. 18 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-18 Jonathan Dixon <joth@chromium.org> · b15462d1
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add support for enabling navigator.geolocation at runtime in the V8 bindings.
              Adds the [EnabledAtRuntime] modifier to the navigator IDL.
              https://bugs.webkit.org/show_bug.cgi?id=33467
      
              * WebCore.gypi:
              * bindings/v8/RuntimeEnabledFeatures.cpp:
              * bindings/v8/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setGeolocationEnabled):
              (WebCore::RuntimeEnabledFeatures::geolocationEnabled):
              * bindings/v8/custom/V8NavigatorCustom.cpp: Added.
              (WebCore::V8Navigator::GeolocationEnabled):
              * page/Navigator.cpp:
              (WebCore::Navigator::geolocation):
              * page/Navigator.idl:
      2010-01-18  Jonathan Dixon  <joth@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for enabling navigator.geolocation at runtime in the V8 bindings.
              Adds the [EnabledAtRuntime] modifier to the navigator IDL.
              https://bugs.webkit.org/show_bug.cgi?id=33467
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableGeolocation):
              (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b15462d1
  17. 13 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-13 Darin Fisher <darin@chromium.org> · 0e8acfa7
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              Landing portions of platform/chromium/, taken from here:
              http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/WebKit/WebCore/platform/chromium/
      
              * platform/chromium/ChromiumBridge.h: Added.
              * platform/chromium/ChromiumDataObject.cpp: Added.
              (WebCore::ChromiumDataObject::clear):
              (WebCore::ChromiumDataObject::hasData):
              * platform/chromium/ChromiumDataObject.h: Added.
              (WebCore::ChromiumDataObject::create):
              (WebCore::ChromiumDataObject::ChromiumDataObject):
              * platform/chromium/ClipboardChromium.cpp: Added.
              (WebCore::):
              (WebCore::clipboardTypeFromMIMEType):
              (WebCore::ClipboardChromium::ClipboardChromium):
              (WebCore::ClipboardChromium::create):
              (WebCore::ClipboardChromium::clearData):
              (WebCore::ClipboardChromium::clearAllData):
              (WebCore::ClipboardChromium::getData):
              (WebCore::ClipboardChromium::setData):
              (WebCore::ClipboardChromium::types):
              (WebCore::ClipboardChromium::setDragImage):
              (WebCore::ClipboardChromium::setDragImageElement):
              (WebCore::ClipboardChromium::createDragImage):
              (WebCore::imageToMarkup):
              (WebCore::getCachedImage):
              (WebCore::writeImageToDataObject):
              (WebCore::ClipboardChromium::declareAndWriteDragImage):
              (WebCore::ClipboardChromium::writeURL):
              (WebCore::ClipboardChromium::writeRange):
              (WebCore::ClipboardChromium::hasData):
              * platform/chromium/ClipboardChromium.h: Added.
              (WebCore::ClipboardChromium::~ClipboardChromium):
              (WebCore::ClipboardChromium::dataObject):
              * platform/chromium/ClipboardUtilitiesChromium.cpp: Added.
              (WebCore::replaceNewlinesWithWindowsStyleNewlines):
              (WebCore::replaceNBSPWithSpace):
              (WebCore::urlToMarkup):
              * platform/chromium/ClipboardUtilitiesChromium.h: Added.
              * platform/chromium/ContextMenuChromium.cpp: Added.
              (WebCore::ContextMenu::ContextMenu):
              (WebCore::ContextMenu::~ContextMenu):
              (WebCore::ContextMenu::itemCount):
              (WebCore::ContextMenu::insertItem):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenu::itemWithAction):
              (WebCore::ContextMenu::itemAtIndex):
              (WebCore::ContextMenu::setPlatformDescription):
              (WebCore::ContextMenu::platformDescription):
              (WebCore::ContextMenu::releasePlatformDescription):
              * platform/chromium/ContextMenuItemChromium.cpp: Added.
              (WebCore::ContextMenuItem::ContextMenuItem):
              (WebCore::ContextMenuItem::~ContextMenuItem):
              (WebCore::ContextMenuItem::releasePlatformDescription):
              (WebCore::ContextMenuItem::type):
              (WebCore::ContextMenuItem::action):
              (WebCore::ContextMenuItem::title):
              (WebCore::ContextMenuItem::platformSubMenu):
              (WebCore::ContextMenuItem::setType):
              (WebCore::ContextMenuItem::setAction):
              (WebCore::ContextMenuItem::setTitle):
              (WebCore::ContextMenuItem::setSubMenu):
              (WebCore::ContextMenuItem::setChecked):
              (WebCore::ContextMenuItem::setEnabled):
              (WebCore::ContextMenuItem::enabled):
              * platform/chromium/CursorChromium.cpp: Added.
              (WebCore::Cursor::Cursor):
              (WebCore::Cursor::~Cursor):
              (WebCore::Cursor::operator=):
              (WebCore::pointerCursor):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              (WebCore::middlePanningCursor):
              (WebCore::eastPanningCursor):
              (WebCore::northPanningCursor):
              (WebCore::northEastPanningCursor):
              (WebCore::northWestPanningCursor):
              (WebCore::southPanningCursor):
              (WebCore::southEastPanningCursor):
              (WebCore::southWestPanningCursor):
              (WebCore::westPanningCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::aliasCursor):
              (WebCore::progressCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              (WebCore::grabCursor):
              (WebCore::grabbingCursor):
              * platform/chromium/DragDataChromium.cpp: Added.
              (WebCore::containsHTML):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::containsFiles):
              (WebCore::DragData::asFilenames):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::asFragment):
              (WebCore::DragData::asColor):
              * platform/chromium/EditorChromium.cpp: Added.
              (WebCore::Editor::newGeneralClipboard):
              * platform/chromium/FileChooserChromium.cpp: Added.
              (WebCore::FileChooser::basenameForWidth):
              * platform/chromium/FileSystemChromium.cpp: Added.
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              * platform/chromium/FileSystemChromiumLinux.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumMac.mm: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumWin.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FramelessScrollView.cpp: Added.
              (WebCore::FramelessScrollView::~FramelessScrollView):
              (WebCore::FramelessScrollView::invalidateScrollbarRect):
              (WebCore::FramelessScrollView::isActive):
              (WebCore::FramelessScrollView::invalidateRect):
              (WebCore::FramelessScrollView::hostWindow):
              (WebCore::FramelessScrollView::windowClipRect):
              (WebCore::FramelessScrollView::paintContents):
              (WebCore::FramelessScrollView::contentsResized):
              (WebCore::FramelessScrollView::visibleContentsResized):
              * platform/chromium/FramelessScrollView.h: Added.
              (WebCore::FramelessScrollView::FramelessScrollView):
              (WebCore::FramelessScrollView::client):
              (WebCore::FramelessScrollView::setClient):
              * platform/chromium/FramelessScrollViewClient.h: Added.
              * platform/chromium/ScrollbarThemeChromiumWin.cpp: Added.
              (WebCore::):
              (WebCore::ScrollbarThemeChromium::scrollbarThickness):
              (WebCore::ScrollbarThemeChromium::invalidateOnMouseEnterExit):
              (WebCore::ScrollbarThemeChromium::paintTrackPiece):
              (WebCore::ScrollbarThemeChromium::paintButton):
              (WebCore::ScrollbarThemeChromium::paintThumb):
              (WebCore::ScrollbarThemeChromium::getThemeState):
              (WebCore::ScrollbarThemeChromium::getThemeArrowState):
              (WebCore::ScrollbarThemeChromium::getClassicThemeState):
              * platform/chromium/SoundChromiumPosix.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SoundChromiumWin.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SystemTimeChromium.cpp: Added.
              (WebCore::currentTime):
              (WebCore::userIdleTime):
              * platform/chromium/WidgetChromium.cpp: Added.
              (WebCore::Widget::Widget):
              (WebCore::Widget::~Widget):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setCursor):
              (WebCore::Widget::paint):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::setIsSelected):
              (WebCore::Widget::frameRect):
              (WebCore::Widget::setFrameRect):
              * platform/chromium/WindowsVersion.cpp: Added.
              (WebCore::isVistaOrNewer):
              * platform/chromium/WindowsVersion.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e8acfa7
  18. 09 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-09 Darin Fisher <darin@chromium.org> · 45f77239
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=23214
              Upstream platform/network/chromium/
      
              * platform/network/chromium/AuthenticationChallenge.h: Added.
              (WebCore::AuthenticationChallenge::AuthenticationChallenge):
              (WebCore::AuthenticationChallenge::sourceHandle):
              * platform/network/chromium/AuthenticationChallengeChromium.cpp: Added.
              (WebCore::AuthenticationChallenge::platformCompare):
              * platform/network/chromium/CookieJarChromium.cpp: Added.
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookiesEnabled):
              * platform/network/chromium/DNSChromium.cpp: Added.
              (WebCore::prefetchDNS):
              * platform/network/chromium/NetworkStateNotifierChromium.cpp: Added.
              (WebCore::NetworkStateNotifier::updateState):
              (WebCore::NetworkStateNotifier::NetworkStateNotifier):
              * platform/network/chromium/NetworkStateNotifierPrivate.h: Added.
              * platform/network/chromium/ResourceError.h: Added.
              (WebCore::ResourceError::ResourceError):
              * platform/network/chromium/ResourceRequest.h: Added.
              (WebCore::ResourceRequest::):
              (WebCore::ResourceRequest::ResourceRequest):
              (WebCore::ResourceRequest::frame):
              (WebCore::ResourceRequest::setFrame):
              (WebCore::ResourceRequest::setTargetType):
              (WebCore::ResourceRequest::targetType):
              (WebCore::ResourceRequest::originPid):
              (WebCore::ResourceRequest::setOriginPid):
              (WebCore::ResourceRequest::securityInfo):
              (WebCore::ResourceRequest::setSecurityInfo):
              (WebCore::ResourceRequest::doUpdatePlatformRequest):
              (WebCore::ResourceRequest::doUpdateResourceRequest):
              * platform/network/chromium/ResourceResponse.h:
              (WebCore::ResourceResponse::ResourceResponse):
              (WebCore::ResourceResponse::getSecurityInfo):
              (WebCore::ResourceResponse::setSecurityInfo):
              (WebCore::ResourceResponse::isContentFiltered):
              (WebCore::ResourceResponse::setIsContentFiltered):
              (WebCore::ResourceResponse::doUpdateResourceResponse):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45f77239
  19. 07 Jan, 2009 1 commit
    • eric@webkit.org's avatar
      Reviewed by Gavin Barraclough. · f39bd282
      eric@webkit.org authored
              Upstream 3 more files to get the WebCore-Chromium build a bit further.
      
              * WebCore.scons:
              * page/chromium/AccessibilityObjectChromium.cpp: Added.
              (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
              * page/chromium/AccessibilityObjectWrapper.h: Added.
              (WebCore::AccessibilityObjectWrapper::~AccessibilityObjectWrapper):
              (WebCore::AccessibilityObjectWrapper::attached):
              (WebCore::AccessibilityObjectWrapper::accessibilityObject):
              (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
              * platform/chromium/PasteboardPrivate.h: Added.
              (WebCore::PasteboardPrivate::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f39bd282
  20. 26 Nov, 2008 1 commit
  21. 24 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-24 Darin Fisher <darin@chromium.org> · 6b41247a
      darin@chromium.org authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=22448
              Create an abstraction for JSC::SourceCode
      
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/CachedScriptSourceProvider.h:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptSourceCode.h: Added.
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              (WebCore::ScriptSourceCode::length):
              (WebCore::ScriptSourceCode::jsSourceCode):
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::Workevn ScriptController::evaluate):
              * bindings/js/WorkerScriptController.h:
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElement::insertedIntoDocument):
              (WebCore::ScriptElement::childrenChanged):
              (WebCore::ScriptElementData::evaluateScript):
              (WebCore::ScriptElementData::notifyFinished):
              * dom/ScriptElement.h:
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::notifyFinished):
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              * dom/XMLTokenizerQt.cpp:
              (WebCore::XMLTokenizer::parseEndElement):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::notifyFinished):
              * html/HTMLTokenizer.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b41247a
  22. 20 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-18 Darin Fisher <darin@chromium.org> · cd84840e
      darin@chromium.org authored
              Reviewed by Geoff Garen.
      
              https://bugs.webkit.org/show_bug.cgi?id=22345
              Define ScriptValue as a thin container for a JSC::Value*.
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScheduledAction.cpp:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptValue.cpp: Added.
              (WebCore::ScriptValue::getString):
              * bindings/js/ScriptValue.h: Added.
              (WebCore::ScriptValue::ScriptValue):
              (WebCore::ScriptValue::jsValue):
              * dom/ScriptElement.cpp:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizerLibxml2.cpp:
              * html/HTMLTokenizer.cpp:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeIfJavaScriptURL):
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd84840e