1. 06 Jun, 2011 1 commit
  2. 25 May, 2011 1 commit
  3. 24 May, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-05-24 Greg Simon <gregsimon@chromium.org> · 536df5e8
      commit-queue@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Control Indexeddb backends from LayoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=61000
      
              LayoutTest for migration between SQLite and LevelDB
              in IndxededDB.
      
              * storage/indexeddb/migrate-basics-expected.txt: Added.
              * storage/indexeddb/migrate-basics.html: Added.
      2011-05-24  Greg Simon  <gregsimon@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Control Indexeddb backends from LayoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=61000
      
              Test: storage/indexeddb/migrate-basics.html
      
              * storage/IDBBackingStore.h:
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::IDBFactoryBackendImpl):
              (WebCore::IDBFactoryBackendImpl::open):
              (WebCore::IDBFactoryBackendImpl::setEnableMigration):
              (WebCore::IDBFactoryBackendImpl::migrate):
              * storage/IDBFactoryBackendImpl.h:
              * storage/IDBFactoryBackendInterface.h:
              * storage/IDBLevelDBBackingStore.cpp:
              (WebCore::IDBLevelDBBackingStore::backingStoreExists):
              * storage/IDBLevelDBBackingStore.h:
              (WebCore::IDBLevelDBBackingStore::backingStoreType):
              * storage/IDBSQLiteBackingStore.cpp:
              (WebCore::IDBSQLiteBackingStore::backingStoreExists):
              * storage/IDBSQLiteBackingStore.h:
              (WebCore::IDBSQLiteBackingStore::backingStoreType):
      2011-05-24  Greg Simon  <gregsimon@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Control Indexeddb backends from LayoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=61000
      
              * public/WebIDBFactory.h:
              (WebKit::WebIDBFactory::setEnableMigration):
              * src/AssertMatchingEnums.cpp:
              * src/IDBFactoryBackendProxy.cpp:
              (WebKit::IDBFactoryBackendProxy::setEnableMigration):
              * src/IDBFactoryBackendProxy.h:
              * src/WebIDBFactoryImpl.cpp:
              (WebKit::WebIDBFactory::setOverrideBackingStoreType):
              (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
              (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
              (WebKit::WebIDBFactoryImpl::open):
              (WebKit::WebIDBFactoryImpl::setEnableMigration):
              * src/WebIDBFactoryImpl.h:
      2011-05-24  Greg Simon  <gregsimon@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Control Indexeddb backends from LayoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=61000
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setOverrideIndexedDBBackingStore):
              (LayoutTestController::clearAllDatabases):
              * DumpRenderTree/chromium/LayoutTestController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      536df5e8
  4. 13 May, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-05-13 Tao Bai <michaelbai@chromium.org> · 946fd683
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Handle the touch icon.
              https://bugs.webkit.org/show_bug.cgi?id=60247
      
              Added WebIconURL for the corresponding IconURL.
              Added method iconURLs() to specify the type of icon need to return.
              The favIconURL() is deprecated and will be removed later.
      
              * WebKit.gyp:
              * features.gypi:
              * public/WebFrame.h:
              * public/WebFrameClient.h:
              (WebKit::WebFrameClient::didChangeIcons):
              * public/WebIconURL.h: Added.
              (WebKit::WebIconURL::WebIconURL):
              (WebKit::WebIconURL::iconType):
              (WebKit::WebIconURL::iconURL):
              * src/AssertMatchingEnums.cpp:
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::favIconURL):
              * src/WebFrameImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      946fd683
  5. 09 May, 2011 3 commits
    • commit-queue@webkit.org's avatar
      2011-05-09 Sheriff Bot <webkit.review.bot@gmail.com> · 073d1fd5
      commit-queue@webkit.org authored
              Unreviewed, rolling out r86091.
              http://trac.webkit.org/changeset/86091
              https://bugs.webkit.org/show_bug.cgi?id=60510
      
              Broke Chromium win release build. (Requested by dave_levin on
              #webkit).
      
              * WebKit.gyp:
              * features.gypi:
              * public/WebFrame.h:
              * public/WebFrameClient.h:
              (WebKit::WebFrameClient::didChangeIcons):
              * public/WebIconURL.h: Removed.
              * src/AssertMatchingEnums.cpp:
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::favIconURL):
              * src/WebFrameImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      073d1fd5
    • commit-queue@webkit.org's avatar
      2011-05-09 Tao Bai <michaelbai@chromium.org> · 3f6fb649
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Handle the touch icon.
              https://bugs.webkit.org/show_bug.cgi?id=60247
      
              Added WebIconURL for the corresponding IconURL.
              Added a parameter to favIconURL() to specify the type of icon need to
              return.
      
              * WebKit.gyp:
              * features.gypi:
              * public/WebFrame.h:
              * public/WebFrameClient.h:
              (WebKit::WebFrameClient::didChangeIcons):
              * public/WebIconURL.h: Added.
              (WebKit::WebIconURL::WebIconURL):
              * src/AssertMatchingEnums.cpp:
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::favIconURL):
              * src/WebFrameImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f6fb649
    • commit-queue@webkit.org's avatar
      2011-05-09 Shishir Agrawal <shishir@chromium.org> · 084ff96e
      commit-queue@webkit.org authored
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * fast/events/page-visibility-iframe-delete-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-delete-test.html: Added.
              * fast/events/page-visibility-iframe-move-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-move-test.html: Added.
              * fast/events/page-visibility-iframe-propagation-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-propagation-test.html: Added.
              * fast/events/page-visibility-transition-test-expected.txt: Added.
              * fast/events/page-visibility-transition-test.html: Added.
              * fast/events/resources/page-visibility-iframe-delete-test-frame.html: Added.
              * fast/events/resources/page-visibility-iframe-move-new-page.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              Tests: fast/events/page-visibility-iframe-delete-test.html
                     fast/events/page-visibility-iframe-move-test.html
                     fast/events/page-visibility-iframe-propagation-test.html
                     fast/events/page-visibility-transition-test.html
      
              * CMakeLists.txt:
              * GNUmakefile.list.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Document.cpp:
              (WebCore::Document::visibilityState):
              (WebCore::Document::webkitVisibilityState):
              (WebCore::Document::webkitIsVisible):
              (WebCore::Document::dispatchVisibilityStateChangeEvent):
              * dom/Document.h:
              * dom/Document.idl:
              * dom/EventNames.h:
              * page/Frame.cpp:
              (WebCore::Frame::dispatchVisibilityStateChangeEvent):
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              (WebCore::Page::setVisibilityState):
              (WebCore::Page::visibilityState):
              * page/Page.h:
              * page/PageVisibilityState.cpp: Added.
              (WebCore::GetPageVisibilityStateString):
              * page/PageVisibilityState.h: Added.
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * WebKit.gyp:
              * public/WebPageVisibilityState.h: Added.
              * public/WebView.h:
              (WebKit::WebView::setVisibilityState):
              * public/WebViewClient.h:
              (WebKit::WebViewClient::visibilityState):
              * src/AssertMatchingEnums.cpp:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              (WebKit::WebViewImpl::setVisibilityState):
              * src/WebViewImpl.h:
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setPageVisibilityCallback):
              (resetPageVisibilityCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              (LayoutTestController::setPageVisibility):
              (LayoutTestController::resetPageVisibility):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::resetPageVisibility):
              (LayoutTestController::setPageVisibility):
              * DumpRenderTree/chromium/LayoutTestController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      084ff96e
  6. 15 Apr, 2011 2 commits
    • kinuko@chromium.org's avatar
      2011-04-15 Kinuko Yasuda <kinuko@chromium.org> · 66e0cf78
      kinuko@chromium.org authored
              Reviewed by David Levin.
      
              Expose unified Quota API if QUOTA build flag is enabled
              https://bugs.webkit.org/show_bug.cgi?id=58648
      
              * src/AssertMatchingEnums.cpp: Added enum assertions.
              * src/StorageInfoChromium.cpp: Made a build fix.
      2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by David Levin.
      
              Expose unified Quota API if QUOTA build flag is enabled
              https://bugs.webkit.org/show_bug.cgi?id=58648
      
              Test: storage/storageinfo-query-usage.html
      
              * CMakeLists.txt: Added new file entries.
              * DerivedSources.cpp: Added new file entries.
              * DerivedSources.make: Added new file entries.
              * GNUmakefile.am: Added new file entries.
              * WebCore.gypi: Added new file entries.
              * WebCore.vcproj/WebCore.vcproj: Added new file entries.
              * WebCore.xcodeproj/project.pbxproj: Added new file entries.
              * page/DOMWindow.cpp:
              (WebCore::DOMWi...
      66e0cf78
    • commit-queue@webkit.org's avatar
      2011-04-15 Zelidrag Hornung <zelidrag@chromium.org> · 68736cda
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Added enums for external file system type.
              https://bugs.webkit.org/show_bug.cgi?id=58456
      
              * fileapi/DOMFileSystemBase.cpp:
              (WebCore::DOMFileSystemBase::crackFileSystemURL):
              * fileapi/DOMFileSystemBase.h:
              * fileapi/EntryBase.cpp:
              (WebCore::EntryBase::toURL):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::requestFileSystem):
              * page/DOMWindow.h:
              * platform/AsyncFileSystem.h:
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::requestFileSystem):
              (WebCore::WorkerContext::requestFileSystemSync):
              * workers/WorkerContext.h:
      2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Added enums for external file system type and exposed factory function
              for creating File- and DirectoryEntry objects from Chromium side.
              https://bugs.webkit.org/show_bug.cgi?id=58456
      
              * public/WebFileSystem.h:
              * public/WebFrame.h:
              * src/AssertMatchingEnums.cpp:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::createFileSystem):
              (WebKit::WebFrameImpl::createFileEntry):
              * src/WebFrameImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68736cda
  7. 08 Apr, 2011 1 commit
  8. 30 Mar, 2011 1 commit
    • mario@webkit.org's avatar
      2011-03-30 Mario Sanchez Prada <msanchez@igalia.com> · 56f6bf20
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Added new layout test to check that roles are correct in GTK.
      
              * platform/gtk/accessibility/aria-roles-unignored-expected.txt: Added.
              * platform/gtk/accessibility/aria-roles-unignored.html: Added.
      2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Define new roles in WebCore and map them to ATK accordingly.
      
              Test: platform/gtk/accessibility/aria-roles-unignored.html
      
              * accessibility/AccessibilityObject.h: Added new roles to
              represent paragraphs, labels, forms and div sections.
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
              Return ParagraphRole, LabelRole, FormRole and DivRole when needed
              for the GTK platform only.
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::allowsTextRanges): Consider the new
              roles now that those kind of nodes won't return true to isGroup().
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (atkRole): Map new WebCore roles to ATK Roles.
              (webkit_accessible_get_role): Remove code to define roles for
              paragraphs, labels, forms and divs based on node's tag name.
      
              Update mappings for the Mac platform.
      
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              (createAccessibilityRoleMap): Add explicit mappings from the new
              roles introduced to NSAccessibilityGroupRole.
      2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Duplicate new internal WebCore roles in the Chromium port.
      
              * public/WebAccessibilityRole.h: Update enumeration
              WebAccessibilityRole to reflect newly added roles in WebCore.
              * src/AssertMatchingEnums.cpp: Added new assertions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56f6bf20
  9. 29 Mar, 2011 2 commits
  10. 23 Mar, 2011 1 commit
  11. 09 Mar, 2011 1 commit
    • hans@chromium.org's avatar
      2011-03-08 Hans Wennborg <hans@chromium.org> · 4a28a33f
      hans@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
              https://bugs.webkit.org/show_bug.cgi?id=55948
      
              Add a parameter that allows for selection of alternative backing store
              implementations.
      
              No new tests: no new functionality.
      
              * storage/IDBFactory.cpp:
              (WebCore::IDBFactory::open):
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::open):
              * storage/IDBFactoryBackendImpl.h:
              * storage/IDBFactoryBackendInterface.h:
      2011-03-08  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
              https://bugs.webkit.org/show_bug.cgi?id=55948
      
              Add a parameter that allows for selection of alternative backing store
              implementations.
      
              * public/WebIDBFactory.h:
              (WebKit::WebIDBFactory::open):
              * src/AssertMatchingEnums.cpp:
              * src/IDBFactoryBackendProxy.cpp:
              (WebCore::IDBFactoryBackendProxy::open):
              * src/IDBFactoryBackendProxy.h:
              * src/WebIDBFactoryImpl.cpp:
              (WebKit::WebIDBFactoryImpl::open):
              * src/WebIDBFactoryImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a28a33f
  12. 28 Feb, 2011 2 commits
  13. 16 Feb, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-02-16 Dominic Mazzoni <dmazzoni@google.com> · 93c90455
      commit-queue@webkit.org authored
              Reviewed by Chris Fleizach.
      
              Add new test for canvas fallback content and update existing text for new canvas role.
              https://bugs.webkit.org/show_bug.cgi?id=50126
      
              * accessibility/canvas-fallback-content-expected.txt: Added.
              * accessibility/canvas-fallback-content.html: Added.
              * accessibility/canvas.html:
      2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
      
              Reviewed by Chris Fleizach.
      
              Add support for canvas fallback content.
              https://bugs.webkit.org/show_bug.cgi?id=50126
      
              Test: accessibility/canvas-fallback-content.html
      
              * accessibility/AccessibilityObject.h:
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
              (WebCore::AccessibilityRenderObject::canHaveChildren):
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (atkRole):
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              * html/HTMLFormControlElement.cpp:
              (WebCore::HTMLFormControlElement::isFocusable):
              * rendering/RenderHTMLCanvas.cpp:
              (WebCore::RenderHTMLCanvas::recursiveSetNoNeedsLayout):
              (WebCore::RenderHTMLCanvas::layout):
              (WebCore::RenderHTMLCanvas::nodeAtPoint):
              * rendering/RenderHTMLCanvas.h:
              (WebCore::RenderHTMLCanvas::children):
              (WebCore::RenderHTMLCanvas::canHaveChildren):
              (WebCore::RenderHTMLCanvas::virtualChildren):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::repaint):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::write):
      2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
      
              Reviewed by Chris Fleizach.
      
              Add new role for canvas elements.
      
              https://bugs.webkit.org/show_bug.cgi?id=50126
      
              * public/WebAccessibilityRole.h:
              * src/AssertMatchingEnums.cpp:
      2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
      
              Reviewed by Chris Fleizach.
      
              Add new role for canvas elements.
      
              https://bugs.webkit.org/show_bug.cgi?id=50126
      
              Test: accessibility/canvas-fallback-content.html
      
              * AccessibleBase.cpp:
              (MSAARole):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93c90455
    • jorlow@chromium.org's avatar
      2011-02-16 Jeremy Orlow <jorlow@chromium.org> · 0f7f0bf9
      jorlow@chromium.org authored
              Back out IndexedDB change thats no longer necessary
              https://bugs.webkit.org/show_bug.cgi?id=54603
      
              Backing out 78645 as it turns out that it's not necessary.
      
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::open):
              * storage/IDBFactoryBackendImpl.h:
              * storage/IDBFactoryBackendInterface.h:
      2011-02-16  Jeremy Orlow  <jorlow@chromium.org>
      
              Back out IndexedDB change thats no longer necessary
              https://bugs.webkit.org/show_bug.cgi?id=54603
      
              Backing out 78645 as it turns out that it's not necessary.
      
              * public/WebIDBFactory.h:
              (WebKit::WebIDBFactory::open):
              * src/AssertMatchingEnums.cpp:
              * src/IDBFactoryBackendProxy.cpp:
              * src/IDBFactoryBackendProxy.h:
              * src/WebIDBFactoryImpl.cpp:
              (WebKit::WebIDBFactoryImpl::open):
              * src/WebIDBFactoryImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f7f0bf9
  14. 15 Feb, 2011 1 commit
    • jorlow@chromium.org's avatar
      2011-02-14 Jeremy Orlow <jorlow@chromium.org> · 6306a9c7
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add initial support for per-origin quotas to IndexedDB
              https://bugs.webkit.org/show_bug.cgi?id=54421
      
              Add support for non-persistent per-origin quotas. If one is
              specified, it overrides the default.
      
              No tests as this is only exposed via the Chromium webkit API.
      
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::open):
              (WebCore::IDBFactoryBackendImpl::setQuota):
              * storage/IDBFactoryBackendImpl.h:
              * storage/IDBFactoryBackendInterface.h:
      2011-02-14  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Add initial support for per-origin quotas to IndexedDB
              https://bugs.webkit.org/show_bug.cgi?id=54421
      
              * public/WebIDBFactory.h:
              (WebKit::WebIDBFactory::setQuota):
              * src/AssertMatchingEnums.cpp:
              * src/IDBFactoryBackendProxy.cpp:
              (WebCore::IDBFactoryBackendProxy::setQuota):
              * src/IDBFactoryBackendProxy.h:
              * src/WebIDBFactoryImpl.cpp:
              (WebKit::WebIDBFactoryImpl::setQuota):
              * src/WebIDBFactoryImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6306a9c7
  15. 07 Feb, 2011 1 commit
    • morrita@google.com's avatar
      2011-02-03 MORITA Hajime <morrita@google.com> · d4f3e77a
      morrita@google.com authored
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              Unskipped passed test.
      
              * platform/chromium/test_expectations.txt:
      2011-02-03  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              - Added WebTextCheckingCompletion to receive the checked result asynchronously.
              - Added WebViewClient::requestCheckingOfText() and related classes.
              - Implemented EditorClientImpl::requestCheckingOfString().
      
              * WebKit.gyp:
              * public/WebSettings.h:
              * public/WebTextCheckingCompletion.h: Added.
              (WebKit::WebTextCheckingCompletion::~WebTextCheckingCompletion):
              * public/WebTextCheckingResult.h: Added.
              (WebKit::WebTextCheckingResult::error):
              (WebKit::WebTextCheckingResult::position):
              (WebKit::WebTextCheckingResult::length):
              (WebKit::WebTextCheckingResult::WebTextCheckingResult):
              * public/WebViewClient.h:
              (WebKit::WebViewClient::requestCheckingOfText): Gave an implementation
              * src/AssertMatchingEnums.cpp:
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::requestCheckingOfString):
              * src/EditorClientImpl.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setAsynchronousSpellCheckingEnabled):
              * src/WebSettingsImpl.h:
              * src/WebTextCheckingCompletionImpl.cpp: Added.
              (WebKit::toCoreResults):
              (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
              * src/WebTextCheckingCompletionImpl.h: Added.
              (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
      2011-02-03  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              Gave DRT implementation for requestTextCheck().
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled): Implemented.
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (invokeFinishLastTextCheck): Added.
              (WebViewHost::requestTextCheck): Added.
              (WebViewHost::finishLastTextCheck): Added.
              * DumpRenderTree/chromium/WebViewHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4f3e77a
  16. 21 Jan, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-01-21 Adam Klein <adamk@chromium.org> · 4ceaac17
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              [chromium] Rename ChromiumBridge to PlatformBridge
              https://bugs.webkit.org/show_bug.cgi?id=52471
      
              No tests added as this is a rename; no change in behavior.
      
              * WebCore.gypi:
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::reportFatalErrorInV8):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::isLinkVisited):
              * platform/android/PlatformBridge.h:
              * platform/audio/chromium/AudioBusChromium.cpp:
              (WebCore::createBusFromInMemoryAudioFile):
              * platform/chromium/ChromiumBridge.h: Removed.
              * platform/chromium/ChromiumDataObjectLegacy.cpp:
              (WebCore::ChromiumDataObjectLegacy::getData):
              * platform/chromium/DragDataChromium.cpp:
              (WebCore::DragData::asURL):
              * platform/chromium/FileSystemChromium.cpp:
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::revealFolderInOS):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              (WebCore::openFile):
              (WebCore::closeFile):
              (WebCore::seekFile):
              (WebCore::truncateFile):
              (WebCore::readFromFile):
              (WebCore::writeToFile):
              * platform/chromium/LanguageChromium.cpp:
              (WebCore::platformDefaultLanguage):
              * platform/chromium/LinkHashChromium.cpp:
              (WebCore::visitedLinkHash):
              * platform/chromium/MIMETypeRegistryChromium.cpp:
              (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
              (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
              * platform/chromium/PasteboardChromium.cpp:
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writePlainText):
              (WebCore::Pasteboard::writeURL):
              (WebCore::Pasteboard::writeImage):
              (WebCore::Pasteboard::canSmartReplace):
              (WebCore::Pasteboard::plainText):
              (WebCore::Pasteboard::documentFragment):
              * platform/chromium/PlatformBridge.h:
              * platform/chromium/PlatformScreenChromium.cpp:
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/chromium/ReadableDataObject.cpp:
              (WebCore::ReadableDataObject::getData):
              (WebCore::ReadableDataObject::urlTitle):
              (WebCore::ReadableDataObject::htmlBaseUrl):
              (WebCore::ReadableDataObject::filenames):
              (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
              * platform/chromium/SSLKeyGeneratorChromium.cpp:
              (WebCore::signedPublicKeyAndChallengeString):
              * platform/chromium/ScrollbarThemeChromium.cpp:
              * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
              (WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumLinux::paintButton):
              (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
              (WebCore::ScrollbarThemeChromiumLinux::buttonSize):
              (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
              * platform/chromium/ScrollbarThemeChromiumMac.mm:
              (WebCore::scrollbarStateToThemeState):
              (WebCore::ScrollbarThemeChromiumMac::paint):
              * platform/chromium/ScrollbarThemeChromiumWin.cpp:
              (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumWin::paintButton):
              (WebCore::ScrollbarThemeChromiumWin::paintThumb):
              (WebCore::ScrollbarThemeChromiumWin::buttonSize):
              * platform/chromium/SharedTimerChromium.cpp:
              (WebCore::setSharedTimerFiredFunction):
              (WebCore::setSharedTimerFireTime):
              (WebCore::stopSharedTimer):
              * platform/chromium/SuddenTerminationChromium.cpp:
              (WebCore::disableSuddenTermination):
              (WebCore::enableSuddenTermination):
              * platform/chromium/SystemTimeChromium.cpp:
              (WebCore::currentTime):
              * platform/chromium/WritableDataObject.cpp:
              (WebCore::WritableDataObject::setData):
              * platform/graphics/chromium/CrossProcessFontLoading.mm:
              * platform/graphics/chromium/FontCacheChromiumWin.cpp:
              (WebCore::fontContainsCharacter):
              (WebCore::FillLogFont):
              * platform/graphics/chromium/FontCacheLinux.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/chromium/FontChromiumWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
              (WebCore::FontPlatformData::scriptFontProperties):
              * platform/graphics/chromium/FontPlatformDataLinux.cpp:
              (WebCore::FontPlatformData::querySystemForRenderStyle):
              * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
              (WebCore::fillBMPGlyphs):
              * platform/graphics/chromium/ImageChromium.cpp:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/ImageChromiumMac.mm:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
              (WebCore::UniscribeHelperTextRun::tryToPreloadFont):
              * platform/graphics/skia/FontCustomPlatformData.cpp:
              (WebCore::FontCustomPlatformData::fontPlatformData):
              * platform/network/chromium/CookieJarChromium.cpp:
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookieRequestHeaderFieldValue):
              (WebCore::cookiesEnabled):
              (WebCore::getRawCookies):
              (WebCore::deleteCookie):
              * platform/network/chromium/DNSChromium.cpp:
              (WebCore::prefetchDNS):
              * platform/qt/PlatformBridge.h:
              * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
              (WebCore::SQLiteFileSystem::deleteDatabaseFile):
              (WebCore::SQLiteFileSystem::getDatabaseFileSize):
              * platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:
              (chromiumOpen):
              (chromiumDelete):
              (chromiumAccess):
              * platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
              * plugins/chromium/PluginDataChromium.cpp:
              (WebCore::PluginCache::plugins):
              * rendering/RenderThemeChromiumMac.mm:
              (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
              * rendering/RenderThemeChromiumSkia.cpp:
              (WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
              * rendering/RenderThemeChromiumWin.cpp:
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor):
              (WebCore::RenderThemeChromiumWin::systemColor):
              (WebCore::RenderThemeChromiumWin::paintButton):
              (WebCore::RenderThemeChromiumWin::paintSliderTrack):
              (WebCore::menuListButtonWidth):
              (WebCore::RenderThemeChromiumWin::paintMenuList):
              (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
              (WebCore::RenderThemeChromiumWin::paintInnerSpinButton):
              (WebCore::RenderThemeChromiumWin::paintProgressBar):
              * storage/chromium/IDBFactoryBackendInterface.cpp:
              (WebCore::IDBFactoryBackendInterface::create):
              (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
              * storage/chromium/IDBKeyPathBackendImpl.cpp:
              (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
      2011-01-21  Adam Klein  <adamk@chromium.org>
      
              Reviewed by Eric Seidel.
      
              [chromium] Rename ChromiumBridge to PlatformBridge
              https://bugs.webkit.org/show_bug.cgi?id=52471
      
              * WebKit.gyp:
              * src/AssertMatchingEnums.cpp:
              * src/PlatformBridge.cpp:
              (WebCore::toChromeClientImpl):
              (WebCore::toWebWidgetClient):
              (WebCore::getCookieJar):
              (WebCore::PlatformBridge::cacheMetadata):
              (WebCore::PlatformBridge::clipboardIsFormatAvailable):
              (WebCore::PlatformBridge::clipboardReadPlainText):
              (WebCore::PlatformBridge::clipboardReadHTML):
              (WebCore::PlatformBridge::clipboardWriteSelection):
              (WebCore::PlatformBridge::clipboardWritePlainText):
              (WebCore::PlatformBridge::clipboardWriteURL):
              (WebCore::PlatformBridge::clipboardWriteImage):
              (WebCore::PlatformBridge::clipboardWriteData):
              (WebCore::PlatformBridge::clipboardReadAvailableTypes):
              (WebCore::PlatformBridge::clipboardReadData):
              (WebCore::PlatformBridge::clipboardReadFilenames):
              (WebCore::PlatformBridge::setCookies):
              (WebCore::PlatformBridge::cookies):
              (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
              (WebCore::PlatformBridge::rawCookies):
              (WebCore::PlatformBridge::deleteCookie):
              (WebCore::PlatformBridge::cookiesEnabled):
              (WebCore::PlatformBridge::prefetchDNS):
              (WebCore::PlatformBridge::fileExists):
              (WebCore::PlatformBridge::deleteFile):
              (WebCore::PlatformBridge::deleteEmptyDirectory):
              (WebCore::PlatformBridge::getFileSize):
              (WebCore::PlatformBridge::revealFolderInOS):
              (WebCore::PlatformBridge::getFileModificationTime):
              (WebCore::PlatformBridge::directoryName):
              (WebCore::PlatformBridge::pathByAppendingComponent):
              (WebCore::PlatformBridge::makeAllDirectories):
              (WebCore::PlatformBridge::getAbsolutePath):
              (WebCore::PlatformBridge::isDirectory):
              (WebCore::PlatformBridge::filePathToURL):
              (WebCore::PlatformBridge::openFile):
              (WebCore::PlatformBridge::closeFile):
              (WebCore::PlatformBridge::seekFile):
              (WebCore::PlatformBridge::truncateFile):
              (WebCore::PlatformBridge::readFromFile):
              (WebCore::PlatformBridge::writeToFile):
              (WebCore::PlatformBridge::ensureFontLoaded):
              (WebCore::PlatformBridge::getFontFamilyForCharacters):
              (WebCore::PlatformBridge::getRenderStyleForStrike):
              (WebCore::PlatformBridge::loadFont):
              (WebCore::PlatformBridge::databaseOpenFile):
              (WebCore::PlatformBridge::databaseDeleteFile):
              (WebCore::PlatformBridge::databaseGetFileAttributes):
              (WebCore::PlatformBridge::databaseGetFileSize):
              (WebCore::PlatformBridge::idbFactory):
              (WebCore::PlatformBridge::idbShutdown):
              (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
              (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
              (WebCore::PlatformBridge::computedDefaultLanguage):
              (WebCore::PlatformBridge::layoutTestMode):
              (WebCore::PlatformBridge::isSupportedImageMIMEType):
              (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
              (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
              (WebCore::PlatformBridge::mimeTypeForExtension):
              (WebCore::PlatformBridge::mimeTypeFromFile):
              (WebCore::PlatformBridge::preferredExtensionForMIMEType):
              (WebCore::PlatformBridge::plugins):
              (WebCore::PlatformBridge::pluginScriptableObject):
              (WebCore::PlatformBridge::loadPlatformImageResource):
              (WebCore::PlatformBridge::loadPlatformAudioResource):
              (WebCore::PlatformBridge::decodeAudioFileData):
              (WebCore::PlatformBridge::sandboxEnabled):
              (WebCore::PlatformBridge::setSharedTimerFiredFunction):
              (WebCore::PlatformBridge::setSharedTimerFireTime):
              (WebCore::PlatformBridge::stopSharedTimer):
              (WebCore::PlatformBridge::decrementStatsCounter):
              (WebCore::PlatformBridge::incrementStatsCounter):
              (WebCore::PlatformBridge::histogramCustomCounts):
              (WebCore::PlatformBridge::histogramEnumeration):
              (WebCore::PlatformBridge::suddenTerminationChanged):
              (WebCore::PlatformBridge::currentTime):
              (WebCore::PlatformBridge::paintButton):
              (WebCore::PlatformBridge::paintMenuList):
              (WebCore::PlatformBridge::paintScrollbarArrow):
              (WebCore::PlatformBridge::paintScrollbarThumb):
              (WebCore::PlatformBridge::paintScrollbarTrack):
              (WebCore::PlatformBridge::paintSpinButton):
              (WebCore::PlatformBridge::paintTextField):
              (WebCore::PlatformBridge::paintTrackbar):
              (WebCore::PlatformBridge::paintProgressBar):
              (WebCore::WebThemePart):
              (WebCore::WebThemeState):
              (WebCore::GetWebThemeExtraParams):
              (WebCore::PlatformBridge::getThemePartSize):
              (WebCore::PlatformBridge::paintThemePart):
              (WebCore::PlatformBridge::traceEventBegin):
              (WebCore::PlatformBridge::traceEventEnd):
              (WebCore::PlatformBridge::visitedLinkHash):
              (WebCore::PlatformBridge::isLinkVisited):
              (WebCore::PlatformBridge::notifyJSOutOfMemory):
              (WebCore::PlatformBridge::memoryUsageMB):
              (WebCore::PlatformBridge::actualMemoryUsageMB):
              (WebCore::PlatformBridge::screenDepth):
              (WebCore::PlatformBridge::screenDepthPerComponent):
              (WebCore::PlatformBridge::screenIsMonochrome):
              (WebCore::PlatformBridge::screenRect):
              (WebCore::PlatformBridge::screenAvailableRect):
              (WebCore::PlatformBridge::popupsAllowed):
              (WebCore::WorkerContextProxy::create):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandle::cacheMetadata):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::WebFrameImpl):
              (WebKit::WebFrameImpl::~WebFrameImpl):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ceaac17
  17. 19 Jan, 2011 2 commits
    • dimich@chromium.org's avatar
      2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com> · d95c3038
      dimich@chromium.org authored
              Unreviewed, rolling out r76203.
              http://trac.webkit.org/changeset/76203
              https://bugs.webkit.org/show_bug.cgi?id=52784
      
              Broke Win compile on Chromium bots (Requested by dimich on
              #webkit).
      
              * WebCore.gypi:
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::reportFatalErrorInV8):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::isLinkVisited):
              * platform/android/PlatformBridge.h:
              * platform/audio/chromium/AudioBusChromium.cpp:
              (WebCore::createBusFromInMemoryAudioFile):
              * platform/chromium/ChromiumBridge.h: Added.
              * platform/chromium/ChromiumDataObjectLegacy.cpp:
              (WebCore::ChromiumDataObjectLegacy::getData):
              * platform/chromium/DragDataChromium.cpp:
              (WebCore::DragData::asURL):
              * platform/chromium/FileSystemChromium.cpp:
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::revealFolderInOS):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              (WebCore::openFile):
              (WebCore::closeFile):
              (WebCore::seekFile):
              (WebCore::truncateFile):
              (WebCore::readFromFile):
              (WebCore::writeToFile):
              * platform/chromium/LanguageChromium.cpp:
              (WebCore::platformDefaultLanguage):
              * platform/chromium/LinkHashChromium.cpp:
              (WebCore::visitedLinkHash):
              * platform/chromium/MIMETypeRegistryChromium.cpp:
              (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
              (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
              * platform/chromium/PasteboardChromium.cpp:
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writePlainText):
              (WebCore::Pasteboard::writeURL):
              (WebCore::Pasteboard::writeImage):
              (WebCore::Pasteboard::canSmartReplace):
              (WebCore::Pasteboard::plainText):
              (WebCore::Pasteboard::documentFragment):
              * platform/chromium/PlatformBridge.h:
              * platform/chromium/PlatformScreenChromium.cpp:
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/chromium/ReadableDataObject.cpp:
              (WebCore::ReadableDataObject::getData):
              (WebCore::ReadableDataObject::urlTitle):
              (WebCore::ReadableDataObject::htmlBaseUrl):
              (WebCore::ReadableDataObject::filenames):
              (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
              * platform/chromium/SSLKeyGeneratorChromium.cpp:
              (WebCore::signedPublicKeyAndChallengeString):
              * platform/chromium/ScrollbarThemeChromium.cpp:
              * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
              (WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumLinux::paintButton):
              (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
              (WebCore::ScrollbarThemeChromiumLinux::buttonSize):
              (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
              * platform/chromium/ScrollbarThemeChromiumMac.mm:
              (WebCore::scrollbarStateToThemeState):
              (WebCore::ScrollbarThemeChromiumMac::paint):
              * platform/chromium/ScrollbarThemeChromiumWin.cpp:
              (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumWin::paintButton):
              (WebCore::ScrollbarThemeChromiumWin::paintThumb):
              (WebCore::ScrollbarThemeChromiumWin::buttonSize):
              * platform/chromium/SharedTimerChromium.cpp:
              (WebCore::setSharedTimerFiredFunction):
              (WebCore::setSharedTimerFireTime):
              (WebCore::stopSharedTimer):
              * platform/chromium/SuddenTerminationChromium.cpp:
              (WebCore::disableSuddenTermination):
              (WebCore::enableSuddenTermination):
              * platform/chromium/SystemTimeChromium.cpp:
              (WebCore::currentTime):
              * platform/chromium/WritableDataObject.cpp:
              (WebCore::WritableDataObject::setData):
              * platform/graphics/chromium/CrossProcessFontLoading.mm:
              * platform/graphics/chromium/FontCacheChromiumWin.cpp:
              (WebCore::fontContainsCharacter):
              (WebCore::FillLogFont):
              * platform/graphics/chromium/FontCacheLinux.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/chromium/FontChromiumWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
              (WebCore::FontPlatformData::scriptFontProperties):
              * platform/graphics/chromium/FontPlatformDataLinux.cpp:
              (WebCore::FontPlatformData::querySystemForRenderStyle):
              * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
              (WebCore::fillBMPGlyphs):
              * platform/graphics/chromium/ImageChromium.cpp:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/ImageChromiumMac.mm:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
              (WebCore::UniscribeHelperTextRun::tryToPreloadFont):
              * platform/graphics/skia/FontCustomPlatformData.cpp:
              (WebCore::FontCustomPlatformData::fontPlatformData):
              * platform/network/chromium/CookieJarChromium.cpp:
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookieRequestHeaderFieldValue):
              (WebCore::cookiesEnabled):
              (WebCore::getRawCookies):
              (WebCore::deleteCookie):
              * platform/network/chromium/DNSChromium.cpp:
              (WebCore::prefetchDNS):
              * platform/qt/PlatformBridge.h:
              * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
              (WebCore::SQLiteFileSystem::deleteDatabaseFile):
              (WebCore::SQLiteFileSystem::getDatabaseFileSize):
              * platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:
              (chromiumOpen):
              (chromiumDelete):
              (chromiumAccess):
              * platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
              * plugins/chromium/PluginDataChromium.cpp:
              (WebCore::PluginCache::plugins):
              * rendering/RenderThemeChromiumMac.mm:
              (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
              * rendering/RenderThemeChromiumSkia.cpp:
              (WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
              * rendering/RenderThemeChromiumWin.cpp:
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor):
              (WebCore::RenderThemeChromiumWin::systemColor):
              (WebCore::RenderThemeChromiumWin::paintButton):
              (WebCore::RenderThemeChromiumWin::paintSliderTrack):
              (WebCore::menuListButtonWidth):
              (WebCore::RenderThemeChromiumWin::paintMenuList):
              (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
              (WebCore::RenderThemeChromiumWin::paintInnerSpinButton):
              (WebCore::RenderThemeChromiumWin::paintProgressBar):
              * storage/chromium/IDBFactoryBackendInterface.cpp:
              (WebCore::IDBFactoryBackendInterface::create):
              (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
              * storage/chromium/IDBKeyPathBackendImpl.cpp:
              (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
      2011-01-19  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r76203.
              http://trac.webkit.org/changeset/76203
              https://bugs.webkit.org/show_bug.cgi?id=52784
      
              Broke Win compile on Chromium bots (Requested by dimich on
              #webkit).
      
              * WebKit.gyp:
              * src/AssertMatchingEnums.cpp:
              * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
              (WebCore::toChromeClientImpl):
              (WebCore::toWebWidgetClient):
              (WebCore::getCookieJar):
              (WebCore::ChromiumBridge::cacheMetadata):
              (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
              (WebCore::ChromiumBridge::clipboardReadPlainText):
              (WebCore::ChromiumBridge::clipboardReadHTML):
              (WebCore::ChromiumBridge::clipboardWriteSelection):
              (WebCore::ChromiumBridge::clipboardWritePlainText):
              (WebCore::ChromiumBridge::clipboardWriteURL):
              (WebCore::ChromiumBridge::clipboardWriteImage):
              (WebCore::ChromiumBridge::clipboardWriteData):
              (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
              (WebCore::ChromiumBridge::clipboardReadData):
              (WebCore::ChromiumBridge::clipboardReadFilenames):
              (WebCore::ChromiumBridge::setCookies):
              (WebCore::ChromiumBridge::cookies):
              (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
              (WebCore::ChromiumBridge::rawCookies):
              (WebCore::ChromiumBridge::deleteCookie):
              (WebCore::ChromiumBridge::cookiesEnabled):
              (WebCore::ChromiumBridge::prefetchDNS):
              (WebCore::ChromiumBridge::fileExists):
              (WebCore::ChromiumBridge::deleteFile):
              (WebCore::ChromiumBridge::deleteEmptyDirectory):
              (WebCore::ChromiumBridge::getFileSize):
              (WebCore::ChromiumBridge::revealFolderInOS):
              (WebCore::ChromiumBridge::getFileModificationTime):
              (WebCore::ChromiumBridge::directoryName):
              (WebCore::ChromiumBridge::pathByAppendingComponent):
              (WebCore::ChromiumBridge::makeAllDirectories):
              (WebCore::ChromiumBridge::getAbsolutePath):
              (WebCore::ChromiumBridge::isDirectory):
              (WebCore::ChromiumBridge::filePathToURL):
              (WebCore::ChromiumBridge::openFile):
              (WebCore::ChromiumBridge::closeFile):
              (WebCore::ChromiumBridge::seekFile):
              (WebCore::ChromiumBridge::truncateFile):
              (WebCore::ChromiumBridge::readFromFile):
              (WebCore::ChromiumBridge::writeToFile):
              (WebCore::ChromiumBridge::ensureFontLoaded):
              (WebCore::ChromiumBridge::getFontFamilyForCharacters):
              (WebCore::ChromiumBridge::getRenderStyleForStrike):
              (WebCore::ChromiumBridge::loadFont):
              (WebCore::ChromiumBridge::databaseOpenFile):
              (WebCore::ChromiumBridge::databaseDeleteFile):
              (WebCore::ChromiumBridge::databaseGetFileAttributes):
              (WebCore::ChromiumBridge::databaseGetFileSize):
              (WebCore::ChromiumBridge::idbFactory):
              (WebCore::ChromiumBridge::idbShutdown):
              (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
              (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
              (WebCore::ChromiumBridge::computedDefaultLanguage):
              (WebCore::ChromiumBridge::layoutTestMode):
              (WebCore::ChromiumBridge::isSupportedImageMIMEType):
              (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
              (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
              (WebCore::ChromiumBridge::mimeTypeForExtension):
              (WebCore::ChromiumBridge::mimeTypeFromFile):
              (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
              (WebCore::ChromiumBridge::plugins):
              (WebCore::ChromiumBridge::pluginScriptableObject):
              (WebCore::ChromiumBridge::loadPlatformImageResource):
              (WebCore::ChromiumBridge::loadPlatformAudioResource):
              (WebCore::ChromiumBridge::decodeAudioFileData):
              (WebCore::ChromiumBridge::sandboxEnabled):
              (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
              (WebCore::ChromiumBridge::setSharedTimerFireTime):
              (WebCore::ChromiumBridge::stopSharedTimer):
              (WebCore::ChromiumBridge::decrementStatsCounter):
              (WebCore::ChromiumBridge::incrementStatsCounter):
              (WebCore::ChromiumBridge::histogramCustomCounts):
              (WebCore::ChromiumBridge::histogramEnumeration):
              (WebCore::ChromiumBridge::suddenTerminationChanged):
              (WebCore::ChromiumBridge::currentTime):
              (WebCore::ChromiumBridge::paintButton):
              (WebCore::ChromiumBridge::paintMenuList):
              (WebCore::ChromiumBridge::paintScrollbarArrow):
              (WebCore::ChromiumBridge::paintScrollbarThumb):
              (WebCore::ChromiumBridge::paintScrollbarTrack):
              (WebCore::ChromiumBridge::paintSpinButton):
              (WebCore::ChromiumBridge::paintTextField):
              (WebCore::ChromiumBridge::paintTrackbar):
              (WebCore::ChromiumBridge::paintProgressBar):
              (WebCore::WebThemePart):
              (WebCore::WebThemeState):
              (WebCore::GetWebThemeExtraParams):
              (WebCore::ChromiumBridge::getThemePartSize):
              (WebCore::ChromiumBridge::paintThemePart):
              (WebCore::ChromiumBridge::traceEventBegin):
              (WebCore::ChromiumBridge::traceEventEnd):
              (WebCore::ChromiumBridge::visitedLinkHash):
              (WebCore::ChromiumBridge::isLinkVisited):
              (WebCore::ChromiumBridge::notifyJSOutOfMemory):
              (WebCore::ChromiumBridge::memoryUsageMB):
              (WebCore::ChromiumBridge::actualMemoryUsageMB):
              (WebCore::ChromiumBridge::screenDepth):
              (WebCore::ChromiumBridge::screenDepthPerComponent):
              (WebCore::ChromiumBridge::screenIsMonochrome):
              (WebCore::ChromiumBridge::screenRect):
              (WebCore::ChromiumBridge::screenAvailableRect):
              (WebCore::ChromiumBridge::popupsAllowed):
              (WebCore::WorkerContextProxy::create):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandle::cacheMetadata):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::WebFrameImpl):
              (WebKit::WebFrameImpl::~WebFrameImpl):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d95c3038
    • commit-queue@webkit.org's avatar
      2011-01-19 Adam Klein <adamk@chromium.org> · bd7bcda0
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [chromium] Rename ChromiumBridge to PlatformBridge
              https://bugs.webkit.org/show_bug.cgi?id=52471
      
              No tests added as this is a rename; no change in behavior.
      
              * WebCore.gypi:
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::reportFatalErrorInV8):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::isLinkVisited):
              * platform/android/PlatformBridge.h:
              * platform/audio/chromium/AudioBusChromium.cpp:
              (WebCore::createBusFromInMemoryAudioFile):
              * platform/chromium/ChromiumBridge.h: Removed.
              * platform/chromium/ChromiumDataObjectLegacy.cpp:
              (WebCore::ChromiumDataObjectLegacy::getData):
              * platform/chromium/DragDataChromium.cpp:
              (WebCore::DragData::asURL):
              * platform/chromium/FileSystemChromium.cpp:
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::revealFolderInOS):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              (WebCore::openFile):
              (WebCore::closeFile):
              (WebCore::seekFile):
              (WebCore::truncateFile):
              (WebCore::readFromFile):
              (WebCore::writeToFile):
              * platform/chromium/LanguageChromium.cpp:
              (WebCore::platformDefaultLanguage):
              * platform/chromium/LinkHashChromium.cpp:
              (WebCore::visitedLinkHash):
              * platform/chromium/MIMETypeRegistryChromium.cpp:
              (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
              (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
              * platform/chromium/PasteboardChromium.cpp:
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writePlainText):
              (WebCore::Pasteboard::writeURL):
              (WebCore::Pasteboard::writeImage):
              (WebCore::Pasteboard::canSmartReplace):
              (WebCore::Pasteboard::plainText):
              (WebCore::Pasteboard::documentFragment):
              * platform/chromium/PlatformBridge.h:
              * platform/chromium/PlatformScreenChromium.cpp:
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/chromium/ReadableDataObject.cpp:
              (WebCore::ReadableDataObject::getData):
              (WebCore::ReadableDataObject::urlTitle):
              (WebCore::ReadableDataObject::htmlBaseUrl):
              (WebCore::ReadableDataObject::filenames):
              (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
              * platform/chromium/SSLKeyGeneratorChromium.cpp:
              (WebCore::signedPublicKeyAndChallengeString):
              * platform/chromium/ScrollbarThemeChromium.cpp:
              * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
              (WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumLinux::paintButton):
              (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
              (WebCore::ScrollbarThemeChromiumLinux::buttonSize):
              (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
              * platform/chromium/ScrollbarThemeChromiumMac.mm:
              (WebCore::scrollbarStateToThemeState):
              (WebCore::ScrollbarThemeChromiumMac::paint):
              * platform/chromium/ScrollbarThemeChromiumWin.cpp:
              (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness):
              (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
              (WebCore::ScrollbarThemeChromiumWin::paintButton):
              (WebCore::ScrollbarThemeChromiumWin::paintThumb):
              (WebCore::ScrollbarThemeChromiumWin::buttonSize):
              * platform/chromium/SharedTimerChromium.cpp:
              (WebCore::setSharedTimerFiredFunction):
              (WebCore::setSharedTimerFireTime):
              (WebCore::stopSharedTimer):
              * platform/chromium/SuddenTerminationChromium.cpp:
              (WebCore::disableSuddenTermination):
              (WebCore::enableSuddenTermination):
              * platform/chromium/SystemTimeChromium.cpp:
              (WebCore::currentTime):
              * platform/chromium/WritableDataObject.cpp:
              (WebCore::WritableDataObject::setData):
              * platform/graphics/chromium/CrossProcessFontLoading.mm:
              * platform/graphics/chromium/FontCacheChromiumWin.cpp:
              (WebCore::fontContainsCharacter):
              (WebCore::FillLogFont):
              * platform/graphics/chromium/FontCacheLinux.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/chromium/FontChromiumWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
              (WebCore::FontPlatformData::scriptFontProperties):
              * platform/graphics/chromium/FontPlatformDataLinux.cpp:
              (WebCore::FontPlatformData::querySystemForRenderStyle):
              * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
              (WebCore::fillBMPGlyphs):
              * platform/graphics/chromium/ImageChromium.cpp:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/ImageChromiumMac.mm:
              (WebCore::Image::loadPlatformResource):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
              (WebCore::UniscribeHelperTextRun::tryToPreloadFont):
              * platform/graphics/skia/FontCustomPlatformData.cpp:
              (WebCore::FontCustomPlatformData::fontPlatformData):
              * platform/network/chromium/CookieJarChromium.cpp:
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookieRequestHeaderFieldValue):
              (WebCore::cookiesEnabled):
              (WebCore::getRawCookies):
              (WebCore::deleteCookie):
              * platform/network/chromium/DNSChromium.cpp:
              (WebCore::prefetchDNS):
              * platform/qt/PlatformBridge.h:
              * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
              (WebCore::SQLiteFileSystem::deleteDatabaseFile):
              (WebCore::SQLiteFileSystem::getDatabaseFileSize):
              * platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:
              (chromiumOpen):
              (chromiumDelete):
              (chromiumAccess):
              * platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
              * plugins/chromium/PluginDataChromium.cpp:
              (WebCore::PluginCache::plugins):
              * rendering/RenderThemeChromiumMac.mm:
              (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
              * rendering/RenderThemeChromiumSkia.cpp:
              (WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
              * rendering/RenderThemeChromiumWin.cpp:
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor):
              (WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor):
              (WebCore::RenderThemeChromiumWin::systemColor):
              (WebCore::RenderThemeChromiumWin::paintButton):
              (WebCore::RenderThemeChromiumWin::paintSliderTrack):
              (WebCore::menuListButtonWidth):
              (WebCore::RenderThemeChromiumWin::paintMenuList):
              (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
              (WebCore::RenderThemeChromiumWin::paintInnerSpinButton):
              (WebCore::RenderThemeChromiumWin::paintProgressBar):
              * storage/chromium/IDBFactoryBackendInterface.cpp:
              (WebCore::IDBFactoryBackendInterface::create):
              (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
              * storage/chromium/IDBKeyPathBackendImpl.cpp:
              (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
      2011-01-19  Adam Klein  <adamk@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [chromium] Rename ChromiumBridge to PlatformBridge
              https://bugs.webkit.org/show_bug.cgi?id=52471
      
              * WebKit.gyp:
              * src/AssertMatchingEnums.cpp:
              * src/PlatformBridge.cpp:
              (WebCore::toChromeClientImpl):
              (WebCore::toWebWidgetClient):
              (WebCore::getCookieJar):
              (WebCore::PlatformBridge::cacheMetadata):
              (WebCore::PlatformBridge::clipboardIsFormatAvailable):
              (WebCore::PlatformBridge::clipboardReadPlainText):
              (WebCore::PlatformBridge::clipboardReadHTML):
              (WebCore::PlatformBridge::clipboardWriteSelection):
              (WebCore::PlatformBridge::clipboardWritePlainText):
              (WebCore::PlatformBridge::clipboardWriteURL):
              (WebCore::PlatformBridge::clipboardWriteImage):
              (WebCore::PlatformBridge::clipboardWriteData):
              (WebCore::PlatformBridge::clipboardReadAvailableTypes):
              (WebCore::PlatformBridge::clipboardReadData):
              (WebCore::PlatformBridge::clipboardReadFilenames):
              (WebCore::PlatformBridge::setCookies):
              (WebCore::PlatformBridge::cookies):
              (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
              (WebCore::PlatformBridge::rawCookies):
              (WebCore::PlatformBridge::deleteCookie):
              (WebCore::PlatformBridge::cookiesEnabled):
              (WebCore::PlatformBridge::prefetchDNS):
              (WebCore::PlatformBridge::fileExists):
              (WebCore::PlatformBridge::deleteFile):
              (WebCore::PlatformBridge::deleteEmptyDirectory):
              (WebCore::PlatformBridge::getFileSize):
              (WebCore::PlatformBridge::revealFolderInOS):
              (WebCore::PlatformBridge::getFileModificationTime):
              (WebCore::PlatformBridge::directoryName):
              (WebCore::PlatformBridge::pathByAppendingComponent):
              (WebCore::PlatformBridge::makeAllDirectories):
              (WebCore::PlatformBridge::getAbsolutePath):
              (WebCore::PlatformBridge::isDirectory):
              (WebCore::PlatformBridge::filePathToURL):
              (WebCore::PlatformBridge::openFile):
              (WebCore::PlatformBridge::closeFile):
              (WebCore::PlatformBridge::seekFile):
              (WebCore::PlatformBridge::truncateFile):
              (WebCore::PlatformBridge::readFromFile):
              (WebCore::PlatformBridge::writeToFile):
              (WebCore::PlatformBridge::ensureFontLoaded):
              (WebCore::PlatformBridge::getFontFamilyForCharacters):
              (WebCore::PlatformBridge::getRenderStyleForStrike):
              (WebCore::PlatformBridge::loadFont):
              (WebCore::PlatformBridge::databaseOpenFile):
              (WebCore::PlatformBridge::databaseDeleteFile):
              (WebCore::PlatformBridge::databaseGetFileAttributes):
              (WebCore::PlatformBridge::databaseGetFileSize):
              (WebCore::PlatformBridge::idbFactory):
              (WebCore::PlatformBridge::idbShutdown):
              (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
              (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
              (WebCore::PlatformBridge::computedDefaultLanguage):
              (WebCore::PlatformBridge::layoutTestMode):
              (WebCore::PlatformBridge::isSupportedImageMIMEType):
              (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
              (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
              (WebCore::PlatformBridge::mimeTypeForExtension):
              (WebCore::PlatformBridge::mimeTypeFromFile):
              (WebCore::PlatformBridge::preferredExtensionForMIMEType):
              (WebCore::PlatformBridge::plugins):
              (WebCore::PlatformBridge::pluginScriptableObject):
              (WebCore::PlatformBridge::loadPlatformImageResource):
              (WebCore::PlatformBridge::loadPlatformAudioResource):
              (WebCore::PlatformBridge::decodeAudioFileData):
              (WebCore::PlatformBridge::sandboxEnabled):
              (WebCore::PlatformBridge::setSharedTimerFiredFunction):
              (WebCore::PlatformBridge::setSharedTimerFireTime):
              (WebCore::PlatformBridge::stopSharedTimer):
              (WebCore::PlatformBridge::decrementStatsCounter):
              (WebCore::PlatformBridge::incrementStatsCounter):
              (WebCore::PlatformBridge::histogramCustomCounts):
              (WebCore::PlatformBridge::histogramEnumeration):
              (WebCore::PlatformBridge::suddenTerminationChanged):
              (WebCore::PlatformBridge::currentTime):
              (WebCore::PlatformBridge::paintButton):
              (WebCore::PlatformBridge::paintMenuList):
              (WebCore::PlatformBridge::paintScrollbarArrow):
              (WebCore::PlatformBridge::paintScrollbarThumb):
              (WebCore::PlatformBridge::paintScrollbarTrack):
              (WebCore::PlatformBridge::paintSpinButton):
              (WebCore::PlatformBridge::paintTextField):
              (WebCore::PlatformBridge::paintTrackbar):
              (WebCore::PlatformBridge::paintProgressBar):
              (WebCore::WebThemePart):
              (WebCore::WebThemeState):
              (WebCore::GetWebThemeExtraParams):
              (WebCore::PlatformBridge::getThemePartSize):
              (WebCore::PlatformBridge::paintThemePart):
              (WebCore::PlatformBridge::traceEventBegin):
              (WebCore::PlatformBridge::traceEventEnd):
              (WebCore::PlatformBridge::visitedLinkHash):
              (WebCore::PlatformBridge::isLinkVisited):
              (WebCore::PlatformBridge::notifyJSOutOfMemory):
              (WebCore::PlatformBridge::memoryUsageMB):
              (WebCore::PlatformBridge::actualMemoryUsageMB):
              (WebCore::PlatformBridge::screenDepth):
              (WebCore::PlatformBridge::screenDepthPerComponent):
              (WebCore::PlatformBridge::screenIsMonochrome):
              (WebCore::PlatformBridge::screenRect):
              (WebCore::PlatformBridge::screenAvailableRect):
              (WebCore::PlatformBridge::popupsAllowed):
              (WebCore::WorkerContextProxy::create):
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandle::cacheMetadata):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::WebFrameImpl):
              (WebKit::WebFrameImpl::~WebFrameImpl):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd7bcda0
  18. 16 Jan, 2011 1 commit
  19. 10 Jan, 2011 1 commit
    • jorlow@chromium.org's avatar
      2011-01-10 John Knottenbelt <jknotten@chromium.org> · 87270776
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              [Chromium] Remove non-client-based Geolocation code
              https://bugs.webkit.org/show_bug.cgi?id=50921
      
              Code clean up, covered by existing tests.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * platform/chromium/ChromiumBridge.h:
              * platform/chromium/GeolocationServiceChromium.cpp: Removed.
              * platform/chromium/GeolocationServiceChromium.h: Removed.
      2011-01-10  John Knottenbelt  <jknotten@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              [Chromium] Remove non-client-based Geolocation code
              https://bugs.webkit.org/show_bug.cgi?id=50921
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setGeolocationPermission):
              (LayoutTestController::setMockGeolocationPosition):
              (LayoutTestController::setMockGeolocationError):
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::geolocationClientMock):
              (WebViewHost::reset):
              * DumpRenderTree/chromium/WebViewHost.h:
      2011-01-10  John Knottenbelt  <jknotten@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              [Chromium] Remove non-client-based Geolocation code
              https://bugs.webkit.org/show_bug.cgi?id=50921
      
              * WebKit.gyp:
              * public/WebGeolocationService.h: Removed.
              * public/WebGeolocationServiceBridge.h: Removed.
              * public/WebGeolocationServiceMock.h: Removed.
              * src/AssertMatchingEnums.cpp:
              * src/ChromeClientImpl.cpp:
              (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
              (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
              * src/ChromiumBridge.cpp:
              * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
              * src/WebGeolocationServiceBridgeImpl.h: Removed.
              * src/WebGeolocationServiceMock.cpp: Removed.
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87270776
  20. 23 Dec, 2010 1 commit
    • mihaip@chromium.org's avatar
      2010-12-23 Mihai Parparita <mihaip@chromium.org> · 932c7635
      mihaip@chromium.org authored
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
              https://bugs.webkit.org/show_bug.cgi?id=51507
      
              Adds WebThemeEngine for the Mac (it already has parallel definitions for
              Windows and Linux) so that scrollbar thumb rendering can be overridden
              for the DRT (to be consistent with the NSScroller-based rendering
              used by the Mac port).
      
              No new tests since the functionality is not exposed yet. Eventually will
              result in the Chromium/Mac port being able to use the same pixel
              baselines for layout tests as the Mac port.
      
              * platform/chromium/ChromiumBridge.h:
              * platform/chromium/ScrollbarThemeChromiumMac.mm:
              (WebCore::scrollbarStateToThemeState):
              (WebCore::ScrollbarThemeChromiumMac::paint):
      2010-12-23  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
              https://bugs.webkit.org/show_bug.cgi?id=51507
      
              Adds WebThemeEngine for the Mac (it already has parallel definitions for
              Windows and Linux) so that scrollbar thumb rendering can be overridden
              for the DRT (to be consistent with the NSScroller-based rendering
              used by the Mac port).
      
              * public/mac/WebThemeEngine.h: Added.
              (WebKit::WebThemeEngine::paintScrollbarThumb):
              * src/AssertMatchingEnums.cpp:
              * src/ChromiumBridge.cpp:
              (WebCore::ChromiumBridge::paintScrollbarThumb):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      932c7635
  21. 17 Dec, 2010 1 commit
    • hans@chromium.org's avatar
      2010-12-17 Hans Wennborg <hans@chromium.org> · 7e775392
      hans@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Support Date objects as keys.
              https://bugs.webkit.org/show_bug.cgi?id=51193
      
              Update layout tests to check that having Date objects as keys work.
      
              * storage/indexeddb/objectstore-basics-expected.txt:
              * storage/indexeddb/objectstore-basics.html:
      2010-12-17  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Support Date objects as keys.
              https://bugs.webkit.org/show_bug.cgi?id=51193
      
              * bindings/v8/IDBBindingUtilities.cpp:
              (WebCore::createIDBKeyFromValue):
              Use the new IDBKey factory functions, and support Date objects.
              * bindings/v8/custom/V8IDBKeyCustom.cpp:
              (WebCore::toV8):
              Create Date objects from DateType keys.
              * storage/IDBKey.cpp:
              (WebCore::IDBKey::fromQuery):
              (WebCore::IDBKey::isEqual):
              (WebCore::IDBKey::whereSyntax):
              (WebCore::IDBKey::lowerCursorWhereFragment):
              (WebCore::IDBKey::upperCursorWhereFragment):
              (WebCore::IDBKey::bind):
              (WebCore::IDBKey::bindWithNulls):
              Update all SQL related functions to handle Date keys.
              * storage/IDBKey.h:
              (WebCore::IDBKey::createNull):
              (WebCore::IDBKey::createNumber):
              (WebCore::IDBKey::createString):
              (WebCore::IDBKey::createDate):
              Rename the create factories; since both number and date is just a
              double, function overloading can't be used to discriminate between
              the factories.
              (WebCore::IDBKey::date):
              Add getter for the date value.
      2010-12-17  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Support Date objects as keys.
              https://bugs.webkit.org/show_bug.cgi?id=51193
      
              Update to match the underlying WebCore IDBKey class:
              add the DateType, add create() functions for each type,
              deprecate the public constructors (will be removed once
              Chromium side is updated).
      
              * public/WebIDBKey.h:
              (WebKit::WebIDBKey::WebIDBKey):
              * src/AssertMatchingEnums.cpp:
              * src/WebIDBKey.cpp:
              (WebKit::WebIDBKey::createString):
              (WebKit::WebIDBKey::createDate):
              (WebKit::WebIDBKey::createNumber):
              (WebKit::WebIDBKey::assignNull):
              (WebKit::WebIDBKey::assignString):
              (WebKit::WebIDBKey::assignDate):
              (WebKit::WebIDBKey::assignNumber):
              (WebKit::WebIDBKey::date):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e775392
  22. 23 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-23 John Knottenbelt <jknotten@chromium.org> · 3a3d94cb
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
              https://bugs.webkit.org/show_bug.cgi?id=49735
      
              Introduce WebKit API types so that the browser implementation can feed
              position and error updates to the WebCore::GeolocationController.
      
              * WebKit.gyp:
              * public/WebGeolocationError.h: Added.
              (WebKit::WebGeolocationError::WebGeolocationError):
              (WebKit::WebGeolocationError::~WebGeolocationError):
              * public/WebGeolocationPosition.h: Added.
              (WebKit::WebGeolocationPosition::WebGeolocationPosition):
              (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
              * src/WebGeolocationError.cpp: Added.
              (WebKit::WebGeolocationError::assign):
              (WebKit::WebGeolocationError::reset):
              (WebKit::WebGeolocationError::WebGeolocationError):
              (WebKit::WebGeolocationError::operator=):
              (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
              * src/WebGeolocationPosition.cpp: Added.
              (WebKit::WebGeolocationPosition::assign):
              (WebKit::WebGeolocationPosition::reset):
              (WebKit::WebGeolocationPosition::operator=):
              (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a3d94cb
  23. 29 Oct, 2010 1 commit
    • tonikitoo@webkit.org's avatar
      Needs a "LinuxEditingBehavior", perhaps with a better name · 525d4c70
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=36627
      
      Reviewed by Ojan Vafai.
      Patch by Antonio Gomes <agomes@rim.com>
      
      WebCore:
      
      Added EditingUnixBehavior editing type aim to cover the cases when
      neither Mac or Windows behaviors are appropriated.
      
      It was decided to name it Unix not Linux.
      
      No new tests. The current editing tests that involve platform specific
      bahaviors are coded so that they go through all editing behavior
      types possible. There will be a follow up bug where all of them will
      be updated to include the new editing behavior ("unix").
      
      * editing/EditingBehaviorTypes.h:
      * page/Settings.cpp:
      (WebCore::editingBehaviorTypeForPlatform):
      (WebCore::Settings::Settings):
      
      WebKit/chromium:
      
      Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix.
      
      * public/WebSettings.h:
      * src/AssertMatchingEnums.cpp:
      
      WebKit/gtk:
      
      Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WEBKIT_EDITING_BEHAVIOR_UNIX.
      
      * webkit/webkitwebsettings.cpp:
      (webkit_web_settings_class_init):
      * webkit/webkitwebsettings.h:
      
      WebKit/mac:
      
      Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
      
      * WebView/WebFrame.mm:
      (core):
      * WebView/WebPreferencesPrivate.h:
      
      WebKit/qt:
      
      Adding support to Qt's DRTSupport class to test the newly introduced Unix editing behavior.
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::setEditingBehavior):
      
      WebKit/win:
      
      Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
      
      * Interfaces/IWebPreferences.idl:
      
      WebKitTools:
      
      Adding support to Mac's, GTK+'s, Windows' and Chromium's LayoutTestController class to test the newly introduced Unix editing behavior.
      
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::setEditingBehavior):
      * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
      (LayoutTestController::setEditingBehavior):
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::setEditingBehavior):
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::setEditingBehavior):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      525d4c70
  24. 27 Oct, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-10-27 Eric Uhrhane <ericu@chromium.org> · b1eeef57
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              [Chromium] Metadata queries should return full file info, not just modification time
              https://bugs.webkit.org/show_bug.cgi?id=48098
      
              LayoutTests that use this functionality via WorkerAsyncFileWriter are in review.
      
              Build file changes to add FileMetadata.
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
              The rest of the changes here just pass the new FileMetadata object through calls that used to take a modification time.
              * platform/FileMetadata.h: Added.
              (WebCore::FileMetadata::FileMetadata):
              * fileapi/FileSystemCallbacks.cpp:
              (WebCore::FileSystemCallbacksBase::didReadMetadata):
              (WebCore::MetadataCallbacks::didReadMetadata):
              * fileapi/FileSystemCallbacks.h:
              * platform/AsyncFileSystemCallbacks.h:
      2010-10-27  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by David Levin.
      
              [Chromium] Metadata queries should return full file info, not just modification time
              https://bugs.webkit.org/show_bug.cgi?id=48098
      
              * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators.
              * src/WebFileSystemCallbacksImpl.cpp:
              (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1eeef57
  25. 24 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-20 Kinuko Yasuda <kinuko@chromium.org> · 75d7c53e
      kinuko@chromium.org authored
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              * public/WebFileError.h:
              * src/AssertMatchingEnums.cpp:
              * src/AsyncFileWriterChromium.cpp:
              (WebCore::AsyncFileWriterChromium::didFail):
      2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::setDOMException): Added FileExceptionType case.
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::setDOMException): Added FileExceptionType case.
              * dom/ExceptionCode.cpp:
              (WebCore::getExceptionCodeDescription): Added code for FileException.
              * dom/ExceptionCode.h:
              * fileapi/AsyncFileWriterClient.h:
              * fileapi/DirectoryEntry.cpp:
              (WebCore::DirectoryEntry::getFile):
              (WebCore::DirectoryEntry::getDirectory):
              (WebCore::DirectoryEntry::removeRecursively):
              * fileapi/DirectoryEntrySync.cpp:
              (WebCore::DirectoryEntrySync::getFile):
              (WebCore::DirectoryEntrySync::getDirectory):
              (WebCore::DirectoryEntrySync::removeRecursively):
              * fileapi/DirectoryReaderSync.cpp:
              (WebCore::DirectoryReaderSync::readEntries):
              * fileapi/Entry.cpp:
              (WebCore::Entry::getMetadata):
              (WebCore::Entry::moveTo):
              (WebCore::Entry::copyTo):
              (WebCore::Entry::remove):
              (WebCore::Entry::getParent):
              * fileapi/EntrySync.cpp:
              (WebCore::EntrySync::getMetadata):
              (WebCore::EntrySync::moveTo):
              (WebCore::EntrySync::copyTo):
              (WebCore::EntrySync::remove):
              * fileapi/FileError.h: Added error code enum.
              (WebCore::FileError::create):
              (WebCore::FileError::code):
              (WebCore::FileError::FileError):
              * fileapi/FileError.idl: Rebased error code numbers.
              * fileapi/FileException.h: Added exception code enum.
              (WebCore::FileException::ErrorCodeToExceptionCode): Added.
              * fileapi/FileException.idl: Rebased exception code numbers.
              * fileapi/FileReader.cpp:
              (WebCore::FileReader::abort):
              (WebCore::FileReader::failed):
              (WebCore::FileReader::httpStatusCodeToErrorCode): Changed from
              httpStatuCodeToExceptionCode.
              * fileapi/FileReader.h:
              * fileapi/FileReaderSync.cpp:
              (WebCore::FileReaderSyncLoader::start):
              * fileapi/FileSystemCallbacks.cpp:
              (WebCore::FileSystemCallbacksBase::didFail):
              * fileapi/FileWriter.cpp:
              (WebCore::FileWriter::write):
              (WebCore::FileWriter::seek):
              (WebCore::FileWriter::truncate):
              (WebCore::FileWriter::abort):
              (WebCore::FileWriter::didFail):
              (WebCore::FileWriter::setError):
              * fileapi/FileWriter.h:
              * fileapi/SyncCallbackHelper.h:
              (WebCore::SyncCallbackHelper::SyncCallbackHelper):
              (WebCore::SyncCallbackHelper::getResult):
              (WebCore::SyncCallbackHelper::setError):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::requestFileSystem):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::requestFileSystem):
              (WebCore::WorkerContext::requestFileSystemSync):
      2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              Updated test expectations to match with the new error code.
      
              * fast/files/read-blob-async-expected.txt:
              * fast/files/read-file-async-expected.txt:
              * fast/files/workers/worker-read-blob-async-expected.txt:
              * fast/files/workers/worker-read-blob-sync-expected.txt:
              * fast/files/workers/worker-read-file-async-expected.txt:
              * fast/files/workers/worker-read-file-sync-expected.txt:
              * fast/filesystem/op-copy-expected.txt:
              * fast/filesystem/op-get-entry-expected.txt:
              * fast/filesystem/op-move-expected.txt:
              * fast/filesystem/op-remove-expected.txt:
              * fast/filesystem/op-restricted-chars-expected.txt:
              * fast/filesystem/op-restricted-names-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75d7c53e
  26. 05 Oct, 2010 1 commit
    • hclam@chromium.org's avatar
      WebCore: Render textures in video frame directly. · 64cdcdd6
      hclam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=46765
      
      Reviewed by NOBODY (OOPS!).
      
      Render textures in VideoLayerChromium directly if the video frame type
      is GL texture. In the future VideoLayerChromium will not allocate
      textures and perform textures upload as those operations will be done
      in Chromium to minimize memory copy. This patch will help moving toward
      this direction and facilitate hardware video decoding.
      
      * platform/graphics/chromium/VideoFrameChromium.h:
      * platform/graphics/chromium/VideoFrameProvider.h:
      (WebCore::VideoFrameProvider::~VideoFrameProvider):
      * platform/graphics/chromium/VideoLayerChromium.cpp:
      (WebCore::VideoLayerChromium::VideoLayerChromium):
      (WebCore::VideoLayerChromium::~VideoLayerChromium):
      (WebCore::VideoLayerChromium::updateContents):
      (WebCore::VideoLayerChromium::draw):
      (WebCore::VideoLayerChromium::releaseCurrentFrame):
      (WebCore::VideoLayerChromium::resetFrameParameters):
      (WebCore::VideoLayerChromium::saveCurrentFrame):
      * platform/graphics/chromium/VideoLayerChromium.h:
      (WebCore::VideoLayerChromium::SharedValues::initialized):
      
      WebKit/chromium: Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
      Also explicitly instruct VideoLayerChromium to release video frame when the owner
      of video frame is going away.
      
      Reviewed by NOBODY (OOPS!).
      
      * public/WebVideoFrame.h:
      * src/AssertMatchingEnums.cpp:
      * src/VideoFrameChromiumImpl.cpp:
      (WebKit::VideoFrameChromiumImpl::texture):
      * src/VideoFrameChromiumImpl.h:
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
      (WebKit::WebMediaPlayerClientImpl::load):
      * src/WebMediaPlayerClientImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64cdcdd6
  27. 22 Sep, 2010 1 commit
    • mihaip@chromium.org's avatar
      2010-09-22 Mihai Parparita <mihaip@chromium.org> · c419780b
      mihaip@chromium.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] User style layout tests don't pass on Chromium
              https://bugs.webkit.org/show_bug.cgi?id=46069
      
              User style tests should now pass with the Chromium DRT since we now
              apply the styles immediately, just like the other ports (once we also
              remove some bad baselines for user-style-top-frame-only added by
              r62958).
      
              Tests still don't pass with test_shell until it starts to use
              InjectInExistingDocuments too.
      
              * platform/chromium-mac/userscripts/user-style-top-frame-only-expected.txt: Removed.
              * platform/chromium-win/userscripts/user-style-top-frame-only-expected.txt: Removed.
              * platform/chromium/drt_expectations.txt:
      2010-09-22  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Chromium] User style layout tests don't pass on Chromium
              https://bugs.webkit.org/show_bug.cgi?id=46069
      
              Instead of making resetUserStyleCacheInAllFrames be a no-op for
              Chromium, have it be controlled by a UserStyleInjectionTime enum.
      
              Also move the UserStyleSheet::Level enum to be inside
              UserStyleSheetTypes for consistency.
      
              * WebCore.exp.in:
              * dom/Document.cpp:
              (WebCore::Document::pageGroupUserSheets):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::addUserStyleSheetToWorld):
              * page/PageGroup.h:
              * page/UserStyleSheet.h:
              (WebCore::UserStyleSheet::UserStyleSheet):
              (WebCore::UserStyleSheet::level):
              * page/UserStyleSheetTypes.h:
      2010-09-22  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Chromium] User style layout tests don't pass on Chromium
              https://bugs.webkit.org/show_bug.cgi?id=46069
      
              Expose UserStyleInjectionTime in WebView.
      
              * public/WebView.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebView::addUserStyleSheet):
      2010-09-22  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Chromium] User style layout tests don't pass on Chromium
              https://bugs.webkit.org/show_bug.cgi?id=46069
      
              Fix a typo in LayoutTestController::addUserStyleSheet that was causing a
              crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT
              behavior from other ports.
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::addUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c419780b
  28. 21 Sep, 2010 1 commit
  29. 27 Aug, 2010 1 commit
  30. 25 Aug, 2010 1 commit
    • hclam@chromium.org's avatar
      WebCore: Adding a means of communication between WebKit/WebCore and · 5641b59f
      hclam@chromium.org authored
      chromium in order to share video frames. This adds the necessary
      WebKit-side classes and methods, but does not actually use them
      yet - that will be committed in a separate patch after the
      corresponding Chromium side is committed.
      
      Reviewed by Darin Fisher.
      Submitted for Victoria Kirst (vrk@google.com).
      
      https://bugs.webkit.org/show_bug.cgi?id=44539
      
      No new tests, as these new classes/APIs are not yet used.
      
      * platform/graphics/chromium/VideoFrameChromium.h: Added.
      (WebCore::VideoFrameChromium::):
      * platform/graphics/chromium/VideoFrameProvider.h: Added.
      * platform/graphics/chromium/VideoLayerChromium.cpp:
      (WebCore::VideoLayerChromium::create):
      (WebCore::VideoLayerChromium::VideoLayerChromium):
      * platform/graphics/chromium/VideoLayerChromium.h:
      
      WebKit/chromium: Adding a way to communicate video frames between Chromium and WebKit.
      The WebKit side acts as a middleman between Chromium and WebCore.
      The VideoFrameChromiumImpl is not being used by WebCore yet, as there
      still needs to be an implementation of WebVideoFrame in Chromium
      -- coming soon in a subsequent patch.
      
      Reviewed by Darin Fisher.
      Submitted for Victoria Kirst (vrk@google.com).
      
      API changes for Video Frame sharing between WebKit and Chromium
      https://bugs.webkit.org/show_bug.cgi?id=44539
      
      * WebKit.gyp:
      * public/WebMediaPlayer.h:
      (WebKit::WebMediaPlayer::getCurrentFrame):
      (WebKit::WebMediaPlayer::putCurrentFrame):
      * public/WebVideoFrame.h: Added.
      * src/VideoFrameChromiumImpl.cpp: Added.
      (WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
      (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
      (WebKit::VideoFrameChromiumImpl::type):
      (WebKit::VideoFrameChromiumImpl::format):
      (WebKit::VideoFrameChromiumImpl::width):
      (WebKit::VideoFrameChromiumImpl::height):
      (WebKit::VideoFrameChromiumImpl::planes):
      (WebKit::VideoFrameChromiumImpl::stride):
      (WebKit::VideoFrameChromiumImpl::data):
      * src/VideoFrameChromiumImpl.h: Added.
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
      (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
      (WebKit::WebMediaPlayerClientImpl::create):
      * src/WebMediaPlayerClientImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5641b59f
  31. 10 Aug, 2010 1 commit
  32. 09 Aug, 2010 1 commit
  33. 27 Jul, 2010 1 commit
    • brettw@chromium.org's avatar
      2010-07-27 Brett Wilson <brettw@chromium.org> · 08a103e4
      brettw@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add the ability to select fonts and do basic text drawing to the
              Chromium WebKit API.
              https://bugs.webkit.org/show_bug.cgi?id=42999
      
              * WebKit.gyp:
              * public/WebFloatPoint.h: Added.
              (WebKit::WebFloatPoint::WebFloatPoint):
              (WebKit::WebFloatPoint::operator=):
              (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
              (WebKit::operator==):
              (WebKit::operator!=):
              * public/WebFloatRect.h: Added.
              (WebKit::WebFloatRect::isEmpty):
              (WebKit::WebFloatRect::WebFloatRect):
              (WebKit::WebFloatRect::operator=):
              (WebKit::WebFloatRect::operator WebCore::FloatRect):
              (WebKit::operator==):
              (WebKit::operator!=):
              * public/WebFont.h: Added.
              * public/WebFontDescription.h: Added.
              (WebKit::WebFontDescription::):
              (WebKit::WebFontDescription::WebFontDescription):
              * public/WebTextRun.h: Added.
              (WebKit::WebTextRun::WebTextRun):
              * src/AssertMatchingEnums.cpp:
              * src/WebFontDescription.cpp: Added.
              (WebKit::WebFontDescription::WebFontDescription):
              (WebKit::WebFontDescription::operator WebCore::FontDescription):
              * src/WebFontImpl.cpp: Added.
              (WebKit::WebFont::Create):
              (WebKit::WebFontImpl::WebFontImpl):
              (WebKit::WebFontImpl::fontDescription):
              (WebKit::WebFontImpl::ascent):
              (WebKit::WebFontImpl::descent):
              (WebKit::WebFontImpl::height):
              (WebKit::WebFontImpl::lineSpacing):
              (WebKit::WebFontImpl::xHeight):
              (WebKit::WebFontImpl::drawText):
              (WebKit::WebFontImpl::computeWidth):
              (WebKit::WebFontImpl::offsetForPosition):
              (WebKit::WebFontImpl::selectionRectForText):
              * src/WebFontImpl.h: Added.
              * src/WebTextRun.cpp: Added.
              (WebKit::WebTextRun::operator WebCore::TextRun):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08a103e4