1. 19 Nov, 2011 17 commits
    • ojan@chromium.org's avatar
      Modify dashboard_base.js to optionally accept version 4 results json. · 7f791577
      ojan@chromium.org authored
      Patch by Alice Boxhall <aboxhall@chromium.org> on 2011-11-19
      Reviewed by Ojan Vafai.
      
      * TestResultServer/static-dashboards/dashboard_base.js:
      (ADD_RESULTS):
      (flattenTrie):
      * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
      (testFlattenTrie):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f791577
    • ojan@chromium.org's avatar
      Stop storing results files as jsonp in the test results server · 73f67fdb
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72814
      
      Reviewed by Adam Barth.
      
      * TestResultServer/model/jsonresults.py:
      * TestResultServer/model/jsonresults_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73f67fdb
    • ojan@chromium.org's avatar
      Remove the dependence on jsonp from more of new-run-webkit-tests and the test results server · 025a9d22
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72813
      
      Reviewed by Adam Barth.
      
      Once this lands, we can start storing pure json in the test results server and then
      we can delete the code with all the FIXMEs added here.
      
      * Scripts/webkitpy/layout_tests/controllers/manager.py:
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
      Only add jsonp for full_results.json.
      * TestResultServer/model/jsonresults.py:
      * TestResultServer/model/jsonresults_unittest.py:
      Accept pure json uploads.
      * TestResultServer/static-dashboards/dashboard_base.js:
      (appendJSONScriptElementFor):
      Use the callback parameter so that the server can start returning pure json if it's left out.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      025a9d22
    • ojan@chromium.org's avatar
      Allow json NRWT downloads to be pure json and not jsonp · 135a0399
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72809
      
      Reviewed by Adam Barth.
      
      I'm moving the server to storing and serving up raw json instead of jsonp.
      You can still get the jsonp by passing a "callback" parameter, but there's no
      need for run-webkit-tests to get jsonp when all it wants is the raw json.
      
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
      Make the wrapper stripping only happen if the json is actually wrapped.
      * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      135a0399
    • commit-queue@webkit.org's avatar
      Move gamepad to Modules/ (+ some cleanup) · 963ac560
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72785
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-11-19
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Move main files from page/ to Modules/gamepad/. #include guard the
      gamepad header inclusions in Navigator.cpp to avoid including for
      ports that do not enable GAMEPAD.
      
      * Modules/gamepad/Gamepad.cpp: Renamed from Source/WebCore/page/Gamepad.cpp.
      (WebCore::Gamepad::Gamepad):
      (WebCore::Gamepad::axes):
      (WebCore::Gamepad::buttons):
      (WebCore::Gamepad::~Gamepad):
      * Modules/gamepad/Gamepad.h: Renamed from Source/WebCore/page/Gamepad.h.
      * Modules/gamepad/Gamepad.idl: Renamed from Source/WebCore/page/Gamepad.idl.
      * Modules/gamepad/GamepadList.cpp: Renamed from Source/WebCore/page/GamepadList.cpp.
      (WebCore::GamepadList::~GamepadList):
      (WebCore::GamepadList::set):
      (WebCore::GamepadList::length):
      (WebCore::GamepadList::item):
      * Modules/gamepad/GamepadList.h: Renamed from Source/WebCore/page/GamepadList.h.
      (WebCore::GamepadList::create):
      (WebCore::GamepadList::GamepadList):
      * Modules/gamepad/GamepadList.idl: Renamed from Source/WebCore/page/GamepadList.idl.
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * page/Navigator.cpp:
      
      LayoutTests:
      
      Use standard pre/post js test harness rather than custom one.
      
      * gamepad/gamepad-api-expected.txt:
      * gamepad/gamepad-api.html:
      * gamepad/gamepad-test.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      963ac560
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r100834. · aebf9e4c
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/100834
      https://bugs.webkit.org/show_bug.cgi?id=72806
      
      this patch makes Qt run-webkit-test exit before finishing
      (Requested by igoroliveira on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-19
      
      Source/WebCore:
      
      * platform/graphics/texmap/TextureMapperNode.cpp:
      * platform/graphics/texmap/TextureMapperNode.h:
      
      Source/WebKit2:
      
      * Shared/WebCoreArgumentCoders.cpp:
      (CoreIPC::::encode):
      (CoreIPC::::decode):
      * Shared/WebCoreArgumentCoders.h:
      * Shared/WebLayerTreeInfo.cpp:
      (WebKit::WebLayerInfo::encode):
      (WebKit::WebLayerInfo::decode):
      * Shared/WebLayerTreeInfo.h:
      * UIProcess/LayerTreeHostProxy.h:
      * UIProcess/qt/LayerTreeHostProxyQt.cpp:
      (WebKit::LayerTreeHostProxy::LayerTreeHostProxy):
      (WebKit::LayerTreeHostProxy::paintToCurrentGLContext):
      (WebKit::LayerTreeHostProxy::syncLayerParameters):
      * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
      (WebCore::WebGraphicsLayer::addAnimation):
      (WebCore::WebGraphicsLayer::pauseAnimation):
      (WebCore::WebGraphicsLayer::removeAnimation):
      (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aebf9e4c
    • commit-queue@webkit.org's avatar
      Remove WebCore/ForwardingHeaders/runtime/JSObjectWithGlobalObject.h because · d1c91bbc
      commit-queue@webkit.org authored
      JSObjectWithGlobalObject.h has been removed.
      https://bugs.webkit.org/show_bug.cgi?id=72794
      
      r94701 removed JSObjectWithGlobalObject.h.
      
      Patch by Huang Dongsung <luxtella@company100.net> on 2011-11-19
      Reviewed by Oliver Hunt.
      
      * ForwardingHeaders/runtime/JSObjectWithGlobalObject.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1c91bbc
    • vsevik@chromium.org's avatar
      Web Inspector:[protocol] actual JSON messages do not conform to Inspector.json... · 8fd007d2
      vsevik@chromium.org authored
      Web Inspector:[protocol] actual JSON messages do not conform to Inspector.json in InspectorApplicationCacheAgent.cpp
      https://bugs.webkit.org/show_bug.cgi?id=72734
      
      Reviewed by Timothy Hatcher.
      
      * inspector/Inspector.json:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fd007d2
    • commit-queue@webkit.org's avatar
      REGRESSION(r98542): Chromium: CSS text is rendered on page · d472edc0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71703
      
      Patch by David Barr <davidbarr@chromium.org> on 2011-11-19
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
      
      Test: fast/css/style-tag-display-none.html
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::matchUARules):
      
      LayoutTests:
      
      * fast/css/style-tag-display-none-expected.txt: Added.
      * fast/css/style-tag-display-none.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d472edc0
    • nduca@chromium.org's avatar
      Unreviewed, rolling out r100854. · 4e7edefa
      nduca@chromium.org authored
      http://trac.webkit.org/changeset/100854
      
      Rollout DEPS roll. Made chromium bots cry.
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e7edefa
    • nduca@chromium.org's avatar
      Unreviewed. Rolled DEPS 109696->110838 · 1d25a43e
      nduca@chromium.org authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d25a43e
    • hausmann@webkit.org's avatar
      [Qt] Add the map file symbols export as a dependency of the final qmake target. · 7ff6430b
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72740
      
      Patch by Alexis Menard <alexis.menard@openbossa.org> on 2011-11-19
      Reviewed by Simon Hausmann.
      
      Add the symbols file part of the target dependencies.
      
      * Source/api.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ff6430b
    • jcivelli@chromium.org's avatar
      When loading a MHTML document, make sure we set the base URL before · 4b94add6
      jcivelli@chromium.org authored
      we notify the frame was committed (so the document has the right base
      URL when the notification happens).
      https://bugs.webkit.org/show_bug.cgi?id=72788
      
      Reviewed by Adam Barth.
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::receivedFirstData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b94add6
    • abarth@webkit.org's avatar
      Integrate Source/WTF with the Chromium build system · 7c69cf10
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72790
      
      Reviewed by Eric Seidel.
      
      Source/WebCore: 
      
      Add a dependency on the new WTF.
      
      * WebCore.gyp/WebCore.gyp:
      
      Source/WebKit/chromium: 
      
      Add a dependency on the new WTF.
      
      * WebKit.gyp:
      
      Source/WTF: 
      
      Rename the target in this file to "newwtf" to avoid naming conflicts.
      
      * WTF.gyp/WTF.gyp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c69cf10
    • abarth@webkit.org's avatar
      WTF should have an Xcode project · 4afbbc12
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71752
      
      Patch by Mark Rowe <mrowe@apple.com> on 2011-11-19
      Reviewed by Adam Barth.
      
      This adds an Xcode project that includes only Stub.cpp and Stub.h.
      They’re built in to a library at the appropriate path for each
      configuration (WebKitBuild/{Debug,Release}/libWTF.a and
      /usr/local/lib/libWTF.a) and headers are installed in to the
      appropriate location (WebKitBuild/{Debug,Release}/usr/local/include/wtf
      and /usr/local/include/wtf). I tested building WTF in this project and
      everything appears to build except for DateMath.cpp (due to bug 71747).
      I have not yet done any work on making JavaScriptCore and other
      projects use the built products of this new project.
      
      * Configurations: Added.
      * Configurations/Base.xcconfig: Copied from Source/JavaScriptCore/Configurations/Base.xcconfig.
      * Configurations/CompilerVersion.xcconfig: Copied from Source/JavaScriptCore/Configurations/CompilerVersion.xcconfig.
      * Configurations/DebugRelease.xcconfig: Copied from Source/JavaScriptCore/Configurations/DebugRelease.xcconfig.
      * Configurations/WTF.xcconfig: Copied from Source/WebKit2/Configurations/Shim.xcconfig.
      * WTF.xcodeproj: Added.
      * WTF.xcodeproj/project.pbxproj: Added.
      * config.h: Copied from Source/JavaScriptCore/config.h.
      * icu: Added.
      * icu/LICENSE: Copied from Source/JavaScriptCore/icu/LICENSE.
      * icu/README: Copied from Source/JavaScriptCore/icu/README.
      * icu/unicode: Added.
      * icu/unicode/parseerr.h: Copied from Source/JavaScriptCore/icu/unicode/parseerr.h.
      * icu/unicode/platform.h: Copied from Source/JavaScriptCore/icu/unicode/platform.h.
      * icu/unicode/putil.h: Copied from Source/JavaScriptCore/icu/unicode/putil.h.
      * icu/unicode/uchar.h: Copied from Source/JavaScriptCore/icu/unicode/uchar.h.
      * icu/unicode/ucnv.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv.h.
      * icu/unicode/ucnv_err.h: Copied from Source/JavaScriptCore/icu/unicode/ucnv_err.h.
      * icu/unicode/ucol.h: Copied from Source/JavaScriptCore/icu/unicode/ucol.h.
      * icu/unicode/uconfig.h: Copied from Source/JavaScriptCore/icu/unicode/uconfig.h.
      * icu/unicode/uenum.h: Copied from Source/JavaScriptCore/icu/unicode/uenum.h.
      * icu/unicode/uiter.h: Copied from Source/JavaScriptCore/icu/unicode/uiter.h.
      * icu/unicode/uloc.h: Copied from Source/JavaScriptCore/icu/unicode/uloc.h.
      * icu/unicode/umachine.h: Copied from Source/JavaScriptCore/icu/unicode/umachine.h.
      * icu/unicode/unorm.h: Copied from Source/JavaScriptCore/icu/unicode/unorm.h.
      * icu/unicode/urename.h: Copied from Source/JavaScriptCore/icu/unicode/urename.h.
      * icu/unicode/uscript.h: Copied from Source/JavaScriptCore/icu/unicode/uscript.h.
      * icu/unicode/uset.h: Copied from Source/JavaScriptCore/icu/unicode/uset.h.
      * icu/unicode/ustring.h: Copied from Source/JavaScriptCore/icu/unicode/ustring.h.
      * icu/unicode/utf.h: Copied from Source/JavaScriptCore/icu/unicode/utf.h.
      * icu/unicode/utf16.h: Copied from Source/JavaScriptCore/icu/unicode/utf16.h.
      * icu/unicode/utf8.h: Copied from Source/JavaScriptCore/icu/unicode/utf8.h.
      * icu/unicode/utf_old.h: Copied from Source/JavaScriptCore/icu/unicode/utf_old.h.
      * icu/unicode/utypes.h: Copied from Source/JavaScriptCore/icu/unicode/utypes.h.
      * icu/unicode/uversion.h: Copied from Source/JavaScriptCore/icu/unicode/uversion.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4afbbc12
    • commit-queue@webkit.org's avatar
      [Chromium] [WebSocket] export WebSocketChannel interface for plugins · 38cfd350
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72016
      
      Source/WebCore:
      
      Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-11-18
      Reviewed by Darin Fisher.
      
      Add a interface to send raw binary data.
      This interface is used by WebWebSocketChannel implementation
      in WebKit API.
      
      No new tests because just export a interface.
      
      * websockets/WebSocketChannel.cpp:
      (WebCore::WebSocketChannel::send):
      * websockets/WebSocketChannel.h:
      
      Source/WebKit/chromium:
      
      Add WebSocket and WebSocketClient to WebKit API.
      
      Currently, only WebSocketStreamHandle class is exported to WebKit API.
      WebSocketStreamHandle implements bi-directional communication ports.
      If plugins handles the WebSocket protocol, WebSocketChannel and
      WebSocketChannelClient must be exported as WebSocket because they are
      the classes which implement the WebSocket protocol stack.
      
      Normally, we use WebWebSocketChannel and WebWebSocketChannelClient as
      their class names. But here we use just WebSocket and WebSocketClient
      because of avoiding WebWeb prefix and class name confliction on
      header include.
      
      Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-11-18
      Reviewed by Darin Fisher.
      
      * WebKit.gyp:
      * public/WebSocket.h: Added.
      (WebKit::WebSocket::~WebSocket):
      * public/WebSocketClient.h: Added.
      (WebKit::WebSocketClient::~WebSocketClient):
      * src/WebRuntimeFeatures.cpp: Insert websockets directory to include path in order to avoid filename confliction.
      (WebKit::WebRuntimeFeatures::enableSockets): Use WebCore namespace explicitly.
      * src/WebSocket.cpp: Added.
      (WebKit::WebSocket::create):
      * src/WebSocketImpl.cpp: Added.
      (WebKit::WebSocketImpl::WebSocketImpl):
      (WebKit::WebSocketImpl::~WebSocketImpl):
      (WebKit::WebSocketImpl::connect):
      (WebKit::WebSocketImpl::subprotocol):
      (WebKit::WebSocketImpl::sendText):
      (WebKit::WebSocketImpl::sendBinary):
      (WebKit::WebSocketImpl::bufferedAmount):
      (WebKit::WebSocketImpl::close):
      (WebKit::WebSocketImpl::fail):
      (WebKit::WebSocketImpl::disconnect):
      (WebKit::WebSocketImpl::didConnect):
      (WebKit::WebSocketImpl::didReceiveMessage):
      (WebKit::WebSocketImpl::didReceiveBinaryData):
      (WebKit::WebSocketImpl::didReceiveMessageError):
      (WebKit::WebSocketImpl::didStartClosingHandshake):
      (WebKit::WebSocketImpl::didClose):
      * src/WebSocketImpl.h: Added.
      (WebKit::WebSocketImpl::isNull):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38cfd350
    • mihnea@adobe.com's avatar
      Pixel results missing for fast/regions/render-region-custom-style-mark.html · 9d875d73
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72775
      
      Reviewed by Adam Barth.
      
      * platform/mac-snowleopard/fast/regions/render-region-custom-style-mark-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d875d73
  2. 18 Nov, 2011 23 commits
    • commit-queue@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=72591 · 4623cd40
      commit-queue@webkit.org authored
      Remove document.width / document.height
      
      Patch by Vineet Chaudhary <vineet.chaudhary@motorola.com> on 2011-11-18
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Removed document.width/document.height from JS bindings,
      but keeping the same for ObjC bindings. Also it should use
      document.body.clientWidth and document.body.clientHeight instead.
      
      * html/HTMLDocument.idl:
      
      LayoutTests:
      
      As support for document.width / document.height has been
      removed it should use document.body.clientWidth and document.body.clientHeight
      respectively.
      
      * fast/dom/document-width-height-force-layout-expected.txt:
      * fast/dom/document-width-height-force-layout.html:
      Modified test case to use document.body.clientWidth and document.body.clientHeight.
      * fullscreen/video-specified-size-expected.txt:
      * fullscreen/video-specified-size.html:
      Modified test case to use document.body.clientWidth.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4623cd40
    • mrobinson@webkit.org's avatar
      Fix the GTK+ build. · 0af52ed0
      mrobinson@webkit.org authored
      * page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
      isn't enabled at compile time.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0af52ed0
    • yutak@chromium.org's avatar
      [Qt] Unreviewed, add one failing test to the Skipped list. · b802bc14
      yutak@chromium.org authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b802bc14
    • dbates@webkit.org's avatar
      Add CMake build infrastructure for the BlackBerry port · 5b4bdbbf
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72768
      
      .: 
      
      Reviewed by Adam Barth and Antonio Gomes.
      
      * Source/CMakeLists.txt: Add the BlackBerry port and support for building on QNX.
      * Source/cmake/OptionsBlackBerry.cmake: Added.
      * Source/cmake/OptionsCommon.cmake: Add QNX QCC-variant of CODE_GENERATOR_PREPROCESSOR.
        We may be able to fold this into the non-MSVC CODE_GENERATOR_PREPROCESSOR.
      
      Source/JavaScriptCore: 
      
      Reviewed by Antonio Gomes.
      
      * PlatformBlackBerry.cmake: Added.
      * shell/PlatformBlackBerry.cmake: Added.
      * wtf/PlatformBlackBerry.cmake: Added.
      
      Source/WebCore: 
      
      Reviewed by Antonio Gomes.
      
      * CMakeLists.txt: At this time the BlackBerry port doesn't support generating
        DOM bindings from the SVG IDLs. See WebKit bug #72773.
      * PlatformBlackBerry.cmake: Added.
      
      Source/WebKit: 
      
      Reviewed by Antonio Gomes.
      
      * blackberry: Added.
      * blackberry/CMakeListsBlackBerry.txt: Added.
      
      Tools: 
      
      Reviewed by Antonio Gomes.
      
      Add optional --blackberry command line argument to build-webkit to build the
      BlackBerry port.
      
      * Scripts/build-webkit:
      * Scripts/webkitdirs.pm:
      (determineBaseProductDir):
      (argumentsForConfiguration):
      (builtDylibPathForName):
      (determineIsQt):
      (isBlackBerry): Added.
      (determineIsBlackBerry): Added.
      (blackberryTargetArchitecture): Added.
      (isAppleWebKit):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b4bdbbf
    • adamk@chromium.org's avatar
      Add another isfinite assertion failure for fast/borders/ · b83adc8e
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72053
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b83adc8e
    • adamk@chromium.org's avatar
      Unreviewed, rolling out r100826. · adb798bd
      adamk@chromium.org authored
      http://trac.webkit.org/changeset/100826
      https://bugs.webkit.org/show_bug.cgi?id=72786
      
      Broke Chromium Mac build (Requested by aklein on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-18
      
      Source/WebCore:
      
      * page/ChromeClient.h:
      * page/FrameView.cpp:
      * page/FrameView.h:
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::wheelEvent):
      * platform/ScrollView.h:
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::scrollbarStyleChanged):
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::updateScrollerStyle):
      
      Source/WebKit2:
      
      * UIProcess/API/mac/PageClientImpl.h:
      * UIProcess/API/mac/PageClientImpl.mm:
      * UIProcess/PageClient.h:
      * UIProcess/WebPageProxy.cpp:
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * WebProcess/Plugins/PDF/BuiltInPDFView.cpp:
      (WebKit::BuiltInPDFView::scrollbarStyleChanged):
      * WebProcess/Plugins/PDF/BuiltInPDFView.h:
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adb798bd
    • adamk@chromium.org's avatar
      Rebaseline after r100819. · 2fca1384
      adamk@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium-mac-leopard/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.png.
      * platform/chromium-mac-snowleopard/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fca1384
    • jamesr@google.com's avatar
      Fix reviewed by lines in ChangeLogs · d529ae63
      jamesr@google.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d529ae63
    • jamesr@google.com's avatar
      [chromium] composited layers are blurry with a zoom-in page scale factor · b7cbb5ec
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71225
      
      Source/WebCore:
      
      Patch by Alpha Lam <hclam@chromium.org> on 2011-11-18
      Reviewed by James.
      
      Pass contents scale factor to the compositor such that it can:
      1. Adjust contentBounds() of the compositoer layers with content scale.
      2. Apply the content scale in the painter for texture update in better resolution.
      3. Apply the content scale to the dirty rect in CanvasLayerTextureUpdater.
      
      This change fixed blurry problem for all tiled layer types and is not limited to
      position:fixed layers.
      
      Tests: compositing/geometry/fixed-position-composited-page-scale-down.html
             compositing/geometry/fixed-position-composited-page-scale.html
             compositing/geometry/fixed-position-iframe-composited-page-scale-down.html
             compositing/geometry/fixed-position-iframe-composited-page-scale.html
             compositing/geometry/fixed-position-transform-composited-page-scale-down.html
             compositing/geometry/fixed-position-transform-composited-page-scale.html
      
      * platform/graphics/chromium/GraphicsLayerChromium.cpp:
      (WebCore::GraphicsLayerChromium::setTransform):
      (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
      (WebCore::GraphicsLayerChromium::updateContentsScale):
      (WebCore::GraphicsLayerChromium::contentsScale):
      (WebCore::GraphicsLayerChromium::deviceOrPageScaleFactorChanged):
      * platform/graphics/chromium/GraphicsLayerChromium.h:
      * platform/graphics/chromium/ImageLayerChromium.cpp:
      (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
      (WebCore::ImageLayerChromium::needsContentsScale):
      * platform/graphics/chromium/ImageLayerChromium.h:
      * platform/graphics/chromium/LayerChromium.cpp:
      (WebCore::LayerChromium::LayerChromium):
      (WebCore::LayerChromium::setContentsScale):
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore::LayerChromium::needsContentsScale):
      (WebCore::LayerChromium::contentsScale):
      * platform/graphics/chromium/LayerTextureUpdater.h:
      * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
      (WebCore::LayerTextureUpdaterCanvas::paintContents):
      (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
      (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
      * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
      * platform/graphics/chromium/TiledLayerChromium.cpp:
      (WebCore::TiledLayerChromium::needsContentsScale):
      (WebCore::TiledLayerChromium::contentBounds):
      (WebCore::TiledLayerChromium::prepareToUpdate):
      * platform/graphics/chromium/TiledLayerChromium.h:
      
      Source/WebKit/chromium:
      
      Patch by Alpha Lam <hclam@chromium.org> on 2011-11-18
      Reviewed by James.
      
      Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
      
      * src/PageOverlay.cpp:
      (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
      (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
      
      LayoutTests:
      
      Added test cases that has position:fixed and page scale.
      
      Patch by Alpha Lam <hclam@chromium.org> on 2011-11-18
      Reviewed by James.
      
      * compositing/geometry/fixed-position-composited-page-scale-down-expected.txt: Added.
      * compositing/geometry/fixed-position-composited-page-scale-down.html: Added.
      * compositing/geometry/fixed-position-composited-page-scale-expected.txt: Added.
      * compositing/geometry/fixed-position-composited-page-scale.html: Added.
      * compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.txt: Added.
      * compositing/geometry/fixed-position-iframe-composited-page-scale-down.html: Added.
      * compositing/geometry/fixed-position-iframe-composited-page-scale-expected.txt: Added.
      * compositing/geometry/fixed-position-iframe-composited-page-scale.html: Added.
      * compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.txt: Added.
      * compositing/geometry/fixed-position-transform-composited-page-scale-down.html: Added.
      * compositing/geometry/fixed-position-transform-composited-page-scale-expected.txt: Added.
      * compositing/geometry/fixed-position-transform-composited-page-scale.html: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/chromium-linux/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7cbb5ec
    • abarth@webkit.org's avatar
      Move manual-tests out of WebCore. · fccb69dd
      abarth@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fccb69dd
    • jamesr@google.com's avatar
      Unreviewed, rolling out r100835. · 5acc7d37
      jamesr@google.com authored
      http://trac.webkit.org/changeset/100835
      https://bugs.webkit.org/show_bug.cgi?id=72778
      
      Broke some page scale tests
      
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::scalePageBy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5acc7d37
    • abarth@webkit.org's avatar
      Prepare to move manual-tests out of WebCore · 9a26a910
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72782
      
      Reviewed by Eric Seidel.
      
      .: 
      
      Update these files to refer to the new location of ManualTests.
      
      * .gitattributes:
      * Source/cmake/WebKitPackaging.cmake:
      
      Tools: 
      
      Update this file to refer to the new location of ManualTests.
      
      * Scripts/webkitpy/common/config/build.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a26a910
    • jamesr@google.com's avatar
      [chromium] Set min/max page scale factors when calling eventSender.scalePageBy to avoid clamping · d3e40eb4
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72778
      
      Reviewed by Kenneth Russell.
      
      Set the min/max page scale clamps when a test calls eventSender.scalePageBy() so that the scale isn't clamped.
      
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::scalePageBy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3e40eb4
    • igor.oliveira@openbossa.org's avatar
      [WK2][Qt] Move Accelerated Composite animations to UIProcess · 22b28667
      igor.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72753
      
      Source/WebCore:
      
      Add helper method to synchronize animations in TextureMapper.
      
      Reviewed by Noam Rosenthal.
      
      * platform/graphics/texmap/TextureMapperNode.cpp:
      (WebCore::TextureMapperNode::syncAnimationsRecursively):
      * platform/graphics/texmap/TextureMapperNode.h:
      
      Source/WebKit2:
      
      Currently, all the accelerated compositing animations are applied in WebProcess and
      for each frame generated, WebProcess needs to sync with UIProcess.
      
      This patch moves the accelerated compositing animations to UIProcess reducing the
      amount of synchronization messages between WebProcess and UIProcess, this is done
      sending animations information to UIProcess.
      
      Reviewed by Noam Rosenthal.
      
      * Shared/WebCoreArgumentCoders.cpp:
      (CoreIPC::::encode):
      (CoreIPC::::decode):
      
      Encode/Decode RefPtr<Animation> instead of Animation class. This facilitates
      the data serialization.
      
      * Shared/WebCoreArgumentCoders.h:
      * Shared/WebLayerTreeInfo.cpp:
      (WebKit::WebLayerInfo::encode):
      (WebKit::WebLayerInfo::decode):
      (WebKit::WebLayerAnimation::encode):
      (WebKit::WebLayerAnimation::decode):
      
      Create WebLayerAnimation struct, it is used to send animation information
      to UIProcess.
      
      * Shared/WebLayerTreeInfo.h:
      (WebKit::WebLayerAnimation::WebLayerAnimation):
      * UIProcess/LayerTreeHostProxy.h:
      * UIProcess/qt/LayerTreeHostProxyQt.cpp:
      (WebKit::LayerTreeHostProxy::LayerTreeHostProxy):
      (WebKit::LayerTreeHostProxy::paintToCurrentGLContext):
      (WebKit::LayerTreeHostProxy::updateSceneGraphUpdateTimerFired):
      (WebKit::LayerTreeHostProxy::syncLayerParameters):
      * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
      (WebCore::WebGraphicsLayer::addAnimation):
      (WebCore::WebGraphicsLayer::pauseAnimation):
      (WebCore::WebGraphicsLayer::removeAnimation):
      (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22b28667
    • 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
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r100693. · 6541c0db
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/100693
      https://bugs.webkit.org/show_bug.cgi?id=72779
      
      This patch caused a rendering regression (see bug 72770)
      (Requested by philip__ on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-18
      
      Source/WebCore:
      
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::setStyle):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::diff):
      
      LayoutTests:
      
      * fast/layers/layer-absolute-parent-opacity-expected.png: Removed.
      * fast/layers/layer-absolute-parent-opacity-expected.txt: Removed.
      * fast/layers/layer-absolute-parent-opacity.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6541c0db
    • simon.fraser@apple.com's avatar
      Reflection on composited element doesn't update if the element changes to show no content · 371cd56e
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72774
      
      Source/WebCore:
      
      Reviewed by Chris Marrin.
      
      When a style change results in a reflected element losing its backing store,
      we need to clear the backing stores on the layer clones as well.
      
      Test: compositing/reflections/become-simple-composited-reflection.html
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      
      LayoutTests:
      
      Reviewed by Chris Marrin.
      
      Test that removes the background-color of a reflected, composited element.
      
      * compositing/reflections/become-simple-composited-reflection-expected.png: Added.
      * compositing/reflections/become-simple-composited-reflection-expected.txt: Added.
      * compositing/reflections/become-simple-composited-reflection.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      371cd56e
    • rniwa@webkit.org's avatar
    • fpizlo@apple.com's avatar
      DFG JIT fails speculation on InstanceOf if the base is not an object · 03c374fa
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72709
      
      Reviewed by Geoff Garen.
              
      InstanceOf already leverages the fact that we only allow the default
      hasInstance implementation. So, if the base is predicted to possibly
      be not an object and the CFA has not yet proven otherwise, InstanceOf
      will abstain from speculating cell and instead return false if the
      base is not a cell.
              
      This appears to be a 1% speed-up on V8 on the V8 harness. 3-4% or so
      speed-up in earley-boyer. Neutral according to bencher on SunSpider,
      V8, and Kraken. In 32-bit, it's a 0.5% win on SunSpider and a 1.9%
      win on V8 even on my harness, due to a 12.5% win on earley-boyer.
              
      I also took this opportunity to make the code for InstanceOf common
      between the two JITs. This was partially successful, in that the
      "common code" has a bunch of #if's, but overall it seems like a code
      size reduction.
      
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compileInstanceOfForObject):
      (JSC::DFG::SpeculativeJIT::compileInstanceOf):
      * dfg/DFGSpeculativeJIT.h:
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03c374fa
    • dcheng@chromium.org's avatar
      [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes. · f4a94fe7
      dcheng@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72767
      
      Source/WebCore:
      
      Reviewed by Tony Chang.
      
      Covered by existing tests.
      
      * editing/chromium/EditorChromium.cpp:
      (WebCore::Editor::newGeneralClipboard):
      * page/chromium/EventHandlerChromium.cpp:
      (WebCore::EventHandler::createDraggingClipboard):
      * platform/chromium/ChromiumDataObject.cpp:
      (WebCore::ChromiumDataObject::types):
      (WebCore::ChromiumDataObject::getData):
      (WebCore::ChromiumDataObject::containsFilenames):
      (WebCore::ChromiumDataObject::ChromiumDataObject):
      * platform/chromium/ChromiumDataObject.h:
      (WebCore::ChromiumDataObject::createFromPasteboard):
      (WebCore::ChromiumDataObject::create):
      (WebCore::ChromiumDataObject::storageMode):
      * platform/chromium/ClipboardChromium.cpp:
      (WebCore::ClipboardChromium::hasData):
      
      Source/WebKit/chromium:
      
      Reviewed by Tony Chang.
      
      * src/WebDragData.cpp:
      (WebKit::WebDragData::initialize):
      (WebKit::WebDragData::assign):
      
      LayoutTests:
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4a94fe7
    • cevans@google.com's avatar
      Crash with ranges across a detached, reparented node tree · 66b4736f
      cevans@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72757
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Test: fast/dom/move-detached-child-in-range.html
      
      * dom/RangeBoundaryPoint.h:
      (WebCore::RangeBoundaryPoint::childBefore): protect the raw child node from getting pulled from under us.
      
      LayoutTests:
      
      * fast/dom/move-detached-child-in-range-expected.txt: Added.
      * fast/dom/move-detached-child-in-range.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66b4736f
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=72551 · a766a5bf
      bdakin@apple.com authored
      When the recommended scrollbar style changes, WKView's tracking options should 
      adjust accordingly
      -and corresponding-
      <rdar://problem/10409328>
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      This new ChromeClient function is called when the recommended scrollbar style 
      changes. This way, WebKit can respond to the change by adjusting its mouse 
      tracking.
      * page/ChromeClient.h:
      (WebCore::ChromeClient::recommendedScrollbarStyleDidChange):
      
      Existing ScrollableArea function scrollbarStyleChanged() now takes an int 
      indicating the new scrollbar style and a bool indicating whether it is necessary 
      to force an update. It used to be the case that this function was ONLY used to 
      force an update (and only called when an updated was needed), but now that it must 
      also call into the ChromeClient, it is necessary to include a bool tracking 
      whether we need to force an update. New implementation on FrameView is responsible 
      for calling ChromeClient, and then that calls into the pre-existing ScrollView 
      function for the forceUpdate part.
      * page/FrameView.cpp:
      (WebCore::FrameView::scrollbarStyleChanged):
      * page/FrameView.h:
      * platform/ScrollView.cpp:
      (WebCore::ScrollView:: scrollbarStyleChanged):
      * platform/ScrollView.h:
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::scrollbarStyleChanged):
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::updateScrollerStyle):
      
      Source/WebKit2: 
      
      These new functions take care of passing along the 
      recommendedScrollbarStyleDidChange() message that originates in the ChromeClient. 
      * UIProcess/API/mac/PageClientImpl.h:
      * UIProcess/PageClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::recommendedScrollbarStyleDidChange):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::recommendedScrollbarStyleDidChange):
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      
      This is where we actually respond to the recommendedScrollbarStyleDidChange 
      message. We remove the existing tracking area and create a new tracking area with 
      the appropriate tracking options.
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::recommendedScrollbarStyleDidChange):
      
      BuiltInPDFView inherits from WebCore::ScrollableArea, so scrollbarStyleChanged() 
      must now take two parameters like the one in ScrollableArea.
      * WebProcess/Plugins/PDF/BuiltInPDFView.cpp:
      (WebKit::BuiltInPDFView::scrollbarStyleChanged):
      * WebProcess/Plugins/PDF/BuiltInPDFView.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a766a5bf
    • adamk@chromium.org's avatar
      Use canplay instead of canplaythrough in http/tests/media to prevent timeout · 9fc529f7
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72758
      
      Allow these tests to timeout until the bug is fixed.
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fc529f7