1. 21 Sep, 2012 10 commits
    • dpranke@chromium.org's avatar
      Roll Chromium DEPS to r158060 · 5c16d385
      dpranke@chromium.org authored
      Unreviewed, rolled DEPS.
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c16d385
    • crogers@google.com's avatar
      Add Web Audio support for deprecated/legacy APIs · 143fd02e
      crogers@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97050
      
      Reviewed by Eric Carlson.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      The Web Audio API specification has undergone much review and some small API changes
      have been made (mostly naming-related changes).  This patch adds an ENABLE_LEGACY_WEB_AUDIO
      build option to allow ports to support the old names.
      
      Tests changed:
      audiobuffersource-playbackrate.html
      audiobuffersource.html
      note-grain-on-testing.js
      oscillator-testing.js
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.features.am:
      * Modules/webaudio/AudioBufferSourceNode.cpp:
      (WebCore::AudioBufferSourceNode::startGrain):
      (WebCore):
      (WebCore::AudioBufferSourceNode::noteGrainOn):
      * Modules/webaudio/AudioBufferSourceNode.h:
      (AudioBufferSourceNode):
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioScheduledSourceNode.cpp:
      (WebCore::AudioScheduledSourceNode::start):
      (WebCore::AudioScheduledSourceNode::stop):
      (WebCore):
      (WebCore::AudioScheduledSourceNode::noteOn):
      (WebCore::AudioScheduledSourceNode::noteOff):
      * Modules/webaudio/AudioScheduledSourceNode.h:
      * Modules/webaudio/Oscillator.idl:
      * page/FeatureObserver.h:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      LayoutTests:
      
      * webaudio/audiobuffersource-playbackrate.html:
      * webaudio/audiobuffersource.html:
      * webaudio/resources/note-grain-on-testing.js:
      (playGrain):
      * webaudio/resources/oscillator-testing.js:
      (generateExponentialOscillatorSweep):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      143fd02e
    • pilgrim@chromium.org's avatar
      [Chromium] remove getFontFamilyForCharacters from PlatformSupport · 651734d7
      pilgrim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96282
      
      Reviewed by Tony Chang.
      
      Migrating away from PlatformSupport. getFontFamilyForCharacters is
      moved to FontCache.h and overridden by the two platforms that
      need it (Chromium Linux and Blackberry). New files for the overrides.
      Part of a larger refactoring series. See tracking bug 82948.
      
      Source/WebCore:
      
      * PlatformBlackBerry.cmake:
      * WebCore.gypi:
      * platform/chromium/PlatformSupport.h:
      (PlatformSupport):
      * platform/graphics/FontCache.h:
      (SimpleFontFamily):
      (FontCache):
      * platform/graphics/blackberry/FontCacheBlackberry.cpp: Added.
      (WebCore):
      (WebCore::FontCache::getFontFamilyForCharacters):
      * platform/graphics/blackberry/skia/PlatformSupport.cpp:
      (WebCore):
      * platform/graphics/blackberry/skia/PlatformSupport.h:
      (PlatformSupport):
      * platform/graphics/chromium/FontCacheAndroid.cpp:
      (WebCore::FontCache::getFontDataForCharacters):
      * platform/graphics/chromium/FontCacheChromiumLinux.cpp: Added.
      (WebCore):
      (WebCore::FontCache::getFontFamilyForCharacters):
      * platform/graphics/skia/FontCacheSkia.cpp:
      (WebCore::FontCache::getFontDataForCharacters):
      
      Source/WebKit/chromium:
      
      * src/PlatformSupport.cpp:
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      651734d7
    • danakj@chromium.org's avatar
      [chromium] Add setters to WebFilterOperation for IPC pickling · faef3c50
      danakj@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97147
      
      Reviewed by James Robinson.
      
      Source/Platform:
      
      These methods allow us to restore a WebFilterOperation from a blob
      of opaque data. The pickling code needs to be able to create an
      empty object and then fill in the pieces, so these setters allow it
      to do so.
      
      Test: WebFilterOperationsTest.saveAndRestore
      
      * chromium/public/WebFilterOperation.h:
      (WebKit::WebFilterOperation::amount):
      (WebKit::WebFilterOperation::dropShadowOffset):
      (WebKit::WebFilterOperation::matrix):
      (WebKit::WebFilterOperation::zoomRect):
      (WebFilterOperation):
      (WebKit::WebFilterOperation::createEmptyFilter):
      (WebKit::WebFilterOperation::setType):
      (WebKit::WebFilterOperation::setAmount):
      (WebKit::WebFilterOperation::setDropShadowOffset):
      (WebKit::WebFilterOperation::setDropShadowColor):
      (WebKit::WebFilterOperation::setMatrix):
      (WebKit::WebFilterOperation::setZoomRect):
      * chromium/src/WebFilterOperation.cpp:
      
      Source/WebKit/chromium:
      
      * tests/FilterOperationsTest.cpp:
      (WebKit):
      (WebKit::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faef3c50
    • tony@chromium.org's avatar
      [chromium] Unreviewed, remove duplicate section of WebKit.gyp pointed out by Nico. · 5a2e055e
      tony@chromium.org authored
      * WebKit.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a2e055e
    • commit-queue@webkit.org's avatar
      Unreviewed. Rolled DEPS. · 77d1efd8
      commit-queue@webkit.org authored
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-21
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77d1efd8
    • commit-queue@webkit.org's avatar
      [chromium] Add test for ScrollingCoordinatorChromium · e4534296
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96657
      
      Patch by Sami Kyostila <skyostil@chromium.org> on 2012-09-21
      Reviewed by James Robinson.
      
      Add tests for ScrollingCoordinatorChromium. These tests mainly verify that
      fast (non-main thread) scrolling is enabled when necessary and that a proper
      compositing layer structure is created for fixed position and accelerated
      scrolling layers.
      
      Tests: ScrollingCoordinatorChromiumTest.fastScrollingByDefault
             ScrollingCoordinatorChromiumTest.fastScrollingForFixedPosition
             ScrollingCoordinatorChromiumTest.nonFastScrollableRegion
             ScrollingCoordinatorChromiumTest.wheelEventHandler
             ScrollingCoordinatorChromiumTest.touchOverflowScrolling
      
      * WebKit.gypi:
      * tests/ScrollingCoordinatorChromiumTest.cpp: Added.
      (WebKit):
      (MockWebViewClient):
      (ScrollingCoordinatorChromiumTest):
      (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
      (WebKit::ScrollingCoordinatorChromiumTest::createCompositedWebViewImpl):
      (WebKit::ScrollingCoordinatorChromiumTest::registerMockedHttpURLLoad):
      (WebKit::ScrollingCoordinatorChromiumTest::getRootScrollLayer):
      (WebKit::TEST_F):
      * tests/data/fixed_position.html: Added.
      * tests/data/non_fast_scrollable.html: Added.
      * tests/data/touch_overflow_scrolling.html: Added.
      * tests/data/wheel_event_handler.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4534296
    • peter@chromium.org's avatar
      Leverage Chromium's code to set up FIFOs for Chromium Android layout tests · a8ab41cf
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97227
      
      Reviewed by Tony Chang.
      
      Source/WebKit/chromium:
      
      Remove all fifo-related code together with the io_stream_forwarder_android
      target defined in WebKitUnitTests.gyp.
      
      * WebKitUnitTests.gyp:
      * tests/ForwardIOStreamsAndroid.cpp: Removed.
      * tests/ForwardIOStreamsAndroid.h: Removed.
      * tests/RunAllTests.cpp:
      (main):
      
      Tools:
      
      We switched Chromium to using FIFOs in order to achieve better consistency,
      which was done by Marcus in r157541. Remove all custom WebKit code in
      favor of Chromium's implementation.
      
      Remove more FIFO code in the test runner itself, including the code in
      DumpRenderTree that invoked it. We can now switch to Chromium's brand
      new FIFO-creating code, which is being set-up for all test targets build
      for Android, including DumpRenderTree, TestWebKitAPI and webkit_unit_tests.
      
      This also changes the ChromiumAndroidDriver._remove_all_pipes method to
      delete the files individually. "rm" would fail if one of the earlier files
      does not exist, and the "-f" argument doesn't seem to be reliable.
      
      * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
      * DumpRenderTree/chromium/TestShellAndroid.cpp:
      (platformInit):
      * Scripts/webkitpy/layout_tests/port/chromium_android.py:
      (ChromiumAndroidDriver.__init__):
      (ChromiumAndroidDriver._setup_test):
      (ChromiumAndroidDriver._get_external_storage):
      (ChromiumAndroidDriver._drt_cmd_line):
      (ChromiumAndroidDriver._remove_all_pipes):
      (ChromiumAndroidDriver.stop):
      * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8ab41cf
    • peter@chromium.org's avatar
      Unreviewed. Rolled DEPS. · 32615d79
      peter@chromium.org authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32615d79
    • keishi@webkit.org's avatar
      Add datalist suggestions into DateTimeChooserParameters · f6bf1021
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97292
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      We read datalist suggestions, add them to DateTimeChooserParameters,
      and pass them to the page popup.
      
      No new tests. No behavior change yet.
      
      * html/shadow/CalendarPickerElement.cpp:
      (WebCore::CalendarPickerElement::openPopup): Read datalist suggestions and add them to DateTimeChooserParameters
      * platform/DateTimeChooser.h:
      (DateTimeChooserParameters): Added localizedSuggestionValues so we can show localized values inside the page popup.
      
      Source/WebKit/chromium:
      
      * src/DateTimeChooserImpl.cpp:
      (WebKit::DateTimeChooserImpl::writeDocument): Add the necessary parameters for SuggestionPicker.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6bf1021
  2. 20 Sep, 2012 8 commits
    • tony@chromium.org's avatar
      [chromium] Unreviewed build fix. webkit_unit_tests have global constructors. · dbee7dcc
      tony@chromium.org authored
      * WebKitUnitTests.gyp: Remove -Wglobal-constructors.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbee7dcc
    • tony@chromium.org's avatar
      [chromium] Enable more clang warnings · 404e130b
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97257
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Add -Wunused-parameter to WebCore targets. Apple's Mac compile already
      warns on this and it's a common source of error for Chromium patches.
      
      No new tests, should compile cleanly.
      
      * WebCore.gyp/WebCore.gyp:
      
      Source/WebKit/chromium:
      
      * WebKit.gyp: Add -Wglobal-constructors. Don't add -Wunused-parameter because many of our API interfaces have named parameters with empty implementations.
      * WebKitUnitTests.gyp: Add -Wglobal-constructors and -Wunused-parameter.
      
      Tools:
      
      * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Add -Wunused-parameter. Don't add -Wglobal-constructors because
      there are lots of violations in these files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      404e130b
    • dgrogan@chromium.org's avatar
      Fix IndexedDB unit tests · b31dbc36
      dgrogan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97149
      
      Reviewed by Tony Chang.
      
      * tests/IDBDatabaseBackendTest.cpp:
      Specify a desired version of -1 so that no version change transaction
      is run.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b31dbc36
    • dpranke@chromium.org's avatar
      roll Chromium to r157829. · 71fc019d
      dpranke@chromium.org authored
      Unreviewed, deps change.
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71fc019d
    • japhet@chromium.org's avatar
      2012-09-20 Nate Chapin <japhet@chromium.org> · 6642a569
      japhet@chromium.org authored
              Unreviewed, chromium win build fix.
              Remove spurious reference to the non-existent
              tests/LayerPainterChromium.h in WebKit.gypi.
      
              * WebKit.gypi:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6642a569
    • jamesr@google.com's avatar
      [chromium] Remove unused copy of chromium compositor implementation files · 4e39fd79
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97255
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Now that use_libcc_for_compositor is set to 1 these files aren't used anywhere.
      
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * platform/chromium/support/CCThreadImpl.cpp: Removed.
      * platform/chromium/support/CCThreadImpl.h: Removed.
      * platform/chromium/support/WebCompositorImpl.cpp: Removed.
      * platform/chromium/support/WebCompositorImpl.h: Removed.
      * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp: Removed.
      * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp: Removed.
      * platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/Canvas2DLayerBridge.cpp:
      (WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge):
      (WebCore::Canvas2DLayerBridge::~Canvas2DLayerBridge):
      * platform/graphics/chromium/CanvasLayerTextureUpdater.cpp: Removed.
      * platform/graphics/chromium/CanvasLayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/ContentLayerChromium.cpp: Removed.
      * platform/graphics/chromium/ContentLayerChromium.h: Removed.
      * platform/graphics/chromium/ContentLayerChromiumClient.h: Removed.
      * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp: Removed.
      * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/GeometryBinding.cpp: Removed.
      * platform/graphics/chromium/GeometryBinding.h: Removed.
      * platform/graphics/chromium/GraphicsLayerChromium.cpp:
      * platform/graphics/chromium/HeadsUpDisplayLayerChromium.cpp: Removed.
      * platform/graphics/chromium/HeadsUpDisplayLayerChromium.h: Removed.
      * platform/graphics/chromium/IOSurfaceLayerChromium.cpp: Removed.
      * platform/graphics/chromium/IOSurfaceLayerChromium.h: Removed.
      * platform/graphics/chromium/ImageLayerChromium.cpp: Removed.
      * platform/graphics/chromium/ImageLayerChromium.h: Removed.
      * platform/graphics/chromium/LayerChromium.cpp: Removed.
      * platform/graphics/chromium/LayerChromium.h: Removed.
      * platform/graphics/chromium/LayerTextureSubImage.cpp: Removed.
      * platform/graphics/chromium/LayerTextureSubImage.h: Removed.
      * platform/graphics/chromium/LayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/PlatformColor.h: Removed.
      * platform/graphics/chromium/ProgramBinding.cpp: Removed.
      * platform/graphics/chromium/ProgramBinding.h: Removed.
      * platform/graphics/chromium/RateLimiter.cpp: Removed.
      * platform/graphics/chromium/RateLimiter.h: Removed.
      * platform/graphics/chromium/RenderSurfaceChromium.cpp: Removed.
      * platform/graphics/chromium/RenderSurfaceChromium.h: Removed.
      * platform/graphics/chromium/ScrollbarLayerChromium.cpp: Removed.
      * platform/graphics/chromium/ScrollbarLayerChromium.h: Removed.
      * platform/graphics/chromium/ShaderChromium.cpp: Removed.
      * platform/graphics/chromium/ShaderChromium.h: Removed.
      * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp: Removed.
      * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h: Removed.
      * platform/graphics/chromium/SolidColorLayerChromium.cpp: Removed.
      * platform/graphics/chromium/SolidColorLayerChromium.h: Removed.
      * platform/graphics/chromium/TextureCopier.cpp: Removed.
      * platform/graphics/chromium/TextureCopier.h: Removed.
      * platform/graphics/chromium/TextureLayerChromium.cpp: Removed.
      * platform/graphics/chromium/TextureLayerChromium.h: Removed.
      * platform/graphics/chromium/TextureLayerChromiumClient.h: Removed.
      * platform/graphics/chromium/ThrottledTextureUploader.cpp: Removed.
      * platform/graphics/chromium/ThrottledTextureUploader.h: Removed.
      * platform/graphics/chromium/TiledLayerChromium.cpp: Removed.
      * platform/graphics/chromium/TiledLayerChromium.h: Removed.
      * platform/graphics/chromium/TreeSynchronizer.cpp: Removed.
      * platform/graphics/chromium/TreeSynchronizer.h: Removed.
      * platform/graphics/chromium/UnthrottledTextureUploader.h: Removed.
      * platform/graphics/chromium/VideoLayerChromium.cpp: Removed.
      * platform/graphics/chromium/VideoLayerChromium.h: Removed.
      * platform/graphics/chromium/cc/CCActiveAnimation.cpp: Removed.
      * platform/graphics/chromium/cc/CCActiveAnimation.h: Removed.
      * platform/graphics/chromium/cc/CCAnimationCurve.cpp: Removed.
      * platform/graphics/chromium/cc/CCAnimationCurve.h: Removed.
      * platform/graphics/chromium/cc/CCAnimationEvents.h: Removed.
      * platform/graphics/chromium/cc/CCAppendQuadsData.h: Removed.
      * platform/graphics/chromium/cc/CCCheckerboardDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCCheckerboardDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCCompletionEvent.h: Removed.
      * platform/graphics/chromium/cc/CCDamageTracker.cpp: Removed.
      * platform/graphics/chromium/cc/CCDamageTracker.h: Removed.
      * platform/graphics/chromium/cc/CCDebugBorderDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCDebugBorderDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCDebugRectHistory.cpp: Removed.
      * platform/graphics/chromium/cc/CCDebugRectHistory.h: Removed.
      * platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp: Removed.
      * platform/graphics/chromium/cc/CCDelayBasedTimeSource.h: Removed.
      * platform/graphics/chromium/cc/CCDirectRenderer.cpp: Removed.
      * platform/graphics/chromium/cc/CCDirectRenderer.h: Removed.
      * platform/graphics/chromium/cc/CCDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCFontAtlas.cpp: Removed.
      * platform/graphics/chromium/cc/CCFontAtlas.h: Removed.
      * platform/graphics/chromium/cc/CCFrameRateController.cpp: Removed.
      * platform/graphics/chromium/cc/CCFrameRateController.h: Removed.
      * platform/graphics/chromium/cc/CCFrameRateCounter.cpp: Removed.
      * platform/graphics/chromium/cc/CCFrameRateCounter.h: Removed.
      * platform/graphics/chromium/cc/CCGraphicsContext.h: Removed.
      * platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCIOSurfaceDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCIOSurfaceDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCInputHandler.h: Removed.
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.cpp: Removed.
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.h: Removed.
      * platform/graphics/chromium/cc/CCLayerAnimationController.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerAnimationController.h: Removed.
      * platform/graphics/chromium/cc/CCLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCLayerIterator.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerIterator.h: Removed.
      * platform/graphics/chromium/cc/CCLayerQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerQuad.h: Removed.
      * platform/graphics/chromium/cc/CCLayerSorter.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerSorter.h: Removed.
      * platform/graphics/chromium/cc/CCLayerTilingData.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerTilingData.h: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHost.h: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHostClient.h: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: Removed.
      * platform/graphics/chromium/cc/CCMathUtil.cpp: Removed.
      * platform/graphics/chromium/cc/CCMathUtil.h: Removed.
      * platform/graphics/chromium/cc/CCOcclusionTracker.cpp: Removed.
      * platform/graphics/chromium/cc/CCOcclusionTracker.h: Removed.
      * platform/graphics/chromium/cc/CCOverdrawMetrics.cpp: Removed.
      * platform/graphics/chromium/cc/CCOverdrawMetrics.h: Removed.
      * platform/graphics/chromium/cc/CCPageScaleAnimation.cpp: Removed.
      * platform/graphics/chromium/cc/CCPageScaleAnimation.h: Removed.
      * platform/graphics/chromium/cc/CCPrioritizedTexture.cpp: Removed.
      * platform/graphics/chromium/cc/CCPrioritizedTexture.h: Removed.
      * platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp: Removed.
      * platform/graphics/chromium/cc/CCPrioritizedTextureManager.h: Removed.
      * platform/graphics/chromium/cc/CCPriorityCalculator.cpp: Removed.
      * platform/graphics/chromium/cc/CCPriorityCalculator.h: Removed.
      * platform/graphics/chromium/cc/CCProxy.cpp: Removed.
      * platform/graphics/chromium/cc/CCProxy.h: Removed.
      * platform/graphics/chromium/cc/CCQuadCuller.cpp: Removed.
      * platform/graphics/chromium/cc/CCQuadCuller.h: Removed.
      * platform/graphics/chromium/cc/CCQuadSink.h: Removed.
      * platform/graphics/chromium/cc/CCRenderPass.cpp: Removed.
      * platform/graphics/chromium/cc/CCRenderPass.h: Removed.
      * platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCRenderPassDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCRenderPassSink.h: Removed.
      * platform/graphics/chromium/cc/CCRenderSurface.cpp: Removed.
      * platform/graphics/chromium/cc/CCRenderSurface.h: Removed.
      * platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp: Removed.
      * platform/graphics/chromium/cc/CCRenderSurfaceFilters.h: Removed.
      * platform/graphics/chromium/cc/CCRenderer.h: Removed.
      * platform/graphics/chromium/cc/CCRendererGL.cpp: Removed.
      * platform/graphics/chromium/cc/CCRendererGL.h: Removed.
      * platform/graphics/chromium/cc/CCRenderingStats.h: Removed.
      * platform/graphics/chromium/cc/CCResourceProvider.cpp: Removed.
      * platform/graphics/chromium/cc/CCResourceProvider.h: Removed.
      * platform/graphics/chromium/cc/CCScheduler.cpp: Removed.
      * platform/graphics/chromium/cc/CCScheduler.h: Removed.
      * platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp: Removed.
      * platform/graphics/chromium/cc/CCSchedulerStateMachine.h: Removed.
      * platform/graphics/chromium/cc/CCScopedTexture.cpp: Removed.
      * platform/graphics/chromium/cc/CCScopedTexture.h: Removed.
      * platform/graphics/chromium/cc/CCScopedThreadProxy.h: Removed.
      * platform/graphics/chromium/cc/CCScrollbarAnimationController.cpp: Removed.
      * platform/graphics/chromium/cc/CCScrollbarAnimationController.h: Removed.
      * platform/graphics/chromium/cc/CCScrollbarAnimationControllerLinearFade.cpp: Removed.
      * platform/graphics/chromium/cc/CCScrollbarAnimationControllerLinearFade.h: Removed.
      * platform/graphics/chromium/cc/CCScrollbarGeometryFixedThumb.cpp: Removed.
      * platform/graphics/chromium/cc/CCScrollbarGeometryFixedThumb.h: Removed.
      * platform/graphics/chromium/cc/CCScrollbarGeometryStub.cpp: Removed.
      * platform/graphics/chromium/cc/CCScrollbarGeometryStub.h: Removed.
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCSettings.cpp: Removed.
      * platform/graphics/chromium/cc/CCSettings.h: Removed.
      * platform/graphics/chromium/cc/CCSharedQuadState.cpp: Removed.
      * platform/graphics/chromium/cc/CCSharedQuadState.h: Removed.
      * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: Removed.
      * platform/graphics/chromium/cc/CCSingleThreadProxy.h: Removed.
      * platform/graphics/chromium/cc/CCSolidColorDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCSolidColorDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCStreamVideoDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCStreamVideoDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCTexture.cpp: Removed.
      * platform/graphics/chromium/cc/CCTexture.h: Removed.
      * platform/graphics/chromium/cc/CCTextureDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCTextureDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCTextureLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCTextureLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCTextureUpdateController.cpp: Removed.
      * platform/graphics/chromium/cc/CCTextureUpdateController.h: Removed.
      * platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp: Removed.
      * platform/graphics/chromium/cc/CCTextureUpdateQueue.h: Removed.
      * platform/graphics/chromium/cc/CCThread.h: Removed.
      * platform/graphics/chromium/cc/CCThreadProxy.cpp: Removed.
      * platform/graphics/chromium/cc/CCThreadProxy.h: Removed.
      * platform/graphics/chromium/cc/CCThreadTask.h: Removed.
      * platform/graphics/chromium/cc/CCTileDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCTileDrawQuad.h: Removed.
      * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCTiledLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCTimeSource.h: Removed.
      * platform/graphics/chromium/cc/CCTimer.cpp: Removed.
      * platform/graphics/chromium/cc/CCTimer.h: Removed.
      * platform/graphics/chromium/cc/CCTimingFunction.cpp: Removed.
      * platform/graphics/chromium/cc/CCTimingFunction.h: Removed.
      * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: Removed.
      * platform/graphics/chromium/cc/CCVideoLayerImpl.h: Removed.
      * platform/graphics/chromium/cc/CCYUVVideoDrawQuad.cpp: Removed.
      * platform/graphics/chromium/cc/CCYUVVideoDrawQuad.h: Removed.
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * WebKit.gypi:
      * WebKitUnitTests.gyp:
      * src/WebAnimationCurveCommon.cpp: Removed.
      * src/WebAnimationCurveCommon.h: Removed.
      * src/WebAnimationImpl.cpp: Removed.
      * src/WebAnimationImpl.h: Removed.
      * src/WebContentLayerImpl.cpp: Removed.
      * src/WebContentLayerImpl.h: Removed.
      * src/WebExternalTextureLayerImpl.cpp: Removed.
      * src/WebExternalTextureLayerImpl.h: Removed.
      * src/WebFloatAnimationCurveImpl.cpp: Removed.
      * src/WebFloatAnimationCurveImpl.h: Removed.
      * src/WebIOSurfaceLayerImpl.cpp: Removed.
      * src/WebIOSurfaceLayerImpl.h: Removed.
      * src/WebImageLayerImpl.cpp: Removed.
      * src/WebImageLayerImpl.h: Removed.
      * src/WebLayerImpl.cpp: Removed.
      * src/WebLayerImpl.h: Removed.
      * src/WebLayerTreeViewImpl.cpp: Removed.
      * src/WebLayerTreeViewImpl.h: Removed.
      * src/WebScrollbarLayerImpl.cpp: Removed.
      * src/WebScrollbarLayerImpl.h: Removed.
      * src/WebSolidColorLayerImpl.cpp: Removed.
      * src/WebSolidColorLayerImpl.h: Removed.
      * src/WebToCCInputHandlerAdapter.cpp: Removed.
      * src/WebToCCInputHandlerAdapter.h: Removed.
      * src/WebTransformAnimationCurveImpl.cpp: Removed.
      * src/WebTransformAnimationCurveImpl.h: Removed.
      * src/WebVideoLayerImpl.cpp: Removed.
      * src/WebVideoLayerImpl.h: Removed.
      * tests/CCActiveAnimationTest.cpp: Removed.
      * tests/CCAnimationTestCommon.cpp: Removed.
      * tests/CCAnimationTestCommon.h: Removed.
      * tests/CCDamageTrackerTest.cpp: Removed.
      * tests/CCDelayBasedTimeSourceTest.cpp: Removed.
      * tests/CCDrawQuadTest.cpp: Removed.
      * tests/CCFrameRateControllerTest.cpp: Removed.
      * tests/CCGeometryTestUtils.cpp: Removed.
      * tests/CCGeometryTestUtils.h: Removed.
      * tests/CCHeadsUpDisplayTest.cpp: Removed.
      * tests/CCKeyframedAnimationCurveTest.cpp: Removed.
      * tests/CCLayerAnimationControllerTest.cpp: Removed.
      * tests/CCLayerImplTest.cpp: Removed.
      * tests/CCLayerIteratorTest.cpp: Removed.
      * tests/CCLayerQuadTest.cpp: Removed.
      * tests/CCLayerSorterTest.cpp: Removed.
      * tests/CCLayerTestCommon.cpp: Removed.
      * tests/CCLayerTestCommon.h: Removed.
      * tests/CCLayerTreeHostCommonTest.cpp: Removed.
      * tests/CCLayerTreeHostImplTest.cpp: Removed.
      * tests/CCLayerTreeHostTest.cpp: Removed.
      * tests/CCMathUtilTest.cpp: Removed.
      * tests/CCOcclusionTrackerTest.cpp: Removed.
      * tests/CCOcclusionTrackerTestCommon.h: Removed.
      * tests/CCPrioritizedTextureTest.cpp: Removed.
      * tests/CCQuadCullerTest.cpp: Removed.
      * tests/CCRenderPassTest.cpp: Removed.
      * tests/CCRenderSurfaceFiltersTest.cpp: Removed.
      * tests/CCRenderSurfaceTest.cpp: Removed.
      * tests/CCRendererGLTest.cpp: Removed.
      * tests/CCResourceProviderTest.cpp: Removed.
      * tests/CCSchedulerStateMachineTest.cpp: Removed.
      * tests/CCSchedulerTest.cpp: Removed.
      * tests/CCSchedulerTestCommon.h: Removed.
      * tests/CCScopedTextureTest.cpp: Removed.
      * tests/CCScrollbarAnimationControllerLinearFadeTest.cpp: Removed.
      * tests/CCSolidColorLayerImplTest.cpp: Removed.
      * tests/CCTestCommon.h: Removed.
      * tests/CCTextureUpdateControllerTest.cpp: Removed.
      * tests/CCThreadTaskTest.cpp: Removed.
      * tests/CCThreadedTest.cpp: Removed.
      * tests/CCThreadedTest.h: Removed.
      * tests/CCTiledLayerImplTest.cpp: Removed.
      * tests/CCTiledLayerTestCommon.cpp: Removed.
      * tests/CCTiledLayerTestCommon.h: Removed.
      * tests/CCTimerTest.cpp: Removed.
      * tests/ContentLayerChromiumTest.cpp: Removed.
      * tests/FakeCCLayerTreeHostClient.h: Removed.
      * tests/FakeGraphicsContext3DTest.cpp: Removed.
      * tests/FakeWebScrollbarThemeGeometry.h: Removed.
      * tests/FloatQuadTest.cpp: Removed.
      * tests/GraphicsLayerChromiumTest.cpp:
      * tests/ImageLayerChromiumTest.cpp:
      * tests/LayerChromiumTest.cpp: Removed.
      * tests/MockCCQuadCuller.h: Removed.
      * tests/ScrollbarLayerChromiumTest.cpp: Removed.
      * tests/TextureCopierTest.cpp: Removed.
      * tests/TextureLayerChromiumTest.cpp: Removed.
      * tests/ThrottledTextureUploaderTest.cpp: Removed.
      * tests/TiledLayerChromiumTest.cpp: Removed.
      * tests/TreeSynchronizerTest.cpp: Removed.
      * tests/WebAnimationTest.cpp: Removed.
      * tests/WebFloatAnimationCurveTest.cpp: Removed.
      * tests/WebLayerTest.cpp: Removed.
      * tests/WebLayerTreeViewTest.cpp: Removed.
      * tests/WebTransformAnimationCurveTest.cpp: Removed.
      * tests/WebTransformOperationsTest.cpp: Removed.
      * tests/WebTransformationMatrixTest.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e39fd79
    • tommyw@google.com's avatar
      MediaStream API: Extend UserMediaRequest with a ownerDocument method · dd466b63
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97095
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Chromium need to know exactly which frame called getUserMedia so that it can
      clean away the stream when the frame goes away.
      Since that information is available in webkit add an accessor method.
      
      Chromium mock class extended to test the added method.
      
      * Modules/mediastream/UserMediaRequest.cpp:
      (WebCore::UserMediaRequest::ownerDocument):
      (WebCore):
      * Modules/mediastream/UserMediaRequest.h:
      (WebCore):
      (UserMediaRequest):
      
      Source/WebKit/chromium:
      
      Chromium need to know exactly which frame called getUserMedia so that it can clean
      away the stream when the frame goes away.
      Since that information is available in webkit add an accessor method.
      
      Also taking the opportunity to remove an unused deprecated method,
      and adding asserts in case the object is empty.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::ownerDocument):
      
      Tools:
      
      Extending WebUserMediaClientMock to check that the owning document is valid,
      and that the document has a frame.
      
      * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
      (WebKit::WebUserMediaClientMock::requestUserMedia):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd466b63
    • commit-queue@webkit.org's avatar
      [chromium] Adding the 'google_apis' directory to .gitignore. · 3594bc8d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97187
      
      Patch by Mike West <mkwst@google.com> on 2012-09-20
      Reviewed by Jochen Eisinger.
      
      'chromium/google_apis' should be ignored, as it's not in the git repo.
      
      * .gitignore:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3594bc8d
  3. 19 Sep, 2012 11 commits
    • abarth@webkit.org's avatar
      Remove webkitPostMessage · 39d845bf
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96577
      
      Reviewed by Ojan Vafai.
      
      Actually disable webkitPostMessage. See
      http://trac.webkit.org/changeset/128658 for more information.
      
      * features.gypi:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39d845bf
    • jsbell@chromium.org's avatar
      IndexedDB: Remove "current transaction" concept from backing store · a2fcc60d
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96663
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      IndexedDB should allow multiple transactions to run in parallel within and
      across databases within an origin. As an initial step to enabling this, the
      backing store should not hold a "current transaction" - instead, operations
      should be done relative to a transaction managed by the database.
      
      No new tests - no functional changes.
      
      * Modules/indexeddb/IDBBackingStore.h:
      (IDBBackingStore):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
      (WebCore::IDBDatabaseBackendImpl::deleteObjectStoreInternal):
      (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
      (WebCore::IDBDatabaseBackendImpl::setIntVersionInternal):
      * Modules/indexeddb/IDBDatabaseBackendImpl.h:
      (IDBDatabaseBackendImpl):
      * Modules/indexeddb/IDBIndexBackendImpl.cpp:
      (WebCore::IDBIndexBackendImpl::openCursorInternal):
      (WebCore::IDBIndexBackendImpl::countInternal):
      (WebCore::IDBIndexBackendImpl::count):
      (WebCore::IDBIndexBackendImpl::getInternal):
      (WebCore::IDBIndexBackendImpl::getKeyInternal):
      (WebCore::IDBIndexBackendImpl::get):
      (WebCore::IDBIndexBackendImpl::getKey):
      * Modules/indexeddb/IDBIndexBackendImpl.h:
      (IDBIndexBackendImpl):
      * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
      (WebCore::IDBLevelDBBackingStore::updateIDBDatabaseIntVersion):
      (WebCore::IDBLevelDBBackingStore::updateIDBDatabaseMetaData):
      (WebCore::IDBLevelDBBackingStore::createObjectStore):
      (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
      (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
      (WebCore):
      (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
      (WebCore::IDBLevelDBBackingStore::clearObjectStore):
      (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
      (WebCore::IDBLevelDBBackingStore::getKeyGeneratorCurrentNumber):
      (WebCore::IDBLevelDBBackingStore::maybeUpdateKeyGeneratorCurrentNumber):
      (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
      (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
      (WebCore::IDBLevelDBBackingStore::createIndex):
      (WebCore::IDBLevelDBBackingStore::deleteIndex):
      (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
      (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
      (WebCore::IDBLevelDBBackingStore::findKeyInIndex):
      (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
      (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
      (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
      (WebCore::IDBLevelDBBackingStore::openObjectStoreKeyCursor):
      (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
      (WebCore::IDBLevelDBBackingStore::openIndexCursor):
      (WebCore::IDBLevelDBBackingStore::Transaction::Transaction):
      (WebCore::IDBLevelDBBackingStore::Transaction::begin):
      (WebCore::IDBLevelDBBackingStore::Transaction::commit):
      (WebCore::IDBLevelDBBackingStore::Transaction::rollback):
      * Modules/indexeddb/IDBLevelDBBackingStore.h:
      (IDBLevelDBBackingStore):
      (WebCore::IDBLevelDBBackingStore::Transaction::levelDBTransaction):
      (Transaction):
      (WebCore::IDBLevelDBBackingStore::Transaction::levelDBTransactionFrom):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::get):
      (WebCore::IDBObjectStoreBackendImpl::getInternal):
      (WebCore):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::setIndexKeys):
      (WebCore::IDBObjectStoreBackendImpl::putInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteFunction):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      (WebCore::IDBObjectStoreBackendImpl::clear):
      (WebCore::IDBObjectStoreBackendImpl::clearInternal):
      (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
      (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
      (WebCore::IDBObjectStoreBackendImpl::count):
      (WebCore::IDBObjectStoreBackendImpl::countInternal):
      (WebCore::IDBObjectStoreBackendImpl::generateKey):
      (WebCore::IDBObjectStoreBackendImpl::updateKeyGenerator):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
      (IDBObjectStoreBackendImpl):
      
      Source/WebKit/chromium:
      
      Update fake class with new method signatures.
      
      * tests/IDBFakeBackingStore.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2fcc60d
    • commit-queue@webkit.org's avatar
      [chromium] Store the contents scale factor in PlatformContextSkia on initialization · ba2dac26
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96137
      
      Patch by Terry Anderson <tdanderson@chromium.org> on 2012-09-19
      Reviewed by Stephen White.
      
      Source/WebCore:
      
      When the compositor creates a PlatformContextSkia, the scale on |canvas| will
      be equal to the content scale factor (which, without pinch-to-zoom, will be
      the same as the device scale factor). Set this value as a member on PlatformContextSkia,
      which will be used to correctly render glyphs when hinting is used and the device
      scale factor is not 1.
      
      Tests: added two new unit tests.
      
      * platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp:
      (WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):
      * platform/graphics/skia/PlatformContextSkia.cpp:
      (WebCore::PlatformContextSkia::PlatformContextSkia):
      (WebCore::PlatformContextSkia::setupPaintCommon):
      * platform/graphics/skia/PlatformContextSkia.h:
      (PlatformContextSkia):
      (WebCore::PlatformContextSkia::setHintingScaleFactor):
      (WebCore::PlatformContextSkia::hintingScaleFactor):
      
      Source/WebKit/chromium:
      
      Define SK_SUPPORT_HINTING_SCALE_FACTOR by default. This is also used
      for the skia patch here: https://codereview.appspot.com/6506099/.
      Also added two new unit tests.
      
      * features.gypi:
      * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
      (WebCore):
      (WebCore::HintingScaleCallback::HintingScaleCallback):
      (HintingScaleCallback):
      (WebCore::HintingScaleCallback::operator()):
      (WebCore::TEST_F):
      * tests/PlatformContextSkiaTest.cpp:
      (WebCore):
      (WebCore::TEST):
      
      LayoutTests:
      
      These tests will fail due to a font hinting/rasterization issue with
      chromium DRT pixel tests having a page/device scale factor of 2.
      See crbug.com/150682.
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba2dac26
    • dgrogan@chromium.org's avatar
      Disable some failing IDB tests · 8df865c9
      dgrogan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97135
      
      Reviewed by Nate Chapin.
      
      They were broken in r129037.
      
      * tests/IDBDatabaseBackendTest.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8df865c9
    • hclam@chromium.org's avatar
      [chromium] Unreviewed. Build fix. · b1fa6ae1
      hclam@chromium.org authored
      Not building WebImageTest.cpp for component build.
      
      * WebKit.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1fa6ae1
    • hclam@chromium.org's avatar
      [chromium] WebImage should use ImageDecoder directly · 98c64588
      hclam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96135
      
      Reviewed by Adam Barth.
      
      This patch is for preparation of deferred image decoding.
      ImageSource will be used as a portal to access deferred image decoder
      by BitmapImage, it should not be accessible through WebKit APIs.
      
      WebImage now calls ImageDecoder directly which is the actual
      implementation of an image decoder.
      
      Tests: WebImageTest.PNGImage
             WebImageTest.ICOImage
             WebImageTest.BadImage
      
      * WebKit.gypi:
      * src/WebImageSkia.cpp:
      (WebKit::WebImage::fromData):
      (WebKit::WebImage::framesFromData):
      * tests/WebImageTest.cpp: Added.
      (WebKit):
      (WebKit::readFile):
      (WebKit::TEST):
      * tests/data/black-and-white.ico: Added.
      * tests/data/white-1x1.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98c64588
    • commit-queue@webkit.org's avatar
      [chromium] Add a method didHandleGestureEvent to WebViewClient, called from... · 90d67358
      commit-queue@webkit.org authored
      [chromium] Add a method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.
      https://bugs.webkit.org/show_bug.cgi?id=96112
      
      Patch by Oli Lan <olilan@chromium.org> on 2012-09-19
      Reviewed by Adam Barth.
      
      Adds a new method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.
      
      This will be used by the Android port to implement platform-specific gesture behaviour.
      
      This is tested by the new test WebViewTest.ClientTapHandlers.
      
      * public/WebViewClient.h:
      (WebViewClient):
      (WebKit::WebViewClient::didHandleGestureEvent):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::handleGestureEvent):
      * tests/WebViewTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90d67358
    • commit-queue@webkit.org's avatar
      [chromium] Support high DPI scroll bar on top level web frame. · 83c45c72
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95134
      
      Patch by Robert Flack <flackr@chromium.org> on 2012-09-19
      Reviewed by Adrienne Walker.
      
      Calls setAppliesPageScale(true) on root scrollbar layers as these are not scaled.
      
      * src/NonCompositedContentHost.cpp:
      (WebKit::setScrollbarBoundsContainPageScale):
      (WebKit):
      (WebKit::NonCompositedContentHost::setViewport):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83c45c72
    • pilgrim@chromium.org's avatar
      [Chromium] Move notifyJSOutOfMemory out of PlatformSupport · 2b5f4424
      pilgrim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97116
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Part of a refactoring series. See tracking bug 82948.
      
      * bindings/v8/V8Binding.cpp:
      (WebCore::handleOutOfMemory):
      * loader/FrameLoaderClient.h:
      (WebCore::FrameLoaderClient::didExhaustMemoryAvailableForScript):
      (FrameLoaderClient):
      * platform/chromium/PlatformSupport.h:
      (PlatformSupport):
      
      Source/WebKit/chromium:
      
      Part of a refactoring series. See tracking bug 82948.
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::didExhaustMemoryAvailableForScript):
      (WebKit):
      * src/FrameLoaderClientImpl.h:
      (FrameLoaderClientImpl):
      * src/PlatformSupport.cpp:
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b5f4424
    • pilgrim@chromium.org's avatar
      [Chromium] Remove unused popupsAllowed function from PlatformSupport · edb75d94
      pilgrim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96521
      
      Reviewed by Eric Seidel.
      
      Part of a refactoring series. See tracking bug 82948.
      
      Source/WebCore:
      
      * bindings/v8/NPV8Object.cpp:
      (WebCore::v8ObjectToNPObject):
      (_NPN_Evaluate):
      (_NPN_GetProperty):
      * platform/chromium/PlatformSupport.h:
      (PlatformSupport):
      
      Source/WebKit/chromium:
      
      * src/PlatformSupport.cpp:
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edb75d94
    • tkent@chromium.org's avatar
      [Chromium] Fix crash in WebFrameImpl::loadHistoryItem · a2f4ba58
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96352
      
      Reviewed by Adam Barth.
      
      We have some crash reports with the following stack:
        - HistoryItem::shouldDoSameDocumentNavigationTo.
        - WebFrameImpl::loadHistoryItem
        ...
      
      We don't have reproducible steps, and not sure what's the root
      cause. Anyway we should check nullness of currentItem because
      HistoryController::m_currentItem can be 0.
      
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::loadHistoryItem):
      Check nullness of currentItem.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2f4ba58
  4. 18 Sep, 2012 6 commits
    • commit-queue@webkit.org's avatar
      Chromium: Scrollbar with tickmarks doesn't respond to clicks · d6c30c6f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96049
      
      Patch by Sailesh Agrawal <sail@chromium.org> on 2012-09-18
      Reviewed by Beth Dakin.
      
      .:
      
      Update exported symbols.
      
      * Source/autotools/symbols.filter:
      
      Source/Platform:
      
      Added isAlphaLocked and setIsAlphaLocked.
      
      * chromium/public/WebScrollbar.h:
      (WebScrollbar):
      
      Source/WebCore:
      
      Currently when a scrollbar has tickmarks its forced to be visible by setting its alpha to 1.0. The alpha value is reset to its old value at the end of the drawing routine. This approach doesn't work with the hit testing code which relies on the scrollbar's alpha value
      
      Unfortunately there doesn't seem to be anyway to force a scrollbar to be visible. The closest API is -[NSScrollerImpPair lockOverlayScrollerState:]. Unfortunately this locks both the horizontal and vertical scrollbar. It also doesn't expand the knob width.
      
      My fix simply adds a new alphaLocked attribute to the scrollbar. If this attribute is set to true then hit testing will return true.
      
      Test: fast/scrolling/scrollbar-tickmarks-hittest.html
      
      * WebCore.exp.in:
      * WebCore.order:
      * page/Settings.cpp:
      (WebCore):
      (WebCore::Settings::setUsesOverlayScrollbars): Sets the usesOverlayScrollbars flag.
      (WebCore::Settings::usesOverlayScrollbars): Gets the usesOverlayScrollbars flag.
      * page/Settings.h:
      (Settings):
      * platform/Scrollbar.cpp:
      (WebCore::Scrollbar::Scrollbar):
      * platform/Scrollbar.h:
      (WebCore::Scrollbar::isAlphaLocked):
      (WebCore::Scrollbar::setIsAlphaLocked):
      (Scrollbar):
      * platform/ScrollbarThemeClient.h:
      (ScrollbarThemeClient):
      * platform/chromium/ScrollbarThemeChromiumMac.mm:
      (WebCore::ScrollbarThemeChromiumMac::paint): Updated to set and unset the alphaLocked attribute.
      * platform/chromium/support/WebScrollbarImpl.cpp:
      (WebKit::WebScrollbarImpl::isAlphaLocked):
      (WebKit):
      (WebKit::WebScrollbarImpl::setIsAlphaLocked):
      * platform/chromium/support/WebScrollbarImpl.h:
      (WebScrollbarImpl):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
      (WebCore::CCScrollbarLayerImpl::CCScrollbarLayerImpl):
      (WebCore::CCScrollbarLayerImpl::CCScrollbar::isAlphaLocked):
      (WebCore):
      (WebCore::CCScrollbarLayerImpl::CCScrollbar::setIsAlphaLocked):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
      (CCScrollbar):
      (CCScrollbarLayerImpl):
      * platform/mac/NSScrollerImpDetails.mm:
      (WebCore::recommendedScrollerStyle): Check the usesOverlayScrollbars setting to see if overlay scrollbars should be forced on.
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::shouldScrollbarParticipateInHitTesting): Updated to check the alphaLocked attribute.
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::reset): Resets the usesOverlayScrollbars setting.
      (WebCore::InternalSettings::setUsesOverlayScrollbars): Sets the usesOverlayScrollbars setting.
      (WebCore):
      * testing/InternalSettings.h:
      (InternalSettings):
      * testing/InternalSettings.idl: Add a new setUsesOverlayScrollbars function.
      
      Source/WebKit/chromium:
      
      Pipe isAlphaLocked and setIsAlphaLocked.
      
      * src/WebPluginScrollbarImpl.cpp:
      (WebKit::WebPluginScrollbarImpl::isAlphaLocked):
      (WebKit):
      (WebKit::WebPluginScrollbarImpl::setIsAlphaLocked):
      * src/WebPluginScrollbarImpl.h:
      (WebPluginScrollbarImpl):
      * src/WebScrollbarThemeClientImpl.cpp:
      (WebKit::WebScrollbarThemeClientImpl::isAlphaLocked):
      (WebKit):
      (WebKit::WebScrollbarThemeClientImpl::setIsAlphaLocked):
      * src/WebScrollbarThemeClientImpl.h:
      (WebScrollbarThemeClientImpl):
      * tests/ScrollbarLayerChromiumTest.cpp:
      
      Source/WebKit2:
      
      Update exported symbols.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      * fast/scrolling/scrollbar-tickmarks-hittest-expected.txt: Added.
      * fast/scrolling/scrollbar-tickmarks-hittest.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6c30c6f
    • hclam@chromium.org's avatar
      Unreviewed, rolling out r128939. · a0312093
      hclam@chromium.org authored
      http://trac.webkit.org/changeset/128939
      https://bugs.webkit.org/show_bug.cgi?id=96135
      
      Failing test_shell_tests.
      
      * WebKit.gypi:
      * src/WebImageSkia.cpp:
      (WebKit::WebImage::fromData):
      (WebKit::WebImage::framesFromData):
      * tests/WebImageTest.cpp: Removed.
      * tests/data/black-and-white.ico: Removed.
      * tests/data/white-1x1.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0312093
    • hclam@chromium.org's avatar
      [chromium] WebImage should use ImageDecoder directly · da402b8f
      hclam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96135
      
      Reviewed by Adam Barth.
      
      This patch is for preparation of deferred image decoding.
      ImageSource will be used as a portal to access deferred image decoder
      by BitmapImage, it should not be accessible through WebKit APIs.
      
      WebImage now calls ImageDecoder directly which is the actual
      implementation of an image decoder.
      
      Tests: WebImageTest.PNGImage
             WebImageTest.ICOImage
      
      * WebKit.gypi:
      * src/WebImageSkia.cpp:
      (WebKit::WebImage::fromData):
      (WebKit::WebImage::framesFromData):
      * tests/WebImageTest.cpp: Added.
      (WebKit):
      (WebKit::readFile):
      (WebKit::TEST):
      * tests/data/black-and-white.ico: Added.
      * tests/data/white-1x1.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da402b8f
    • tommyw@google.com's avatar
      MediaStream API: Create a flag to enable PeerConnection00 · 496c6bf5
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96989
      
      Reviewed by Adam Barth.
      
      Adding the functionality to separately enable/disable PeerConnection00.
      For now it is enabled by default.
      
      Source/WebCore:
      
      Not testable, nor likely to cause issues.
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::deprecatedPeerConnectionEnabled):
      (WebCore::RuntimeEnabledFeatures::setDeprecatedPeerConnectionEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitPeerConnection00Enabled):
      (RuntimeEnabledFeatures):
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableDeprecatedPeerConnection):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isDeprecatedPeerConnectionEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      496c6bf5
    • commit-queue@webkit.org's avatar
      [Chromium] Merge moveSelectionStart, moveSelectionEnd, and moveCaret into selectRange · 03a52339
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96508
      
      Patch by Iain Merrick <husky@google.com> on 2012-09-18
      Reviewed by Ryosuke Niwa.
      
      These methods had "start" and "end" parameters, but this is incorrect.
      selectRange() actually takes base and extent (where the user actually
      touched), and selectionBounds() returns anchor and focus (base and extent
      expanded to account for the selection granularity).
      
      This patch fixes the parameter names, and updates selectRange, its test
      and its documentation to reflect the correct usage. It also removes
      moveSelectionStart/moveSelectionEnd/moveCaret (which aren't being used
      yet), and updates WebFrameTest to show how these can be implemented via
      selectRange.
      
      * public/WebFrame.h:
      (WebFrame):
      * public/WebWidget.h:
      (WebWidget):
      (WebKit::WebWidget::selectionBounds):
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::selectRange):
      * src/WebFrameImpl.h:
      (WebFrameImpl):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::selectionBounds):
      * src/WebViewImpl.h:
      (WebViewImpl):
      * tests/WebFrameTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03a52339
    • peter@chromium.org's avatar
      Roll chromium DEPS to r157342 · 925b4004
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96963
      
      Patch by Terry Anderson <tdanderson@chromium.org> on 2012-09-18
      Reviewed by Stephen White.
      
      Roll chromium DEPS to r157342. Also include the top-level directory
      google_apis as a dependency, which was required for r157130.
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      925b4004
  5. 17 Sep, 2012 5 commits
    • commit-queue@webkit.org's avatar
      [chromium] Add rendering commit statistics · f3e05c83
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96938
      
      Patch by Brian Anderson <brianderson@chromium.org> on 2012-09-17
      Reviewed by James Robinson.
      
      Adds total commit time and total commit count to WebRenderingStats.
      Allows us to caculate average commit time in performance tests.
      
      Source/Platform:
      
      * chromium/public/WebRenderingStats.h:
      (WebRenderingStats):
      (WebKit::WebRenderingStats::WebRenderingStats):
      (WebKit::WebRenderingStats::enumerateFields):
      
      Source/WebKit/chromium:
      
      * src/WebLayerTreeViewImpl.cpp:
      (WebKit::WebLayerTreeViewImpl::renderingStats):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3e05c83
    • commit-queue@webkit.org's avatar
      [chromium] Move a FilterOperationsTest and WebInputEventConversionTest back to... · a51af48d
      commit-queue@webkit.org authored
      [chromium] Move a FilterOperationsTest and WebInputEventConversionTest back to webkit_unittest_files variable
      https://bugs.webkit.org/show_bug.cgi?id=96964
      
      Patch by James Robinson <jamesr@chromium.org> on 2012-09-17
      Reviewed by Adrienne Walker.
      
      These targets are really webkit unit tests and shouldn't be guarded by use_libcc_for_compositor.
      
      * WebKit.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a51af48d
    • commit-queue@webkit.org's avatar
      Source/WebCore: Allow gesture events to set active/hover state. · d87e5bae
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96060
      
      Patch by Rick Byers <rbyers@chromium.org> on 2012-09-17
      Reviewed by Antonio Gomes.
      
      Adds GestureTapDownCancel as a new PlatformGestureEvent type.  On ports
      that support gesture events, use GestureTapDown to trigger active/hover
      states, and GestureTap/GestureTapDownCancel to clear them.  This is
      superior to using touch events for a number of reasons:
        1) some ports (chromium) avoid sending touch events unless absolutely
        necessary, since they hurt scroll performance by blocking threaded
        scrolling.
        2) with touch, and element really shouldn't be 'active' when the user
        happens to be touching it while scrolling.  In that case they aren't
        'manipulating the element', they're manipulating the page or div that
        is scrolling.
        3) similarly, there may be other gestures that involve touching the
        element which aren't really about manipulating that element (eg.
        pinch to zoom).
      
      Test: fast/events/touch/gesture/gesture-tap-active-state.html
      Test: fast/events/touch/gesture/gesture-tap-active-state-iframe.html
      * dom/GestureEvent.cpp:
      (WebCore::GestureEvent::create):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleGestureEvent):
      (WebCore::EventHandler::handleTouchEvent):
      * platform/PlatformEvent.h:
      
      Source/WebKit/chromium: Send GestureTapDownCancel to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=96060
      
      Patch by Rick Byers <rbyers@chromium.org> on 2012-09-17
      Reviewed by Antonio Gomes.
      
      Plumb WebInputEvent::GetsureTapCancel to
      PlatformInputEvent::GestureTapDownCancel.  After all the chromium code
      was landed, it was suggested that 'TapDownCancel' was a better name
      than 'TapCancel' since you can't cancel a Tap.  I'm not changing the
      WebInputEvent definition here because that would be a breaking change
      to chromium, but I can do that as a series of follow-up CLs.
      * src/WebInputEventConversion.cpp:
      (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
      * src/WebPopupMenuImpl.cpp:
      (WebKit::WebPopupMenuImpl::handleInputEvent):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::handleGestureEvent):
      
      Tools: Add handling of new GestureTapCancel in DRT
      
      https://bugs.webkit.org/show_bug.cgi?id=96183
      
      Patch by Rick Byers <rbyers@chromium.org> on 2012-09-17
      Reviewed by Antonio Gomes.
      
      * DumpRenderTree/chromium/TestWebPlugin.cpp:
      (TestWebPlugin::handleInputEvent):
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::gestureTapCancel):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d87e5bae
    • commit-queue@webkit.org's avatar
      IndexedDB: Use ScriptValue instead of SerializedScriptValue for get/openCursor · b90c8b80
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95409
      
      Patch by Alec Flett <alecflett@chromium.org> on 2012-09-17
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      This reduces a bunch of serialization/deserialization when writing
      to objectstores with indexes.
      
      No new tests, as this covers core functionality of IndexedDB, and
      almost every test would fail. Some likely tests that would fail
      fundamentally include:
      
      storage/indexeddb/objectstore-basics.html
      storage/indexeddb/cursor-basics.html
      storage/indexeddb/index-basics.html
      
      * Modules/indexeddb/IDBAny.cpp:
      (WebCore::IDBAny::scriptValue):
      (WebCore::IDBAny::integer):
      (WebCore):
      (WebCore::IDBAny::set):
      * Modules/indexeddb/IDBAny.h:
      (WebCore):
      (IDBAny):
      (WebCore::IDBAny::create):
      * Modules/indexeddb/IDBCursor.cpp:
      (WebCore::IDBCursor::setValueReady):
      * Modules/indexeddb/IDBCursor.h:
      (WebCore):
      (IDBCursor):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::version):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore):
      * Modules/indexeddb/IDBRequest.cpp:
      (WebCore::IDBRequest::setResultCursor):
      (WebCore::IDBRequest::onSuccess):
      (WebCore):
      (WebCore::IDBRequest::onSuccessInternal):
      (WebCore::IDBRequest::dispatchEvent):
      * Modules/indexeddb/IDBRequest.h:
      (IDBRequest):
      * Modules/indexeddb/IDBTransactionCallbacks.h:
      * bindings/v8/IDBBindingUtilities.cpp:
      (WebCore::deserializeIDBValue):
      (WebCore::injectIDBKeyIntoScriptValue):
      * bindings/v8/IDBBindingUtilities.h:
      (WebCore):
      * bindings/v8/custom/V8IDBAnyCustom.cpp:
      (WebCore::toV8):
      
      Source/WebKit/chromium:
      
      This removes a bunch of tests that have been migrated to
      LayoutTests, in https://bugs.webkit.org/show_bug.cgi?id=96818.
      
      * tests/IDBBindingUtilitiesTest.cpp:
      (WebCore::checkKeyFromValueAndKeyPathInternal):
      (WebCore::checkKeyPathNullValue):
      (WebCore::injectKey):
      (WebCore::checkInjection):
      (WebCore::checkInjectionFails):
      (WebCore::checkKeyPathStringValue):
      (WebCore::checkKeyPathNumberValue):
      (WebCore::TEST):
      * tests/IDBKeyPathTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b90c8b80
    • leandrogracia@chromium.org's avatar
      [Chromium] Fix cases where find-in-page doesn't send a final update · dd48edc5
      leandrogracia@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96402
      
      Fix some issues in the WebKit implementation that prevented to send a final
      reportFindInPageMatchCount message.
      
      Reviewed by Adam Barth.
      
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::scopeStringMatches):
      (WebKit):
      (WebKit::WebFrameImpl::finishCurrentScopingEffort):
      (WebKit::WebFrameImpl::cancelPendingScopingEffort):
      (WebKit::WebFrameImpl::WebFrameImpl):
      (WebKit::WebFrameImpl::shouldScopeMatches):
      * src/WebFrameImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd48edc5