1. 22 Nov, 2011 1 commit
  2. 18 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      IDL changes for gamepad support · 0ef17682
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71753
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-11-18
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      IDL changes and associated plumbing to expose list of gamepad objects
      on navigator object (per current spec). Full patch is
      https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
      test until more plumbing in future patches.
      
      Test: gamepad/gamepad-api.html
      
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
      * page/Gamepad.cpp: Added.
      (WebCore::Gamepad::Gamepad):
      (WebCore::Gamepad::axes):
      (WebCore::Gamepad::buttons):
      (WebCore::Gamepad::~Gamepad):
      * page/Gamepad.h: Added.
      * page/Gamepad.idl: Added.
      * page/GamepadList.cpp: Added.
      (WebCore::GamepadList::~GamepadList):
      (WebCore::GamepadList::set):
      (WebCore::GamepadList::length):
      (WebCore::GamepadList::item):
      * page/GamepadList.h: Added.
      (WebCore::GamepadList::create):
      (WebCore::GamepadList::GamepadList):
      * page/GamepadList.idl: Added.
      * page/Navigator.cpp:
      (WebCore::Navigator::webkitGamepads):
      * page/Navigator.h:
      * page/Navigator.idl:
      
      Source/WebKit/chromium:
      
      Update to use vendor-prefixed enable.
      
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableGamepad):
      (WebKit::WebRuntimeFeatures::isGamepadEnabled):
      
      Tools:
      
      Runtime enable gamepad in chromium test shell.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      Add basic api existence test.
      
      * gamepad/gamepad-api-expected.txt: Added.
      * gamepad/gamepad-api.html: Added.
      * gamepad/gamepad-test.js: Added.
      (logConsole):
      (testExpected):
      (reportExpected):
      (waitForEventAndEnd):
      (waitForEvent._eventCallback):
      (waitForEvent):
      (waitForEventAndTest._eventCallback):
      (waitForEventAndTest):
      (waitForEventTestAndEnd):
      (endTest):
      (logResult):
      (consoleWrite):
      * platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ef17682
  3. 16 Nov, 2011 1 commit
  4. 15 Nov, 2011 1 commit
    • jamesr@google.com's avatar
      [chromium] Merge chromium-gpu layout test configurations into non-gpu versions · 119f4a5a
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72402
      
      Reviewed by Dirk Pranke.
      
      Tools:
      
      Allows the compositing layout tests to run in the normal layout test run. This sets the default compositing
      triggers in DumpRenderTree to more closely match what we use in Chromium. There are two exceptions, canvas 2d
      and video (media) are still controlled by an explicit trigger so that they are true when platform=chromium-gpu
      and false otherwise, so that we can run the same set of tests in both configurations. This isn't necessary for
      the normal compositing triggers since we currently run the compositing tests in only one configuration - with
      compositing enabled.
      
      Since the compositing tests are currently marked WONTFIX SKIP on non-GPU platforms in test_expectations.txt this
      patch should not impact any tests.
      
      * DumpRenderTree/chromium/DumpRenderTree.cpp:
      (main):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      (TestShell::resetWebSettings):
      * DumpRenderTree/chromium/TestShell.h:
      (TestShell::setAcceleratedCompositingForVideoEnabled):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (WebPreferences::reset):
      (WebPreferences::applyTo):
      * DumpRenderTree/chromium/WebPreferences.h:
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
      * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
      
      LayoutTests:
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      119f4a5a
  5. 07 Nov, 2011 1 commit
    • fsamuel@chromium.org's avatar
      [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore · 74a03264
      fsamuel@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71485
      
      Reviewed by Darin Fisher.
      
      Source/WebKit/chromium:
      
      Created new method setPageScaleFactor to replace scalePage to match
      renamed method in WebCore. This change will happen in three stages:
      
      1. A new method is created called setPageScaleFactor with the same
         functionality as scalePage.
      2. All call sites of scalePage are changed to setPageScaleFactor in the Chromium
         repository.
      3. scalePage is deleted from WebView/WebViewImpl
      
      * public/WebView.h:
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::pageScaleFactor):
      (WebKit::WebViewImpl::scalePage):
      (WebKit::WebViewImpl::setPageScaleFactor):
      * src/WebViewImpl.h:
      
      Tools:
      
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::scalePageBy):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::resetTestController):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74a03264
  6. 27 Oct, 2011 2 commits
    • commit-queue@webkit.org's avatar
      [Chromium] Need setPrinting · 75aa0f65
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=46152
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2011-10-27
      Reviewed by Hajime Morita.
      
      Source/WebKit/chromium:
      
      * public/WebFrame.h: Added pure virtual prototype for printPagesWithBoundaries. Added enum
      and changed parameters for renderTreeAsText.
      * src/WebFrameImpl.cpp:
      (WebKit::ChromePrintContext::spoolAllPagesWithBoundaries): Added this method, based on
      the static in PrintContext. This uses Chromium specific page spooling and transforms.
      (WebKit::WebFrameImpl::renderTreeAsText): Updated to allow text dump in printed format.
      (WebKit::WebFrameImpl::printPagesWithBoundaries): Added method for testing printing page
      breaks.
      * src/WebFrameImpl.h: Added prototype.
      
      Tools:
      
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController): Added logic for handling setPrinting.
      (LayoutTestController::reset): Clearing flags for setPrinting.
      (LayoutTestController::setPrinting): Set flags for setPrinting.
      * DumpRenderTree/chromium/LayoutTestController.h:
      (LayoutTestController::setIsPrinting): Added the setPrinting methods and flags.
      (LayoutTestController::isPrinting): Method to return the setPrinting status.
      * DumpRenderTree/chromium/TestShell.cpp:
      (dumpFramesAsPrintedText): A method for creating a text dump in printed layout.
      (TestShell::dump): Modified to dump setPrinting-specific output.
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::paintPagesWithBoundaries): Handling for pixel tests when setPrinting is
      active.
      * DumpRenderTree/chromium/WebViewHost.h: Prototype for paintPagesWithBoundaries.
      
      LayoutTests:
      
      * platform/chromium/test_expectations.txt: Removing setPrinting tests from the expected failures.
      * platform/chromium-linux/printing/setPrinting-expected.png: Added.
      * platform/chromium-linux/printing/setPrinting-expected.txt: Added.
      * platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
      * platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
      * platform/chromium-mac/printing/setPrinting-expected.png: Added.
      * platform/chromium-mac/printing/setPrinting-expected.txt: Added.
      * platform/chromium-mac/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
      * platform/chromium-mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
      * platform/chromium-win/printing/setPrinting-expected.png: Added.
      * platform/chromium-win/printing/setPrinting-expected.txt: Added.
      * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
      * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
      * platform/mac/printing/setPrinting-expected.png: Rebaselined for the change to the test html.
      * platform/mac/printing/setPrinting-expected.txt: Rebaselined for the change to the test html.
      * printing/setPrinting.html: Modified the test to make the box have a colored border
        instead of the solid background, as the solid background does not print on chromium.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75aa0f65
    • jknotten@chromium.org's avatar
      [Chromium] Allow DRT to be built without notifications enabled. · e929d9a9
      jknotten@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70919
      
      Reviewed by Tony Gentilcore.
      
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::grantDesktopNotificationPermission):
      (LayoutTestController::simulateDesktopNotificationClick):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      (TestShell::resetTestController):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e929d9a9
  7. 25 Oct, 2011 1 commit
  8. 18 Oct, 2011 1 commit
  9. 06 Oct, 2011 1 commit
  10. 05 Oct, 2011 1 commit
    • arv@chromium.org's avatar
      window.location.href and others needlessly decodes URI-encoded characters · ae6a4550
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=30225
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Don't decode KURL::path() and stop using KURL::deprecatedString() in Location methods.
      
      This slightly changes how we parse data and javascript URLs (non hierarchical URLs) to
      not encode so aggressively.
      
      * fileapi/DOMFileSystemBase.cpp:
      (WebCore::DOMFileSystemBase::crackFileSystemURL): Manually decode path()
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::defaultObjectContentType): Manually decode path()
      * page/Location.cpp:
      (WebCore::Location::href): Use string() instead of deprecatedString()
      * page/Location.h:
      (WebCore::Location::toString): Inline call to href()
      * platform/KURL.cpp:
      (WebCore::KURL::path): Don't decode.
      (WebCore::escapeAndAppendNonHierarchicalPart): Rename escapeAndAppendFragment to escapeAndAppendNonHierarchicalPart
                                                     since this is now used for more than just fragments.
      (WebCore::KURL::parse): Don't decode
      * platform/KURLGoogle.cpp:
      (WebCore::KURL::path): Remove out of date comment
      * platform/qt/KURLQt.cpp:
      (WebCore::KURL::fileSystemPath): Manually decode path()
      * platform/win/ClipboardWin.cpp:
      (WebCore::createGlobalHDropContent): Manually decode path()
      * workers/WorkerLocation.cpp:
      (WebCore::WorkerLocation::href): Use string() instead of deprecatedString()
      * workers/WorkerLocation.h:
      (WebCore::WorkerLocation::toString): Inline call to href()
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (normalizeLayoutTestURLInternal): Remove extra encode.
      
      LayoutTests:
      
      The path part of location.href and location.pathname are now not decoded and we keep percent escape sequences.
      
      data and javascript URLs only encodes non ascii characters.
      
      * fast/dom/anchor-origin-expected.txt:
      * fast/dom/anchor-origin.html: Change to not use document.write since we don't want to output HTML.
      * fast/history/history-back-initial-vs-final-url-expected.txt:
      * fast/loader/subframe-navigate-during-main-frame-load-expected.txt:
      * fast/url/file-http-base-expected.txt:
      * fast/url/mailto-expected.txt:
      * fast/url/script-tests/file-http-base.js:
      * fast/url/script-tests/segments.js:
      * fast/url/script-tests/standard-url.js:
      * fast/url/segments-expected.txt:
      * fast/url/segments-from-data-url-expected.txt:
      * fast/url/segments.html: Use UTF-8
      * fast/url/standard-url-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
      * platform/chromium-cg-mac/fast/url/standard-url-expected.txt:
      * platform/chromium-linux/fast/url/standard-url-expected.txt:
      * platform/chromium-mac/fast/url/standard-url-expected.txt:
      * platform/chromium-win/fast/url/standard-url-expected.txt:
      * platform/chromium/fast/dom/anchor-origin-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae6a4550
  11. 29 Sep, 2011 1 commit
    • hans@chromium.org's avatar
      IndexedDB: Use LevelDB also for in-memory databases · e5187c36
      hans@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68903
      
      Reviewed by Steve Block.
      
      Source/WebCore:
      
      Add LevelDBDatabase::openInMemory() which uses leveldb::NewMemEnv()
      to create in-memory LevelDB databases.
      
      Use this in IDBLeveLDBBackingStore::open() when the caller passes in
      an empty file path.
      This happens in Chromium's incognito mode, and when running layout
      tests.
      
      Fix IDBSQLiteBackingStore::backingStoreExists() so it doesn't create
      files when passed in an empty file path, but uses the in-memory mode
      instead.
      
      Existing layout tests will all be run in-memory.
      
      * platform/leveldb/LevelDBDatabase.cpp:
      (WebCore::LevelDBDatabase::~LevelDBDatabase):
      (WebCore::openDB):
      (WebCore::LevelDBDatabase::open):
      (WebCore::LevelDBDatabase::openInMemory):
      * platform/leveldb/LevelDBDatabase.h:
      * storage/IDBLevelDBBackingStore.cpp:
      (WebCore::IDBLevelDBBackingStore::open):
      * storage/IDBSQLiteBackingStore.cpp:
      (WebCore::IDBSQLiteBackingStore::backingStoreExists):
      
      Source/WebKit/chromium:
      
      Don't fall back to SQLite or use a temporary dir for in-memory
      databases (Incognito and layout tests); LevelDB supports in-memory
      databases now.
      
      * public/WebIDBFactory.h:
      * src/WebIDBFactoryImpl.cpp:
      (WebKit::WebIDBFactoryImpl::getDatabaseNames):
      (WebKit::WebIDBFactoryImpl::open):
      
      Tools:
      
      Remove the temporary dir that was necessary before LevelDB supported
      in-memory databases.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      * DumpRenderTree/chromium/TestShell.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5187c36
  12. 27 Sep, 2011 2 commits
  13. 16 Sep, 2011 1 commit
    • jochen@chromium.org's avatar
      Source/WebCore: Rename FrameLoaderClient::allowImages to... · 3eb74cd7
      jochen@chromium.org authored
      Source/WebCore: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      This will allow embedders to block images based on where the image is loaded from, instead of just blocking all images in a given frame.
      
      Reviewed by Adam Barth.
      
      * html/ImageDocument.cpp:
      (WebCore::ImageDocumentParser::appendBytes):
      * loader/FrameLoaderClient.h:
      (WebCore::FrameLoaderClient::allowImage):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::requestImage):
      
      Source/WebKit/chromium: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * public/WebPermissionClient.h:
      (WebKit::WebPermissionClient::allowImage):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::allowImage):
      * src/FrameLoaderClientImpl.h:
      
      Tools: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/WebPermissions.cpp:
      (WebPermissions::allowImage):
      * DumpRenderTree/chromium/WebPermissions.h:
      
      LayoutTests: Add tests for FrameLoaderClient::allowImage.
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * http/tests/permissionclient/resources/bostin.gif:
      * http/tests/permissionclient/resources/redir.php:
      * platform/chromium/permissionclient/image-permissions-expected.txt:
      * platform/chromium/permissionclient/image-permissions.html:
      * platform/http/tests/permissionclient/image-permissions-expected.txt:
      * platform/http/tests/permissionclient/image-permissions.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3eb74cd7
  14. 15 Sep, 2011 1 commit
  15. 17 Aug, 2011 1 commit
    • chang.shu@nokia.com's avatar
      2011-08-16 Chang Shu <cshu@webkit.org> · 0999712a
      chang.shu@nokia.com authored
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              New tests will be added when function reset is implemented.
      
              Added framework code in WebCoreTestSupport. The real implementation of
              Internals::reset() depends on the need from the settings that require a reset.
      
              * testing/Internals.cpp:
              (WebCore::Internals::reset):
              * testing/Internals.h:
              * testing/js/WebCoreTestSupport.cpp:
              (WebCoreTestSupport::resetInternalsObject):
              * testing/js/WebCoreTestSupport.h:
              * testing/v8/WebCoreTestSupport.cpp:
              (WebCoreTestSupport::resetInternalsObject):
              * testing/v8/WebCoreTestSupport.h:
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added framework code in WebKit.
      
              * public/WebTestingSupport.h:
              * src/WebTestingSupport.cpp:
              (WebKit::WebTestingSupport::resetInternalsObject):
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added framework code in WebKit.
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::resetInternalsObject):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      2011-08-16  Chang Shu  <cshu@webkit.org>
      
              Support reset in WebCore::Internals
              https://bugs.webkit.org/show_bug.cgi?id=66307
      
              Reviewed by Dimitri Glazkov.
      
              Added call to resetInternalsObject in DRT.
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetTestController):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetWebViewToConsistentStateBeforeTesting):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::resetSettings):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0999712a
  16. 03 Aug, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Implement EventSender.scalePageBy() · 66589daf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=58013
      
      Patch by Kentaro Hara <haraken@google.com> on 2011-08-03
      Reviewed by Darin Fisher.
      
      Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
      and then sets a scroll position to (x, y). Enabled the tests that had been waiting
      for the implementation of EventSender.scalePageBy(f, x, y).
      
      Source/WebKit/chromium:
      
      Tests: compositing/scaling/tiled-layer-recursion.html
             fast/repaint/scale-page-shrink.html
             fast/dom/Element/scale-page-client-rects.html
             fast/dom/Range/scale-page-client-rects.html
             fast/events/scroll-in-scaled-page-with-overflow-hidden.html
             fast/dom/Element/scale-page-bounding-client-rect.html
             fast/dom/Range/scale-page-bounding-client-rect.html
      
      * public/WebView.h:
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
      * src/WebViewImpl.h:
      
      Tools:
      
      Tests: compositing/scaling/tiled-layer-recursion.html
             fast/repaint/scale-page-shrink.html
             fast/dom/Element/scale-page-client-rects.html
             fast/dom/Range/scale-page-client-rects.html
             fast/events/scroll-in-scaled-page-with-overflow-hidden.html
             fast/dom/Element/scale-page-bounding-client-rect.html
             fast/dom/Range/scale-page-bounding-client-rect.html
      
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::EventSender): Added bindings for scalePageBy().
      (EventSender::scalePageBy): A wrapper method for scalePage() in WebView.
      * DumpRenderTree/chromium/EventSender.h:
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::resetTestController): Resets the scale factor to 1.
      
      LayoutTests:
      
      * platform/chromium-linux/compositing/scaling/tiled-layer-recursion-expected.png: Added.
      * platform/chromium-linux/fast/repaint/scale-page-shrink-expected.png: Added.
      * platform/chromium-linux/fast/repaint/scale-page-shrink-expected.txt: Added.
      * platform/chromium-mac/fast/dom/Element/scale-page-bounding-client-rect-expected.txt: Removed.
      * platform/chromium-mac/fast/dom/Range/scale-page-bounding-client-rect-expected.txt: Removed.
      * platform/chromium-win/fast/dom/Element/scale-page-bounding-client-rect-expected.txt: Removed.
      * platform/chromium-win/fast/dom/Element/scale-page-client-rects-expected.txt: Removed.
      * platform/chromium-win/fast/dom/Range/scale-page-bounding-client-rect-expected.txt: Removed.
      * platform/chromium-win/fast/dom/Range/scale-page-client-rects-expected.txt: Removed.
      * platform/chromium/test_expectations.txt: Enabled one test. Enabled two tests for chromium-linux.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66589daf
  17. 26 Jul, 2011 1 commit
  18. 25 Jul, 2011 1 commit
    • crogers@google.com's avatar
      Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing · 3405c632
      crogers@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=65039
      
      Reviewed by Tony Chang.
      
      Source/WebKit/chromium: 
      
      * WebKit.gyp:
      * public/WebArrayBufferView.h: Added.
      (WebKit::WebArrayBufferView::~WebArrayBufferView):
      (WebKit::WebArrayBufferView::WebArrayBufferView):
      * public/WebBindings.h:
      * src/WebArrayBufferView.cpp: Added.
      (WebKit::WebArrayBufferView::assign):
      (WebKit::WebArrayBufferView::reset):
      (WebKit::WebArrayBufferView::baseAddress):
      (WebKit::WebArrayBufferView::byteOffset):
      (WebKit::WebArrayBufferView::byteLength):
      (WebKit::WebArrayBufferView::WebArrayBufferView):
      (WebKit::WebArrayBufferView::operator=):
      (WebKit::WebArrayBufferView::operator PassRefPtr<ArrayBufferView>):
      * src/WebBindings.cpp:
      (WebKit::getArrayBufferViewImpl):
      (WebKit::WebBindings::getArrayBufferView):
      
      Tools: 
      
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (LayoutTestController::setAudioData):
      * DumpRenderTree/chromium/LayoutTestController.h:
      (LayoutTestController::audioData):
      * DumpRenderTree/chromium/TestEventPrinter.cpp:
      (DRTPrinter::handleAudioHeader):
      (TestShellPrinter::handleAudioHeader):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::dump):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3405c632
  19. 12 Jul, 2011 1 commit
  20. 30 Jun, 2011 1 commit
    • hans@chromium.org's avatar
      2011-06-28 Hans Wennborg <hans@chromium.org> · 8b54bfa0
      hans@chromium.org authored
              Reviewed by Tony Chang.
      
              IndexedDB: Prepare for running layout tests with LevelDB
              https://bugs.webkit.org/show_bug.cgi?id=63593
      
              Migration of data from SQLite to LevelDB must be done before the
              m_backingStore map is checked for an open LevelDB, because if a
              previous layout test has used LevelDB, it will be in the
              m_backingStore map.
      
              Covered by existing layout tests.
      
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::IDBFactoryBackendImpl::open):
      2011-06-28  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Tony Chang.
      
              IndexedDB: Prepare for running layout tests with LevelDB
              https://bugs.webkit.org/show_bug.cgi?id=63593
      
              WebIDBFactory should decide what DefaultBackingStore means.
              Also fix handling of layout test and incognito mode properly.
      
              * src/WebIDBFactoryImpl.cpp:
              (WebKit::WebIDBFactoryImpl::open):
      2011-06-28  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Tony Chang.
      
              IndexedDB: Prepare for running layout tests with LevelDB
              https://bugs.webkit.org/show_bug.cgi?id=63593
      
              The TestShell must always provide a temporary folder for LevelDB,
              not just when the backing store type is overridden.
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setOverrideIndexedDBBackingStore):
              (LayoutTestController::clearAllDatabases):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
              * DumpRenderTree/chromium/TestShell.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b54bfa0
  21. 24 Jun, 2011 1 commit
  22. 16 Jun, 2011 1 commit
  23. 13 Jun, 2011 2 commits
  24. 02 Jun, 2011 3 commits
    • dglazkov@chromium.org's avatar
      2011-06-02 Dimitri Glazkov <dglazkov@chromium.org> · b4a8037d
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * fast/dom/Window/script-tests/window-property-descriptors.js: Added internals object to list of properties to skip.
              * fast/dom/Window/window-properties.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance-2.js: Ditto.
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/harness/internals-object-expected.txt: Added.
              * fast/harness/internals-object.html: Added.
              * platform/gtk/Skipped: Skipped the newly added test until platform supports window.internals.
              * platform/mac-wk2/Skipped: Ditto.
              * platform/qt/Skipped: Ditto.
              * platform/win/Skipped: Ditto.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Test: fast/harness/internals-object.html
      
              * Configurations/WebCoreTestSupport.xcconfig: Added.
              * DerivedSources.make: Added support for generating from Internals.idl.
              * WebCore.gyp/WebCore.gyp: Added new webcore_test_support library.
              * WebCore.gypi: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Added WebCoreTestSupport library.
              * testing/Internals.cpp: Added.
              * testing/Internals.h: Added.
              * testing/Internals.idl: Added.
              * testing/js/WebCoreTestSupport.cpp: Added.
              * testing/js/WebCoreTestSupport.h: Added.
              * testing/v8/WebCoreTestSupport.cpp: Added.
              * testing/v8/WebCoreTestSupport.h: Added.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * WebKit.gyp: Added linking new webkit_test_support library.
              * public/WebTestingSupport.h: Added.
              * src/WebTestingSupport.cpp: Added.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::bindJSObjectsToWindow): Added injection code.
              * DumpRenderTree/mac/FrameLoadDelegate.mm:
              (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4a8037d
    • dglazkov@chromium.org's avatar
      2011-06-02 Dimitri Glazkov <dglazkov@chromium.org> · 1c4f2c60
      dglazkov@chromium.org authored
              Unreviewed, rolling out r87926.
              http://trac.webkit.org/changeset/87926
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Fails to find WebCoreTestSupport.dylib on bots.
      
              * fast/dom/Window/script-tests/window-property-descriptors.js:
              * fast/dom/Window/window-properties.html:
              * fast/dom/script-tests/prototype-inheritance-2.js:
              * fast/dom/script-tests/prototype-inheritance.js:
              * fast/harness/internals-object-expected.txt: Removed.
              * fast/harness/internals-object.html: Removed.
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Unreviewed, rolling out r87926.
              http://trac.webkit.org/changeset/87926
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Fails to find WebCoreTestSupport.dylib on bots.
      
              * Configurations/WebCore.xcconfig:
              * Configurations/WebCoreTestSupport.xcconfig: Removed.
              * DerivedSources.make:
              * WebCore.exp.in:
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMWrapper.cpp:
              (WebCore::JSDOMWrapper::~JSDOMWrapper):
              * bindings/js/JSDOMWrapper.h:
              * testing/Internals.cpp: Removed.
              * testing/Internals.h: Removed.
              * testing/Internals.idl: Removed.
              * testing/js/WebCoreTestSupport.cpp: Removed.
              * testing/js/WebCoreTestSupport.h: Removed.
              * testing/v8/WebCoreTestSupport.cpp: Removed.
              * testing/v8/WebCoreTestSupport.h: Removed.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Unreviewed, rolling out r87926.
              http://trac.webkit.org/changeset/87926
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Fails to find WebCoreTestSupport.dylib on bots.
      
              * WebKit.gyp:
              * public/WebTestingSupport.h: Removed.
              * src/WebTestingSupport.cpp: Removed.
      2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Unreviewed, rolling out r87926.
              http://trac.webkit.org/changeset/87926
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Fails to find WebCoreTestSupport.dylib on bots.
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::bindJSObjectsToWindow):
              * DumpRenderTree/mac/FrameLoadDelegate.mm:
              (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c4f2c60
    • dglazkov@chromium.org's avatar
      2011-05-21 Dimitri Glazkov <dglazkov@chromium.org> · d3bb8613
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * fast/dom/Window/script-tests/window-property-descriptors.js: Added internals object to list of properties to skip.
              * fast/dom/Window/window-properties.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance-2.js: Ditto.
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/harness/internals-object-expected.txt: Added.
              * fast/harness/internals-object.html: Added.
              * platform/gtk/Skipped: Skipped the newly added test until platform supports window.internals.
              * platform/mac-wk2/Skipped: Ditto.
              * platform/qt/Skipped: Ditto.
              * platform/win/Skipped: Ditto.
      2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              Test: fast/harness/internals-object.html
      
              * Configurations/WebCoreTestSupport.xcconfig: Added.
              * DerivedSources.make: Added support for generating from Internals.idl.
              * WebCore.gyp/WebCore.gyp: Added new webcore_test_support library.
              * WebCore.gypi: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Added WebCoreTestSupport library.
              * testing/Internals.cpp: Added.
              * testing/Internals.h: Added.
              * testing/Internals.idl: Added.
              * testing/js/WebCoreTestSupport.cpp: Added.
              * testing/js/WebCoreTestSupport.h: Added.
              * testing/v8/WebCoreTestSupport.cpp: Added.
              * testing/v8/WebCoreTestSupport.h: Added.
      2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * WebKit.gyp: Added linking new webkit_test_support library.
              * public/WebTestingSupport.h: Added.
              * src/WebTestingSupport.cpp: Added.
      2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add build logistics and plumbing for window.internals object.
              https://bugs.webkit.org/show_bug.cgi?id=60313
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::bindJSObjectsToWindow): Added injection code.
              * DumpRenderTree/mac/FrameLoadDelegate.mm:
              (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3bb8613
  25. 27 May, 2011 1 commit
    • jochen@chromium.org's avatar
      2011-05-27 Jochen Eisinger <jochen@chromium.org> · d1b83073
      jochen@chromium.org authored
              Reviewed by Adam Barth.
      
              Check access policy on all storage operations
              https://bugs.webkit.org/show_bug.cgi?id=61581
      
              * platform/chromium/permissionclient/storage-permission-expected.txt: Added.
              * platform/chromium/permissionclient/storage-permission.html: Added.
      2011-05-27  Jochen Eisinger  <jochen@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add Frame parameter to all StorageArea methods. The chromium
              embedder uses the Frame as context to decide whether or not
              to allow usage of the storage API.
              https://bugs.webkit.org/show_bug.cgi?id=61581
      
              Test: platform/chromium/permissionclient/storage-permission.html
      
              * storage/Storage.cpp:
              (WebCore::Storage::length):
              (WebCore::Storage::key):
              (WebCore::Storage::getItem):
              (WebCore::Storage::contains):
              * storage/StorageArea.h:
              * storage/StorageAreaImpl.cpp:
              (WebCore::StorageAreaImpl::length):
              (WebCore::StorageAreaImpl::key):
              (WebCore::StorageAreaImpl::getItem):
              (WebCore::StorageAreaImpl::contains):
              * storage/StorageAreaImpl.h:
      2011-05-27  Jochen Eisinger  <jochen@chromium.org>
      
              Reviewed by Adam Barth.
      
              Check access policy on all storage operations
              https://bugs.webkit.org/show_bug.cgi?id=61581
      
              * src/StorageAreaProxy.cpp:
              (WebCore::StorageAreaProxy::length):
              (WebCore::StorageAreaProxy::key):
              (WebCore::StorageAreaProxy::getItem):
              (WebCore::StorageAreaProxy::setItem):
              (WebCore::StorageAreaProxy::removeItem):
              (WebCore::StorageAreaProxy::clear):
              (WebCore::StorageAreaProxy::contains):
              (WebCore::StorageAreaProxy::canAccessStorage):
              * src/StorageAreaProxy.h:
              * src/WebStorageAreaImpl.cpp:
              (WebKit::WebStorageAreaImpl::length):
              (WebKit::WebStorageAreaImpl::key):
              (WebKit::WebStorageAreaImpl::getItem):
      2011-05-27  Jochen Eisinger  <jochen@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add layoutTestController.setStorageAllowed() to control whether access
              to the localStorage API is enabled via the WebPermissionClient
              https://bugs.webkit.org/show_bug.cgi?id=61581
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setStorageAllowed):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
              (TestShell::createNewWindow):
              * DumpRenderTree/chromium/TestShell.h:
              * DumpRenderTree/chromium/WebPermissions.h: Added.
              (WebPermissions::WebPermissions):
              (WebPermissions::allowStorage):
              (WebPermissions::setStorageAllowed):
              (WebPermissions::reset):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1b83073
  26. 20 May, 2011 1 commit
    • tkent@chromium.org's avatar
      2011-05-20 Kent Tamura <tkent@chromium.org> · 1ec75404
      tkent@chromium.org authored
              Reviewed by Ryosuke Niwa.
      
              Fix style errors in DumpRenderTree/chromium/.
              https://bugs.webkit.org/show_bug.cgi?id=61172
      
              * DumpRenderTree/chromium/CppBoundClass.cpp:
              (CppBoundClass::getAsCppVariant):
              (CppBoundClass::bindToJavascript):
              * DumpRenderTree/chromium/CppBoundClass.h:
              (CppBoundClass::GetterCallback::~GetterCallback):
              (CppBoundClass::CppBoundClass):
              (CppBoundClass::Callback::~Callback):
              (CppBoundClass::MemberCallback::MemberCallback):
              (CppBoundClass::MemberCallback::~MemberCallback):
              (CppBoundClass::MemberGetterCallback::MemberGetterCallback):
              (CppBoundClass::MemberGetterCallback::~MemberGetterCallback):
              * DumpRenderTree/chromium/CppVariant.h:
              * DumpRenderTree/chromium/DRTDevToolsAgent.h:
              (DRTDevToolsAgent::~DRTDevToolsAgent):
              * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
              (DRTDevToolsClient::sendFrontendLoaded):
              * DumpRenderTree/chromium/DRTDevToolsClient.h:
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
              * DumpRenderTree/chromium/EventSender.cpp:
              (SavedEvent::SavedEvent):
              (EventSender::EventSender):
              (EventSender::keyDown):
              * DumpRenderTree/chromium/EventSender.h:
              * DumpRenderTree/chromium/ImageDiff.cpp:
              (Image::Image):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::WorkQueue::reset):
              (WorkItemBackForward::WorkItemBackForward):
              (WorkItemLoadingScript::WorkItemLoadingScript):
              (WorkItemNonLoadingScript::WorkItemNonLoadingScript):
              (WorkItemLoad::WorkItemLoad):
              (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
              (LayoutTestController::pathToLocalResource):
              * DumpRenderTree/chromium/LayoutTestController.h:
              (LayoutTestController::WorkItem::~WorkItem):
              (LayoutTestController::WorkQueue::WorkQueue):
              * DumpRenderTree/chromium/MockSpellCheck.cpp:
              (MockSpellCheck::MockSpellCheck):
              (MockSpellCheck::~MockSpellCheck):
              * DumpRenderTree/chromium/MockSpellCheck.h:
              * DumpRenderTree/chromium/NotificationPresenter.h:
              (NotificationPresenter::NotificationPresenter):
              * DumpRenderTree/chromium/Task.cpp:
              (WebTask::WebTask):
              * DumpRenderTree/chromium/Task.h:
              (TaskList::TaskList):
              * DumpRenderTree/chromium/TestEventPrinter.cpp:
              (DRTPrinter::DRTPrinter):
              (TestShellPrinter::TestShellPrinter):
              * DumpRenderTree/chromium/TestNavigationController.cpp:
              (TestNavigationEntry::TestNavigationEntry):
              (TestNavigationEntry::~TestNavigationEntry):
              (TestNavigationController::TestNavigationController):
              (TestNavigationController::reload):
              (TestNavigationController::loadEntry):
              (TestNavigationController::didNavigateToEntry):
              * DumpRenderTree/chromium/TestNavigationController.h:
              (TestShellExtraData::TestShellExtraData):
              * DumpRenderTree/chromium/TestShell.cpp:
              (dumpHistoryItem):
              * DumpRenderTree/chromium/TestShell.h:
              (TestParams::TestParams):
              * DumpRenderTree/chromium/TestShellWin.cpp:
              (TestShell::waitTestFinished):
              * DumpRenderTree/chromium/TestWebWorker.h:
              (TestWebWorker::startWorkerContext):
              (TestWebWorker::terminateWorkerContext):
              (TestWebWorker::postMessageToWorkerContext):
              (TestWebWorker::clientDestroyed):
              (TestWebWorker::postMessageToWorkerObject):
              (TestWebWorker::postExceptionToWorkerObject):
              (TestWebWorker::postConsoleMessageToWorkerObject):
              (TestWebWorker::confirmMessageFromWorkerObject):
              (TestWebWorker::reportPendingActivity):
              (TestWebWorker::workerContextClosed):
              (TestWebWorker::~TestWebWorker):
              * DumpRenderTree/chromium/TextInputController.cpp:
              * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
              * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
              * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
              (WebThemeEngineDRTWin::paintButton):
              (WebThemeEngineDRTWin::paintMenuList):
              (WebThemeEngineDRTWin::paintTrackbar):
              * DumpRenderTree/chromium/WebThemeEngineDRTWin.h:
              (WebThemeEngineDRTWin::WebThemeEngineDRTWin):
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::navigate):
              (WebViewHost::updateSessionHistory):
              (WebViewHost::paintInvalidatedRegion):
              * DumpRenderTree/chromium/WebViewHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ec75404
  27. 19 May, 2011 2 commits
  28. 04 May, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-05-04 Justin Novosad <junov@chromium.org> · 358e9231
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [Chromium] Add gpu acceleration flags to DumpRenderTree
              https://bugs.webkit.org/show_bug.cgi?id=60168
              Adding support for command line flags
              enable-accelerated-2d-canvas an
              enable-accelerated-drawing in DumpRenderTree.
      
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
              (TestShell::resetWebSettings):
              * DumpRenderTree/chromium/TestShell.h:
              (TestShell::setLegacyAccelerated2dCanvasEnabled):
              (TestShell::setAcceleratedDrawingEnabled):
              * DumpRenderTree/chromium/WebPreferences.cpp:
              (WebPreferences::reset):
              (WebPreferences::applyTo):
              * DumpRenderTree/chromium/WebPreferences.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      358e9231
  29. 26 Apr, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-04-26 Adam Barth <abarth@webkit.org> · f179d818
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              DumpRenderTree/chromium should play nice with strict OwnPtrs
              https://bugs.webkit.org/show_bug.cgi?id=59458
      
              All these changes are pretty straight forward.
      
              * DumpRenderTree/chromium/CppBoundClass.cpp:
              (GetterPropertyCallback::GetterPropertyCallback):
              (CppBoundClass::bindGetterCallback):
              * DumpRenderTree/chromium/CppBoundClass.h:
              (CppBoundClass::bindProperty):
              (CppBoundClass::bindFallbackCallback):
              (CppBoundClass::bindFallbackMethod):
              * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
              (DRTDevToolsClient::DRTDevToolsClient):
              * DumpRenderTree/chromium/TestEventPrinter.cpp:
              (TestEventPrinter::createDRTPrinter):
              (TestEventPrinter::createTestShellPrinter):
              * DumpRenderTree/chromium/TestEventPrinter.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
              (TestShell::createMainWindow):
              (TestShell::createDRTDevToolsClient):
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::geolocationClientMock):
              (WebViewHost::speechInputController):
              (WebViewHost::deviceOrientationClientMock):
              (WebViewHost::reset):
              (WebViewHost::navigate):
              (WebViewHost::setPendingExtraData):
              (WebViewHost::canvas):
              * DumpRenderTree/chromium/WebViewHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f179d818
  30. 20 Apr, 2011 1 commit
  31. 14 Apr, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-04-14 Alok Priyadarshi <alokp@chromium.org> · 4706ce29
      commit-queue@webkit.org authored
              Reviewed by James Robinson.
      
              Remove dependency on chromium skia::PlatformCanvas
              https://bugs.webkit.org/show_bug.cgi?id=57563
      
              This patch does not change any functionality, just the type of object skia::PlatformCanvas -> SkCanvas. The object is still being created by a factory method skia::CreateBitmapCanvas defined in Chromium. We will eventually define an API that every port using skia will define.
      
              * platform/graphics/chromium/FontChromiumWin.cpp:
              (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::initializeForGDI):
              (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::~TransparencyAwareFontPainter):
              (WebCore::Font::drawComplexText):
              * platform/graphics/chromium/ImageBufferDataSkia.h:
              * platform/graphics/chromium/LayerChromium.h:
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/PlatformCanvas.cpp:
              (WebCore::PlatformCanvas::resize):
              * platform/graphics/chromium/PlatformCanvas.h:
              * platform/graphics/chromium/TransparencyWin.cpp:
              (WebCore::TransparencyWin::compositeTextComposite):
              (WebCore::TransparencyWin::makeLayerOpaque):
              * platform/graphics/skia/ImageBufferSkia.cpp:
              (WebCore::ImageBuffer::ImageBuffer):
              * platform/graphics/skia/ImageSkia.cpp:
              (WebCore::paintSkBitmap):
              (WebCore::Image::drawPattern):
              * platform/graphics/skia/PlatformContextSkia.cpp:
              (WebCore::PlatformContextSkia::PlatformContextSkia):
              (WebCore::PlatformContextSkia::setCanvas):
              (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
              * platform/graphics/skia/PlatformContextSkia.h:
              (WebCore::PlatformContextSkia::canvas):
              (WebCore::PlatformContextSkia::printing):
              (WebCore::PlatformContextSkia::setPrinting):
      2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
      
              Reviewed by James Robinson.
      
              Remove dependency on chromium skia::PlatformCanvas
              https://bugs.webkit.org/show_bug.cgi?id=57563
      
              * public/WebCanvas.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::printPage):
              * tests/TransparencyWinTest.cpp:
              (WebCore::drawNativeRect):
              (WebCore::getPixelAt):
              (WebCore::clearTopLayerAlphaChannel):
              (WebCore::clearTopLayerAlphaPixel):
              (WebCore::TEST):
      2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
      
              Reviewed by James Robinson.
      
              Remove dependency on chromium skia::PlatformCanvas
              https://bugs.webkit.org/show_bug.cgi?id=57563
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (makeCanvasOpaque):
              (TestShell::dumpImage):
              * DumpRenderTree/chromium/TestShell.h:
              * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
              (WebThemeControlDRTWin::WebThemeControlDRTWin):
              (WebThemeControlDRTWin::draw):
              (WebThemeControlDRTWin::drawTextField):
              (WebThemeControlDRTWin::drawProgressBar):
              * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::canvas):
              * DumpRenderTree/chromium/WebViewHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4706ce29
  32. 30 Mar, 2011 1 commit
    • jam@chromium.org's avatar
      2011-03-29 John Abd-El-Malek <jam@chromium.org> · 755b87b4
      jam@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
              https://bugs.webkit.org/show_bug.cgi?id=57396
      
              * DEPS:
              * public/WebFrame.h:
              * public/WebView.h:
              * public/WebViewClient.h:
              (WebKit::WebViewClient::handleCurrentKeyboardEvent):
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::checkSpellingOfString):
              (WebKit::EditorClientImpl::requestCheckingOfString):
              (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
              (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
              (WebKit::EditorClientImpl::showSpellingUI):
              (WebKit::EditorClientImpl::spellingUIIsShowing):
              * src/WebViewImpl.cpp:
              (WebKit::WebView::create):
              * src/WebViewImpl.h:
              * src/WebWorkerBase.cpp:
              (WebKit::WebWorkerBase::initializeLoader):
              * tests/PopupMenuTest.cpp:
              (WebKit::SelectPopupMenuTest::SetUp):
              * tests/WebFrameTest.cpp:
              (WebKit::TEST_F):
              * tests/WebPageSerializerTest.cpp:
              (WebKit::WebPageSerializerTest::SetUp):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      755b87b4
  33. 28 Mar, 2011 1 commit
  34. 21 Mar, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-03-21 Daniel Sievers <sievers@google.com> · 4eab00b5
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * WebCore.exp.in:
              * WebCore.order:
              * page/Frame.cpp:
              (WebCore::Frame::layerTreeAsText):
              * page/Frame.h:
              * rendering/RenderLayerCompositor.cpp:
              (WebCore::RenderLayerCompositor::layerTreeAsText):
              * rendering/RenderLayerCompositor.h:
      2011-03-21  Daniel Sievers  <sievers@google.com>
      
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::renderTreeAsText):
              (WebKit::WebFrameImpl::layerTreeAsText):
              * src/WebFrameImpl.h:
      2011-03-21  Daniel Sievers  <sievers@google.com>
      
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::layerTreeAsText):
              * DumpRenderTree/chromium/LayoutTestController.h:
              (LayoutTestController::setShowDebugLayerTree):
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::runFileTest):
              (TestShell::dump):
              * DumpRenderTree/chromium/TestShell.h:
              (TestParams::TestParams):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4eab00b5