1. 12 May, 2011 1 commit
    • tonyg@chromium.org's avatar
      2011-05-10 Tony Gentilcore <tonyg@chromium.org> · 4b0a55f4
      tonyg@chromium.org authored
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * accessibility/AccessibilityObject.cpp:
              * accessibility/AccessibilityRenderObject.cpp:
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              * dom/DocumentMarkerController.cpp:
              * dom/Position.cpp:
              * dom/PositionIterator.cpp:
              * dom/Range.cpp:
              * editing/ApplyBlockElementCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/Editor.cpp:
              * editing/EditorCommand.cpp:
              * editing/FrameSelection.cpp:
              * editing/HTMLInterchange.cpp:
              * editing/IndentOutdentCommand.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/SpellChecker.h:
              * editing/SpellingCorrectionCommand.cpp:
              * editing/SpellingCorrectionController.h:
              * editing/TextCheckingHelper.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.cpp:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * fileapi/DOMFileSystem.cpp:
              * fileapi/DirectoryReaderSync.cpp:
              * fileapi/DirectoryReaderSync.h:
              * fileapi/FileEntry.h:
              * fileapi/FileWriter.h:
              * fileapi/FileWriterBase.h:
              * fileapi/FileWriterSync.h:
              * history/CachedFrame.cpp:
              * history/CachedPage.cpp:
              * history/HistoryItem.cpp:
              * history/HistoryItem.h:
              * history/PageCache.h:
              * loader/HistoryController.h:
              * loader/PingLoader.h:
              * loader/ResourceLoader.h:
              * loader/appcache/DOMApplicationCache.h:
              * loader/cache/CachedCSSStyleSheet.h:
              * loader/cache/CachedFont.cpp:
              * loader/cache/CachedFont.h:
              * loader/cache/CachedResourceRequest.cpp:
              * loader/cache/CachedResourceRequest.h:
              * loader/cache/MemoryCache.h:
              * notifications/Notification.cpp:
              * notifications/Notification.h:
              * notifications/NotificationCenter.cpp:
              * notifications/NotificationCenter.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/DOMSelection.cpp:
              * page/DOMTimer.h:
              * page/DOMWindow.cpp:
              * page/EventHandler.cpp:
              * page/FocusController.h:
              * page/Geolocation.cpp:
              * page/Geolocation.h:
              * page/History.cpp:
              * rendering/RenderListBox.cpp:
              * workers/WorkerContext.cpp:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * src/WebHistoryItem.cpp:
              * src/WebNotification.cpp:
              * src/WebTextCheckingCompletionImpl.cpp:
              * src/mac/WebSubstringUtil.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              * WebView/WebFrame.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * WebProcess/WebPage/mac/WebPageMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b0a55f4
  2. 29 Apr, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-04-29 Vsevolod Vlasov <vsevik@chromium.org> · 93f20e0c
      commit-queue@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
              https://bugs.webkit.org/show_bug.cgi?id=58794
      
              Added ping requests to network panel.
      
              * http/tests/inspector/network/ping-expected.txt: Added.
              * http/tests/inspector/network/ping.html: Added.
      2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
              https://bugs.webkit.org/show_bug.cgi?id=58794
      
              Added ping requests to network panel.
      
              Test: http/tests/inspector/network/ping.html
      
              * English.lproj/localizedStrings.js:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::continueAfterPingLoaderImpl):
              * inspector/InspectorInstrumentation.h:
              (WebCore::InspectorInstrumentation::continueAfterPingLoader):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkDataGridNode.prototype.refreshResource):
              (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
              (WebInspector.NetworkDataGridNode.prototype._refreshTypeCell):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource.prototype.get formParameters):
              (WebInspector.Resource.prototype.requestContentType):
              (WebInspector.Resource.prototype.isPingRequest):
              * loader/PingLoader.cpp:
              (WebCore::PingLoader::PingLoader):
              * loader/PingLoader.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93f20e0c
  3. 21 Apr, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-04-21 Adam Barth <abarth@webkit.org> · d4876fba
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              CSP report-uri is missing
              https://bugs.webkit.org/show_bug.cgi?id=58639
      
              Test that report-uri sends a report.  Testing approach stolen from the
              ping tests.
      
              * http/tests/security/contentSecurityPolicy/report-uri-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/report-uri.html: Added.
              * http/tests/security/contentSecurityPolicy/resources/echo-report.php: Added.
              * http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js: Added.
              * http/tests/security/contentSecurityPolicy/resources/save-report.php: Added.
      2011-04-21  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              CSP report-uri is missing
              https://bugs.webkit.org/show_bug.cgi?id=58639
      
              Our implementation of report-uri differs from what's currently in the
              spec.  I sent the working group an email explaining why.  Generally,
              we're using normal form encoding instead of JSON and we're sending less
              information to a wider set of URLs.  Specifically, we send the current
              document's URL as well as the directive that was violated.  The spec
              (currently) tells us to send the raw HTTP headers and the URL that
              caused the violation, but both of these pieces of data could contain
              information that's sensitive, so we omit them for now.
      
              Test: http/tests/security/contentSecurityPolicy/report-uri.html
      
              * loader/PingLoader.cpp:
              (WebCore::PingLoader::reportContentSecurityPolicyViolation):
              * loader/PingLoader.h:
              * page/ContentSecurityPolicy.cpp:
              (WebCore::CSPDirective::CSPDirective):
              (WebCore::CSPDirective::text):
              (WebCore::ContentSecurityPolicy::reportViolation):
              (WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
              (WebCore::ContentSecurityPolicy::allowInlineEventHandlers):
              (WebCore::ContentSecurityPolicy::allowInlineScript):
              (WebCore::ContentSecurityPolicy::allowEval):
              (WebCore::ContentSecurityPolicy::allowScriptFromSource):
              (WebCore::ContentSecurityPolicy::allowObjectFromSource):
              (WebCore::ContentSecurityPolicy::allowChildFrameFromSource):
              (WebCore::ContentSecurityPolicy::allowImageFromSource):
              (WebCore::ContentSecurityPolicy::allowStyleFromSource):
              (WebCore::ContentSecurityPolicy::allowFontFromSource):
              (WebCore::ContentSecurityPolicy::allowMediaFromSource):
              (WebCore::ContentSecurityPolicy::parseReportURI):
              (WebCore::ContentSecurityPolicy::addDirective):
              * page/ContentSecurityPolicy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4876fba
  4. 13 Feb, 2011 1 commit
  5. 20 Jan, 2011 1 commit
    • ossy@webkit.org's avatar
      Refactoring of the custom allocation framework · 95c1bc42
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49897
      
      Patch by Zoltan Horvath <zoltan@webkit.org> on 2011-01-20
      Reviewed by Csaba Osztrogonác.
      
      Source/JavaScriptCore:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      * wtf/FastAllocBase.h: Turn FastAllocBase's implementation into a macro.
      
      Source/WebCore:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Source/WebKit:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Source/WebKit2:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      Tools:
      
      Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
      The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
      equivalent macro implementation at the necessary places.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c1bc42
  6. 08 Jan, 2011 1 commit
  7. 07 Jan, 2011 1 commit
  8. 23 Sep, 2010 1 commit
    • japhet@chromium.org's avatar
      2010-09-23 Nate Chapin <japhet@chromium.org> · f5d746be
      japhet@chromium.org authored
              Reviewed by Darin Fisher.
              
              Implement <a ping> (disabled by default).
              https://bugs.webkit.org/show_bug.cgi?id=30458
              
              Tests: http/tests/navigation/ping-cross-origin-from-https.html
                     http/tests/navigation/ping-cross-origin.html
                     http/tests/navigation/ping-same-origin.html
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              (WebCore::HTMLAnchorElement::sendPings):
              * html/HTMLAnchorElement.h:
              * html/HTMLAttributeNames.in:
              * loader/PingLoader.cpp:
              (WebCore::PingLoader::sendPing): Set ping-specific headers.
              (WebCore::PingLoader::PingLoader):
              * loader/PingLoader.h:
              (WebCore::PingLoader::timeout): Ensure pings eventually timeout, since
                  the normal cancel mechanism can't stop them.
              * page/Settings.cpp:
              * page/Settings.h: Add hyperlinkAuditingEnabled.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5d746be
  9. 15 Sep, 2010 3 commits
    • pfeldman@chromium.org's avatar
      2010-09-14 Pavel Feldman <pfeldman@chromium.org> · 88e0487f
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::willSendRequest):
              (WebCore::InspectorController::didFinishLoading):
              (WebCore::InspectorController::didFailLoading):
              * inspector/InspectorController.h:
              * inspector/InspectorResource.cpp:
              (WebCore::InspectorResource::endTiming):
              * inspector/InspectorResource.h:
              * loader/PingLoader.h:
              (WebCore::PingLoader::didFinishLoading):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::didFinishLoading):
              * loader/ResourceLoader.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didFinishLoading):
              * loader/appcache/ApplicationCacheGroup.h:
              * loader/icon/IconFetcher.cpp:
              (WebCore::IconFetcher::didFinishLoading):
              * loader/icon/IconFetcher.h:
              * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
              (StreamingClient::didFinishLoading):
              * platform/network/BlobResourceHandle.cpp:
              (WebCore::BlobResourceHandle::notifyFinish):
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::didFinishLoading):
              * platform/network/ResourceLoadTiming.h:
              (WebCore::ResourceLoadTiming::deepCopy):
              (WebCore::ResourceLoadTiming::operator==):
              (WebCore::ResourceLoadTiming::ResourceLoadTiming):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::didFinishLoading):
              * platform/network/curl/ResourceHandleCurl.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::parseDataUrl):
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]):
              (WebCoreSynchronousLoaderClient::didFinishLoading):
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::finish):
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::WebCoreSynchronousLoader::didFail):
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
      
      2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * public/WebURLLoadTiming.h:
              * public/WebURLLoaderClient.h:
              (WebKit::WebURLLoaderClient::didFinishLoading):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandleInternal::didFinishLoading):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgentImpl::didFinishLoading):
              * src/WebURLLoadTiming.cpp:
              (WebKit::WebURLLoadTiming::receiveHeadersStart):
              (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
      
      2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * webkit/webkitdownload.cpp:
              (DownloadClient::didFinishLoading):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88e0487f
    • yurys@chromium.org's avatar
      2010-09-15 Sheriff Bot <webkit.review.bot@gmail.com> · f32bd4ba
      yurys@chromium.org authored
              Unreviewed, rolling out r67551.
              http://trac.webkit.org/changeset/67551
              https://bugs.webkit.org/show_bug.cgi?id=45816
      
              "Plugin tests fail" (Requested by yurys on #webkit).
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::willSendRequest):
              (WebCore::InspectorController::didFinishLoading):
              (WebCore::InspectorController::didFailLoading):
              (WebCore::InspectorController::didCloseWebSocket):
              * inspector/InspectorController.h:
              * inspector/InspectorResource.cpp:
              (WebCore::InspectorResource::endTiming):
              * inspector/InspectorResource.h:
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              (WebCore::MainResourceLoader::didFinishLoading):
              * loader/MainResourceLoader.h:
              * loader/NetscapePlugInStreamLoader.cpp:
              (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
              * loader/PingLoader.h:
              (WebCore::PingLoader::didFinishLoading):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::didFinishLoad):
              (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
              (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
              * loader/ResourceLoadNotifier.h:
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::didFinishLoading):
              (WebCore::ResourceLoader::didFinishLoadingOnePart):
              * loader/ResourceLoader.h:
              * loader/SubresourceLoader.cpp:
              (WebCore::SubresourceLoader::didReceiveResponse):
              (WebCore::SubresourceLoader::didFinishLoading):
              * loader/SubresourceLoader.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didFinishLoading):
              * loader/appcache/ApplicationCacheGroup.h:
              * loader/icon/IconFetcher.cpp:
              (WebCore::IconFetcher::didFinishLoading):
              * loader/icon/IconFetcher.h:
              * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
              (StreamingClient::didFinishLoading):
              * platform/network/BlobResourceHandle.cpp:
              (WebCore::BlobResourceHandle::notifyFinish):
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::didFinishLoading):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::didFinishLoading):
              (WebCore::WebCoreSynchronousLoaderClient::didFinishLoading):
              * platform/network/curl/ResourceHandleCurl.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::parseDataUrl):
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]):
              (WebCoreSynchronousLoaderClient::didFinishLoading):
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::finish):
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::WebCoreSynchronousLoader::didFail):
              (WebCore::finishedCallback):
              (WebCore::parseDataUrl):
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
      2010-09-15  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r67551.
              http://trac.webkit.org/changeset/67551
              https://bugs.webkit.org/show_bug.cgi?id=45816
      
              "Plugin tests fail" (Requested by yurys on #webkit).
      
              * public/WebURLLoaderClient.h:
              (WebKit::WebURLLoaderClient::didFinishLoading):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandleInternal::didFinishLoading):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgentImpl::didFinishLoading):
      2010-09-15  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r67551.
              http://trac.webkit.org/changeset/67551
              https://bugs.webkit.org/show_bug.cgi?id=45816
      
              "Plugin tests fail" (Requested by yurys on #webkit).
      
              * webkit/webkitdownload.cpp:
              (DownloadClient::didFinishLoading):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f32bd4ba
    • pfeldman@chromium.org's avatar
      2010-09-14 Pavel Feldman <pfeldman@chromium.org> · 6142ab4c
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::willSendRequest):
              (WebCore::InspectorController::didFinishLoading):
              (WebCore::InspectorController::didFailLoading):
              * inspector/InspectorController.h:
              * inspector/InspectorResource.cpp:
              (WebCore::InspectorResource::endTiming):
              * inspector/InspectorResource.h:
              * loader/PingLoader.h:
              (WebCore::PingLoader::didFinishLoading):
              * loader/ResourceLoadNotifier.cpp:
              (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::didFinishLoading):
              * loader/ResourceLoader.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didFinishLoading):
              * loader/appcache/ApplicationCacheGroup.h:
              * loader/icon/IconFetcher.cpp:
              (WebCore::IconFetcher::didFinishLoading):
              * loader/icon/IconFetcher.h:
              * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
              (StreamingClient::didFinishLoading):
              * platform/network/BlobResourceHandle.cpp:
              (WebCore::BlobResourceHandle::notifyFinish):
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::didFinishLoading):
              * platform/network/ResourceLoadTiming.h:
              (WebCore::ResourceLoadTiming::deepCopy):
              (WebCore::ResourceLoadTiming::operator==):
              (WebCore::ResourceLoadTiming::ResourceLoadTiming):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::didFinishLoading):
              * platform/network/curl/ResourceHandleCurl.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::parseDataUrl):
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]):
              (WebCoreSynchronousLoaderClient::didFinishLoading):
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::finish):
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::WebCoreSynchronousLoader::didFail):
              * platform/network/win/ResourceHandleWin.cpp:
              (WebCore::WebCoreSynchronousLoader::didFinishLoading):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
      
      2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * public/WebURLLoadTiming.h:
              * public/WebURLLoaderClient.h:
              (WebKit::WebURLLoaderClient::didFinishLoading):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandleInternal::didFinishLoading):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgentImpl::didFinishLoading):
              * src/WebURLLoadTiming.cpp:
              (WebKit::WebURLLoadTiming::receiveHeadersStart):
              (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
      
      2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Provide network-based load timing.
              Before this change, inspector used timers taken from
              within WebCore notifications (that are by definition
              synchronous and serialized). As a result, timing was
              affected by the routines running on the main thread
              (JavaScript and such).
              https://bugs.webkit.org/show_bug.cgi?id=45664
      
              * webkit/webkitdownload.cpp:
              (DownloadClient::didFinishLoading):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6142ab4c
  10. 24 Aug, 2010 1 commit
    • japhet@chromium.org's avatar
      2010-08-24 Nate Chapin <japhet@chromium.org> · bc213021
      japhet@chromium.org authored
              Reviewed by David Levin.
      
              Allow image loads triggered from unload handlers to run entirely
              independently of any other loads or navigations.
      
              https://bugs.webkit.org/show_bug.cgi?id=30457
      
              Test: http/tests/navigation/image-load-in-unload-handler.html
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestImage): Use PingLoader for image
                  loads in unload handlers.
              * loader/FrameLoader.h:
              (WebCore::FrameLoader::pageDismissalEventBeingDispatched):
              * loader/PingLoader.cpp: Added.
              (WebCore::PingLoader::loadImage): Set the appropriate
                  headers for an image load in unload handler (since we're
                  not using SubresourceLoader, we need to do this manually here).
              (WebCore::PingLoader::PingLoader):
              * loader/PingLoader.h: Added.
              (WebCore::PingLoader::~PingLoader):
              (WebCore::PingLoader::didReceiveResponse):
              (WebCore::PingLoader::didReceiveData):
              (WebCore::PingLoader::didFinishLoading):
              (WebCore::PingLoader::didFail):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc213021
  11. 18 Aug, 2010 1 commit
    • jianli@chromium.org's avatar
      Change BlobStorageData to reuse BlobData. · 9c59ae86
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=44188
      
      Reviewed by Darin Fisher.
      
      Also addressed Darin's feedbacks for bug 44116.
      
      * html/ThreadableBlobRegistry.cpp:
      (WebCore::registerBlobURLTask):
      (WebCore::registerBlobURLFromTask):
      (WebCore::unregisterBlobURLTask):
      * platform/network/BlobData.cpp:
      (WebCore::BlobData::appendData):
      * platform/network/BlobData.h:
      (WebCore::BlobDataItem::BlobDataItem):
      * platform/network/BlobRegistry.h:
      * platform/network/BlobRegistryImpl.cpp:
      (WebCore::blobRegistry):
      (WebCore::BlobRegistryImpl::appendStorageItems):
      (WebCore::BlobRegistryImpl::registerBlobURL):
      * platform/network/BlobRegistryImpl.h:
      * platform/network/BlobStorageData.h:
      (WebCore::BlobStorageData::create):
      (WebCore::BlobStorageData::contentType):
      (WebCore::BlobStorageData::contentDisposition):
      (WebCore::BlobStorageData::items):
      (WebCore::BlobStorageData::BlobStorageData):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c59ae86
  12. 17 Aug, 2010 1 commit
    • jianli@chromium.org's avatar
      Move BlobRegistry interface and implementation to platform/network · dabd55ce
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=44116
      
      Reviewed by Darin Fisher.
      
      Also move BlobData and BlobStorageData since they're part of BlobRegistry
      implementation.
      
      * Android.mk:
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/network/BlobData.cpp: Renamed from WebCore/platform/BlobData.cpp.
      * platform/network/BlobData.h: Renamed from WebCore/platform/BlobData.h.
      * platform/network/BlobRegistry.h: Renamed from WebCore/platform/BlobRegistry.h.
      * platform/network/BlobRegistryImpl.cpp: Renamed from WebCore/html/BlobRegistryImpl.cpp.
      * platform/network/BlobRegistryImpl.h: Renamed from WebCore/html/BlobRegistryImpl.h.
      * platform/network/BlobStorageData.h: Renamed from WebCore/html/BlobStorageData.h.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dabd55ce
  13. 10 Aug, 2010 2 commits
    • jianli@chromium.org's avatar
      Fix qt build break. · 23ae52f3
      jianli@chromium.org authored
      * html/BlobRegistryImpl.cpp:
      * html/BlobRegistryImpl.h:
      * html/BlobURL.cpp:
      * html/BlobURL.h:
      * platform/BlobRegistry.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23ae52f3
    • jianli@chromium.org's avatar
      Add the support to register the blob data. · 51ceb756
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43600
      
      Reviewed by David Levin.
      
      This is the first step towards adding Blob URL support. The blob has
      an internal URL (used by FileReader) and public URLs (used by Blob.url).
      The URL and its associated data are managed by BlobRegistry interface.
      
      This patch does not remove the usage of BlobItem. It will be removed
      when all the blob data support is hooked up and the new tests will be
      added then.
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::SerializedBlob::create):
      (WebCore::SerializedBlob::url):
      (WebCore::SerializedBlob::type):
      (WebCore::SerializedBlob::size):
      (WebCore::SerializedBlob::SerializedBlob):
      (WebCore::SerializedFile::create):
      (WebCore::SerializedFile::path):
      (WebCore::SerializedFile::url):
      (WebCore::SerializedFile::type):
      (WebCore::SerializedFile::SerializedFile):
      (WebCore::SerializedFileList::item):
      (WebCore::SerializedFileList::SerializedFileList):
      (WebCore::SerializedScriptValueData::SerializedScriptValueData):
      (WebCore::SharedSerializedData::asBlob):
      (WebCore::SharedSerializedData::asFile):
      (WebCore::SerializingTreeWalker::convertIfTerminal):
      (WebCore::DeserializingTreeWalker::convertIfTerminal):
      (WebCore::TeardownTreeWalker::convertIfTerminal):
      * bindings/js/SerializedScriptValue.h:
      (WebCore::SerializedScriptValueData::):
      (WebCore::SerializedScriptValueData::asString):
      (WebCore::SerializedScriptValueData::asBlob):
      (WebCore::SerializedScriptValueData::asFile):
      * bindings/v8/SerializedScriptValue.cpp:
      (WebCore::ZigZag::Writer::writeBlob):
      (WebCore::ZigZag::Writer::writeFile):
      (WebCore::ZigZag::Writer::writeFileList):
      (WebCore::ZigZag::Writer::doWriteUintHelper):
      (WebCore::ZigZag::Writer::doWriteUint32):
      (WebCore::ZigZag::Writer::doWriteUint64):
      (WebCore::ZigZag::Serializer::writeBlob):
      (WebCore::ZigZag::Serializer::writeFile):
      (WebCore::ZigZag::Reader::readBlob):
      (WebCore::ZigZag::Reader::readFile):
      (WebCore::ZigZag::Reader::readFileList):
      (WebCore::ZigZag::Reader::doReadUintHelper):
      (WebCore::ZigZag::Reader::doReadUint32):
      (WebCore::ZigZag::Reader::doReadUint64):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::trackBlobURL):
      (WebCore::ScriptExecutionContext::revokeBlobURL):
      * dom/ScriptExecutionContext.h:
      * html/Blob.cpp:
      (WebCore::Blob::Blob):
      (WebCore::Blob::~Blob):
      (WebCore::Blob::createPublicURL):
      * html/Blob.h:
      (WebCore::Blob::create):
      (WebCore::Blob::url):
      * html/BlobRegistryImpl.cpp: Added.
      * html/BlobRegistryImpl.h: Added.
      * html/BlobStorageData.h: Added.
      * html/BlobURL.cpp: Added.
      * html/BlobURL.h: Added.
      * html/File.cpp:
      (WebCore::File::File):
      * html/File.h:
      (WebCore::File::create):
      * platform/BlobData.cpp: Added.
      * platform/BlobData.h: Added.
      * platform/BlobRegistry.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51ceb756
  14. 27 Jul, 2010 1 commit
    • jianli@chromium.org's avatar
      Add ScriptExecutionContext argument to File/Blob constructors. · 37d8a583
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40587
      
      Reviewed by David Levin.
      
      Remove DragData::createClipboard and add Clipboard::create for it to be
      called directly in DragController. This is because we need to pass
      Frame pointer to Clipboard class and use it to get ScriptExecutionContext
      in order to construct File objects in Clipboard::files().
      
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::DeserializingTreeWalker::convertIfTerminal):
      * bindings/v8/SerializedScriptValue.cpp:
      (WebCore::ZigZag::Reader::readBlob):
      (WebCore::ZigZag::Reader::readFile):
      (WebCore::ZigZag::Reader::readFileList):
      * dom/Clipboard.h:
      * editing/Editor.cpp:
      (WebCore::Editor::dispatchCPPEvent):
      * editing/Editor.h:
      * editing/android/EditorAndroid.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/brew/EditorBrew.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/chromium/EditorChromium.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/haiku/EditorHaiku.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::newGeneralClipboard):
      * editing/qt/EditorQt.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * editing/wx/EditorWx.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * html/Blob.cpp:
      (WebCore::Blob::Blob):
      (WebCore::Blob::slice):
      * html/Blob.h:
      (WebCore::Blob::create):
      * html/Blob.idl:
      * html/BlobBuilder.cpp:
      (WebCore::BlobBuilder::getBlob):
      * html/BlobBuilder.h:
      * html/BlobBuilder.idl:
      * html/File.cpp:
      (WebCore::File::File):
      * html/File.h:
      (WebCore::File::create):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::appendFormData):
      (WebCore::HTMLInputElement::setFileListFromRenderer):
      * page/DragController.cpp:
      (WebCore::DragController::dragExited):
      (WebCore::DragController::performDrag):
      (WebCore::DragController::tryDHTMLDrag):
      * page/chromium/EventHandlerChromium.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * page/gtk/EventHandlerGtk.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * page/win/EventHandlerWin.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * platform/DragData.h:
      * platform/android/ClipboardAndroid.cpp:
      (WebCore::Clipboard::create):
      * platform/android/DragDataAndroid.cpp:
      * platform/brew/ClipboardBrew.cpp:
      (WebCore::Clipboard::create):
      * platform/brew/DragDataBrew.cpp:
      * platform/chromium/ClipboardChromium.cpp:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardChromium::ClipboardChromium):
      (WebCore::ClipboardChromium::create):
      (WebCore::ClipboardChromium::files):
      * platform/chromium/ClipboardChromium.h:
      * platform/chromium/DragDataChromium.cpp:
      * platform/efl/ClipboardEfl.cpp:
      (WebCore::Editor::newGeneralClipboard):
      (WebCore::Clipboard::create):
      * platform/efl/DragDataEfl.cpp:
      * platform/gtk/ClipboardGtk.cpp:
      (WebCore::Editor::newGeneralClipboard):
      (WebCore::Clipboard::create):
      (WebCore::ClipboardGtk::ClipboardGtk):
      (WebCore::ClipboardGtk::files):
      * platform/gtk/ClipboardGtk.h:
      (WebCore::ClipboardGtk::create):
      * platform/gtk/DragDataGtk.cpp:
      * platform/haiku/ClipboardHaiku.cpp:
      (WebCore::Clipboard::create):
      * platform/haiku/DragDataHaiku.cpp:
      * platform/mac/ClipboardMac.mm:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardMac::files):
      * platform/mac/DragDataMac.mm:
      * platform/qt/ClipboardQt.cpp:
      (WebCore::Clipboard::create):
      * platform/qt/DragDataQt.cpp:
      * platform/win/ClipboardWin.cpp:
      (WebCore::Clipboard::create):
      (WebCore::ClipboardWin::ClipboardWin):
      (WebCore::ClipboardWin::files):
      * platform/win/ClipboardWin.h:
      (WebCore::ClipboardWin::create):
      * platform/win/DragDataWin.cpp:
      * platform/win/EditorWin.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * platform/wince/DragDataWince.cpp:
      * platform/wince/EditorWince.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * platform/wx/ClipboardWx.cpp:
      (WebCore::Clipboard::create):
      * platform/wx/DragDataWx.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37d8a583
  15. 22 Jun, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-06-22 Kinuko Yasuda <kinuko@chromium.org> · 2077a8a9
      kinuko@chromium.org authored
              Reviewed by Adam Barth.
      
              Add BlobBuilder.idl to expose BlobBuilder interface
              https://bugs.webkit.org/show_bug.cgi?id=40593
      
              (Resubmitting with the correct file set.)
      
              BlobBuilder is defined in FileAPI's FileWriter spec.
              (http://dev.w3.org/2009/dap/file-system/file-writer.html)
      
              Also removes the ENABLE_FILE_WRITER ifdef guard for BlobBuilder.
      
              Tests: http/tests/local/blob/send-data-blob.html
                     http/tests/local/blob/send-hybrid-blob.html
                     http/tests/local/blob/send-sliced-data-blob.html
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/BlobBuilder.cpp:
              (WebCore::BlobBuilder::append):
              * html/BlobBuilder.h:
              * html/BlobBuilder.idl: Added.
              * page/DOMWindow.idl:
      2010-06-22  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add BlobBuilder.idl to expose BlobBuilder interface
              https://bugs.webkit.org/show_bug.cgi?id=40593
      
              (Resubmitting with the correct file set.)
      
              Add new layout tests to test BlobBuilder interface.
              Also update test expectations affected by adding the constructors to DOMWindow.
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/constructed-objects-prototypes-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/prototype-inheritance-expected.txt:
              * fast/js/global-constructors-expected.txt:
              * http/tests/local/blob/resources/hybrid-blob-util.js: Added.
              * http/tests/local/blob/script-tests/TEMPLATE.html: Added.
              * http/tests/local/blob/script-tests/send-data-blob.js: Added.
              * http/tests/local/blob/script-tests/send-hybrid-blob.js: Added.
              * http/tests/local/blob/script-tests/send-sliced-data-blob.js: Added.
              * http/tests/local/blob/send-data-blob-expected.txt: Added.
              * http/tests/local/blob/send-data-blob.html: Added.
              * http/tests/local/blob/send-hybrid-blob-expected.txt: Added.
              * http/tests/local/blob/send-hybrid-blob.html: Added.
              * http/tests/local/blob/send-sliced-data-blob-expected.txt: Added.
              * http/tests/local/blob/send-sliced-data-blob.html: Added.
              * http/tests/local/resources/file-for-drag-to-send2.txt: Added.
              * http/tests/resources/post-and-verify-hybrid.cgi: Added.
              * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
              * platform/gtk/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles and Blob.slice.
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
              * platform/qt/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles and Blob.slice.
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/prototype-inheritance-expected.txt:
              * platform/win/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles and Blob.slice.
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2077a8a9
  16. 21 Jun, 2010 2 commits
    • kinuko@chromium.org's avatar
      2010-06-21 Sheriff Bot <webkit.review.bot@gmail.com> · a89b8ee0
      kinuko@chromium.org authored
              Unreviewed, rolling out r61585.
              http://trac.webkit.org/changeset/61585
              https://bugs.webkit.org/show_bug.cgi?id=40950
      
              It broke builds (Requested by kinuko on #webkit).
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/BlobBuilder.cpp:
              (WebCore::BlobBuilder::appendString):
              (WebCore::BlobBuilder::appendBlob):
              * html/BlobBuilder.h:
              * page/DOMWindow.idl:
      2010-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r61585.
              http://trac.webkit.org/changeset/61585
              https://bugs.webkit.org/show_bug.cgi?id=40950
      
              It broke builds (Requested by kinuko on #webkit).
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/constructed-objects-prototypes-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/prototype-inheritance-expected.txt:
              * fast/js/global-constructors-expected.txt:
              * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
              * platform/gtk/Skipped:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
              * platform/qt/Skipped:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/prototype-inheritance-expected.txt:
              * platform/win/Skipped:
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a89b8ee0
    • kinuko@chromium.org's avatar
      2010-06-21 Kinuko Yasuda <kinuko@chromium.org> · a3cd2789
      kinuko@chromium.org authored
              Reviewed by Adam Barth.
      
              Add BlobBuilder.idl to expose BlobBuilder interface
              https://bugs.webkit.org/show_bug.cgi?id=40593
      
              BlobBuilder is defined in FileAPI's FileWriter spec.
              (http://dev.w3.org/2009/dap/file-system/file-writer.html)
      
              Also removes the ENABLE_FILE_WRITER ifdef guard for BlobBuilder.
      
              Tests: http/tests/local/blob/send-data-blob.html
                     http/tests/local/blob/send-hybrid-blob.html
                     http/tests/local/blob/send-sliced-data-blob.html
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/BlobBuilder.cpp:
              (WebCore::BlobBuilder::append):
              * html/BlobBuilder.h:
              * html/BlobBuilder.idl: Added.
              * page/DOMWindow.idl:
      2010-06-21  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add BlobBuilder.idl to expose BlobBuilder interface
              https://bugs.webkit.org/show_bug.cgi?id=40593
      
              Add new layout tests to test BlobBuilder interface.
              Also update test expectations affected by adding the constructors to DOMWindow.
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/constructed-objects-prototypes-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/prototype-inheritance-expected.txt:
              * fast/js/global-constructors-expected.txt:
              * http/tests/local/blob/resources/hybrid-blob-util.js: Added.
              * http/tests/local/blob/script-tests/TEMPLATE.html: Added.
              * http/tests/local/blob/script-tests/send-data-blob.js: Added.
              * http/tests/local/blob/script-tests/send-hybrid-blob.js: Added.
              * http/tests/local/blob/script-tests/send-sliced-data-blob.js: Added.
              * http/tests/local/blob/send-data-blob-expected.txt: Added.
              * http/tests/local/blob/send-data-blob.html: Added.
              * http/tests/local/blob/send-hybrid-blob-expected.txt: Added.
              * http/tests/local/blob/send-hybrid-blob.html: Added.
              * http/tests/local/blob/send-sliced-data-blob-expected.txt: Added.
              * http/tests/local/blob/send-sliced-data-blob.html: Added.
              * http/tests/local/resources/file-for-drag-to-send2.txt: Added.
              * http/tests/resources/post-and-verify-hybrid.cgi: Added.
              * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
              * platform/gtk/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles Blob.slice.
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
              * platform/qt/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles Blob.slice.
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/prototype-inheritance-expected.txt:
              * platform/win/Skipped: Added send-hybrid-blob.html and send-sliced-data-blob.html because they need eventSender.beginDragWithFiles Blob.slice.
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3cd2789
  17. 15 Jun, 2010 1 commit
  18. 14 Jun, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-06-14 Kinuko Yasuda <kinuko@chromium.org> · 7dc1575d
      kinuko@chromium.org authored
              Reviewed by Jian Li.
      
              Implement BlobBuilder internal class for BlobBuilder support as defined in FileWriter
              https://bugs.webkit.org/show_bug.cgi?id=36903
      
              No new tests; they will be added when we add jsc bindings.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/BlobBuilder.cpp: Added.
              * html/BlobBuilder.h: Added.
              (WebCore::BlobBuilder::create):
              * platform/BlobItem.cpp:
              (WebCore::StringBlobItem::convertToCString): Added EndingNative support.
              * platform/BlobItem.h: Added EndingNative line-ending type.
              (WebCore::):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7dc1575d
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 06 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
  26. 25 Nov, 2008 1 commit
  27. 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
  28. 19 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