Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: Source/WebKit/chromium/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
Issue 9697001: Merge 109263 - [chromium] Don't let invalidation for next frame prevent tile upload (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: Source/WebKit/chromium/ChangeLog
===================================================================
--- Source/WebKit/chromium/ChangeLog (revision 110452)
+++ Source/WebKit/chromium/ChangeLog (working copy)
@@ -1,3 +1,2190 @@
+2012-02-29 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Don't let invalidation for next frame prevent tile upload
+ https://bugs.webkit.org/show_bug.cgi?id=79841
+
+ Reviewed by James Robinson.
+
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::TEST):
+
+2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r107917 and r109188.
+ http://trac.webkit.org/changeset/107917
+ http://trac.webkit.org/changeset/109188
+ https://bugs.webkit.org/show_bug.cgi?id=79865
+
+ Fix the chromium build. (Requested by dcheng on #webkit).
+
+ * src/WebDragData.cpp:
+ (WebKit::WebDragData::items):
+
+2012-02-28 Ryosuke Niwa <rniwa@webkit.org>
+
+ Chromium build fix attempt.
+
+ * src/WebDragData.cpp:
+
+2012-02-28 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Reset damage tracker on visibility change.
+ https://bugs.webkit.org/show_bug.cgi?id=79267
+
+ Reviewed by James Robinson.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::PartialSwapTrackerContext::getString):
+ (WebKit):
+ (WebKit::TEST_F):
+
+2012-02-28 Tim Dresser <tdresser@chromium.org>
+
+ Provide DefaultDeviceScaleFactor though WebSettings
+ https://bugs.webkit.org/show_bug.cgi?id=79534
+
+ Reviewed by Darin Fisher.
+
+ * public/WebSettings.h:
+ * src/WebSettingsImpl.cpp:
+ (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
+ (WebKit):
+ * src/WebSettingsImpl.h:
+ (WebSettingsImpl):
+
+2012-02-28 Gary Kacmarcik <garykac@chromium.org>
+
+ [chromium] Set nativeKeyCode to include Windows scan code
+ https://bugs.webkit.org/show_bug.cgi?id=79289
+
+ Reviewed by Ryosuke Niwa.
+
+ Set the key event's nativeKeyCode on Windows Chromium so that it
+ actually includes the native scancode and other context bits.
+ Currently on Windows, the nativeKeyCode is set to be the same value as
+ the windowsKeyCode, which is redundant.
+
+ The actual native key information is required so that components (like
+ plugins) can reconstruct the original key event. The value stored in
+ the windowsKeyCode is a Windows virtual key code which does not provide
+ sufficient info to disambiguate the actual key being pressed (for
+ example, it cannot distinguish between the left and right shift keys).
+
+ All platforms except Windows currently send native key event info, so
+ this change will bring Windows in line with other platforms.
+
+ This change is part of our effort to send enhanced keycode information
+ to Pepper plugins in Chromium.
+
+ * src/win/WebInputEventFactory.cpp:
+ (WebKit::WebInputEventFactory::keyboardEvent):
+
+2012-02-28 Adam Klein <adamk@chromium.org>
+
+ Unreviewed, speculative test fix after r109016.
+
+ * tests/TransparencyWinTest.cpp:
+ (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
+
+2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-02-27 James Kozianski <koz@chromium.org>
+
+ Add missing parameter to didCreateScriptContext() so it overrides base class again.
+ https://bugs.webkit.org/show_bug.cgi?id=79742
+
+ Reviewed by Kent Tamura.
+
+ * tests/WebFrameTest.cpp:
+
+2012-02-27 Kenichi Ishibashi <bashi@chromium.org>
+
+ [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
+
+ * tests/TransparencyWinTest.cpp:
+ (WebCore::TEST):
+
+2012-02-27 Kinuko Yasuda <kinuko@chromium.org>
+
+ [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
+ https://bugs.webkit.org/show_bug.cgi?id=79394
+
+ Reviewed by Darin Fisher.
+
+ * public/platform/WebFileSystem.h:
+ (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
+
+2012-02-27 James Kozianski <koz@chromium.org>
+
+ [chromium] Plumb extensionGroup into didCreateScriptContext().
+ https://bugs.webkit.org/show_bug.cgi?id=79072
+
+ Reviewed by Darin Fisher.
+
+ * public/WebFrameClient.h:
+ (WebKit::WebFrameClient::didCreateScriptContext):
+ * src/FrameLoaderClientImpl.cpp:
+ (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
+ * src/FrameLoaderClientImpl.h:
+ (FrameLoaderClientImpl):
+
+2012-02-27 Adrienne Walker <enne@google.com>
+
+ [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
+ https://bugs.webkit.org/show_bug.cgi?id=79718
+
+ * tests/TransparencyWinTest.cpp:
+
+2012-02-26 Hajime Morrita <morrita@chromium.org>
+
+ Move ChromeClient::showContextMenu() to ContextMenuClient
+ https://bugs.webkit.org/show_bug.cgi?id=79427
+
+ Reviewed by Adam Barth.
+
+ * src/ChromeClientImpl.h:
+ (ChromeClientImpl):
+
+2012-02-26 James Robinson <jamesr@chromium.org>
+
+ Take 2 build fix.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::TEST_F):
+
+2012-02-26 James Robinson <jamesr@chromium.org>
+
+ Compile fix for CCLayerTreeHostImpl test.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::TEST_F):
+
+2012-02-26 James Robinson <jamesr@chromium.org>
+
+ [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
+ https://bugs.webkit.org/show_bug.cgi?id=79155
+
+ Reviewed by Adam Barth.
+
+ Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::TEST_F):
+ (WebKit):
+ * tests/LayerChromiumTest.cpp:
+
+2012-02-25 Adrienne Walker <enne@google.com>
+
+ [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
+ https://bugs.webkit.org/show_bug.cgi?id=78404
+
+ r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
+ constructor (i.e. "has internal linkage but is not defined"). Fixed
+ locally by changing copy initialization to direct initialization.
+
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::TEST):
+
+2012-02-24 Tien-Ren Chen <trchen@chromium.org>
+
+ [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
+ https://bugs.webkit.org/show_bug.cgi?id=78404
+
+ Reviewed by James Robinson.
+
+ * tests/CCDamageTrackerTest.cpp:
+ (WebKitTests::executeCalculateDrawTransformsAndVisibility):
+ (WebKitTests::emulateDrawingOneFrame):
+ (WebKitTests::createTestTreeWithOneSurface):
+ (WebKitTests::createTestTreeWithTwoSurfaces):
+ (WebKitTests::createAndSetUpTestTreeWithOneSurface):
+ (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
+ (WebKitTests::TEST_F):
+ * tests/CCLayerImplTest.cpp:
+ (WebCore::TEST):
+ * tests/CCLayerIteratorTest.cpp:
+ * tests/CCLayerSorterTest.cpp:
+ (WebCore::TEST):
+ * tests/CCLayerTreeHostCommonTest.cpp:
+ (WebCore::TEST):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
+ (WebKit::TEST_F):
+ (WebKit::DidDrawCheckLayer::create):
+ (WebKit::BlendStateCheckLayer::create):
+ * tests/CCRenderSurfaceTest.cpp:
+ (WebCore::TEST):
+ * tests/CCSolidColorLayerImplTest.cpp:
+ (CCLayerTestCommon::TEST):
+ * tests/CCTiledLayerImplTest.cpp:
+ (CCLayerTestCommon::createLayer):
+ (CCLayerTestCommon::TEST):
+ (CCLayerTestCommon::getQuads):
+ * tests/Canvas2DLayerChromiumTest.cpp:
+ (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::TEST):
+ * tests/TreeSynchronizerTest.cpp:
+ (WebKitTests::MockCCLayerImpl::create):
+ (WebKitTests::MockLayerChromium::createCCLayerImpl):
+ (WebKitTests::expectTreesAreIdentical):
+ (WebKitTests::TEST):
+
+2012-02-08 James Robinson <jamesr@chromium.org>
+
+ [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
+ https://bugs.webkit.org/show_bug.cgi?id=75591
+
+ Reviewed by Kenneth Russell.
+
+ This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
+ isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
+ WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
+
+ - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
+ function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
+ attempts to re-initialize the WLTV, which can either fail or succeed. All other functions must be called on a
+ successfully initialized view.
+
+ - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
+ Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
+ logic, these bits are commented.
+
+ - WebLayerTreeViewClient expanded with some flow-control related APIs.
+
+ Refactor only, no change in behavior.
+
+ * public/platform/WebLayerTreeView.h:
+ (WebKit::WebLayerTreeView::Settings::Settings):
+ (WebKit::WebLayerTreeView::isNull):
+ * public/platform/WebLayerTreeViewClient.h:
+ * src/ChromeClientImpl.cpp:
+ (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::initialize):
+ (WebKit::WebLayerTreeView::compositorIdentifier):
+ (WebKit::WebLayerTreeView::setVisible):
+ (WebKit::WebLayerTreeView::setNeedsAnimate):
+ (WebKit::WebLayerTreeView::updateAnimations):
+ (WebKit::WebLayerTreeView::setNeedsRedraw):
+ (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
+ (WebKit::WebLayerTreeView::startPageScaleAnimation):
+ (WebKit::WebLayerTreeView::finishAllRendering):
+ (WebKit::WebLayerTreeView::context):
+ (WebKit::WebLayerTreeView::loseCompositorContext):
+ * src/WebLayerTreeViewImpl.cpp:
+ (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
+ (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
+ (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::animate):
+ (WebKit::WebViewImpl::doPixelReadbackToCanvas):
+ (WebKit::WebViewImpl::paint):
+ (WebKit::WebViewImpl::composite):
+ (WebKit::WebViewImpl::loseCompositorContext):
+ (WebKit::WebViewImpl::computePageScaleFactorLimits):
+ (WebKit::WebViewImpl::addPageOverlay):
+ (WebKit::WebViewImpl::removePageOverlay):
+ (WebKit::WebViewImpl::setRootGraphicsLayer):
+ (WebKit::WebViewImpl::scheduleCompositingLayerSync):
+ (WebKit::WebViewImpl::scrollRootLayerRect):
+ (WebKit::WebViewImpl::invalidateRootLayerRect):
+ (WebKit::WebViewImpl::scheduleAnimation):
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+ (WebKit::WebViewImpl::createContext3D):
+ (WebKit::WebViewImpl::applyScrollAndScale):
+ (WebKit::WebViewImpl::didRebindGraphicsContext):
+ (WebKit::WebViewImpl::updateLayerTreeViewport):
+ (WebKit::WebViewImpl::graphicsContext3D):
+ (WebKit::WebViewImpl::setVisibilityState):
+ * src/WebViewImpl.h:
+ * tests/WebLayerTest.cpp:
+
+2012-02-24 Ian Vollick <vollick@chromium.org>
+
+ [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
+ https://bugs.webkit.org/show_bug.cgi?id=77646
+
+ Reviewed by James Robinson.
+
+ * tests/CCLayerTreeHostTest.cpp:
+ (TestHooks):
+ (WTF::TestHooks::notifyAnimationStarted):
+ (WTF::TestHooks::notifyAnimationFinished):
+ (WTF::MockLayerTreeHost::create):
+ (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
+ (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
+ (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
+ (CCLayerTreeHostTestAddAnimation):
+ (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
+
+2012-02-24 James Robinson <jamesr@chromium.org>
+
+ [chromium] WebKit::setColorNames is a client API
+ https://bugs.webkit.org/show_bug.cgi?id=79539
+
+ Reviewed by Darin Fisher.
+
+ * WebKit.gyp:
+ * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
+ (WebKit):
+ * public/platform/WebColorName.h:
+ * src/WebColor.cpp:
+
+2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r108860.
+ http://trac.webkit.org/changeset/108860
+ https://bugs.webkit.org/show_bug.cgi?id=79544
+
+ "Breaks Linux compile" (Requested by enne on #webkit).
+
+ * WebKit.gyp:
+ * public/platform/WebColorName.h:
+ * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
+ (WebKit):
+ (WebKit::toCSSValueKeyword):
+ (WebKit::setNamedColors):
+
+2012-02-24 James Robinson <jamesr@chromium.org>
+
+ [chromium] WebKit::setColorNames is a client API
+ https://bugs.webkit.org/show_bug.cgi?id=79539
+
+ Reviewed by Darin Fisher.
+
+ * WebKit.gyp:
+ * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
+ (WebKit):
+ * public/platform/WebColorName.h:
+ * src/WebColor.cpp:
+
+2012-02-22 James Robinson <jamesr@chromium.org>
+
+ [chromium] Move WebGraphicsContext3D header into the Platform directory
+ https://bugs.webkit.org/show_bug.cgi?id=79301
+
+ Reviewed by Adam Barth.
+
+ Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
+
+ * public/platform/WebGraphicsContext3D.h:
+ * public/platform/WebNonCopyable.h:
+
+2012-02-24 Michal Mocny <mmocny@google.com>
+
+ [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
+ https://bugs.webkit.org/show_bug.cgi?id=78265
+
+ Reviewed by Stephen White.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (GrMemoryAllocationChangedCallback):
+ (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
+ (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::grContext):
+
+2012-02-24 James Robinson <jamesr@chromium.org>
+
+ [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
+ https://bugs.webkit.org/show_bug.cgi?id=79296
+
+ Reviewed by Kenneth Russell.
+
+ The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
+ WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
+
+ * public/platform/WebGraphicsContext3D.h:
+ (WebKit):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ * tests/FakeWebGraphicsContext3D.h:
+
+2012-02-23 James Robinson <jamesr@chromium.org>
+
+ [chromium] Move Web*Layer* headers into Platform
+ https://bugs.webkit.org/show_bug.cgi?id=79425
+
+ Reviewed by Adam Barth.
+
+ Adds forwarding headers for Web*Layer* APIs and their dependencies. The forwarding headers for the Web*Layer*
+ APIs are temporary since Web*Layer* is not exposed in the client interface. The other headers (such as
+ WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
+ might move them back down to public/ at some point.
+
+ * public/platform/WebCanvas.h:
+ * public/platform/WebColor.h:
+ * public/platform/WebColorName.h:
+ * public/platform/WebContentLayer.h:
+ * public/platform/WebContentLayerClient.h:
+ * public/platform/WebExternalTextureLayer.h:
+ * public/platform/WebLayer.h:
+ * public/platform/WebLayerTreeView.h:
+ * public/platform/WebLayerTreeViewClient.h:
+ * public/platform/WebPrivatePtr.h:
+ * public/platform/WebSolidColorLayer.h:
+
+2012-02-24 Peter Collingbourne <peter@pcc.me.uk>
+
+ [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
+ https://bugs.webkit.org/show_bug.cgi?id=77307
+
+ Reviewed by Tony Chang.
+
+ This function is currently used to build markup in order to
+ print the selection, and will also be used to build markup for
+ the clipboard. Without this change, the markup will refer to
+ (for example) nonexistent CSS classes and invalid relative
+ paths and therefore will not be interpreted correctly.
+
+ Chromium bug: http://crbug.com/23329
+
+ * src/WebFrameImpl.cpp:
+ (WebKit::WebFrameImpl::selectionAsMarkup):
+
+2012-02-24 Pavel Feldman <pfeldman@chromium.org>
+
+ Not reviewed: chromium image for inspector status bar button updated.
+
+ * src/js/Images/segmentSelectedEndChromium.png:
+
+2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
+
+ SpellCheckRequest needs to know the context where the spellcheck happened.
+ https://bugs.webkit.org/show_bug.cgi?id=79320
+
+ Reviewed by Hajime Morita.
+
+ * src/EditorClientImpl.cpp:
+ (WebKit::EditorClientImpl::requestCheckingOfString):
+ * src/EditorClientImpl.h:
+ (EditorClientImpl):
+ * src/WebFrameImpl.cpp:
+ (WebKit::WebFrameImpl::requestTextChecking):
+
+2012-02-23 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-02-23 Ian Vollick <vollick@chromium.org>
+
+ [chromium] Implement keyframed animations for the cc thread.
+ https://bugs.webkit.org/show_bug.cgi?id=77229
+
+ Reviewed by James Robinson.
+
+ * WebKit.gypi:
+ * tests/CCAnimationTestCommon.cpp:
+ (WebCore):
+ (WebCore::addOpacityTransition):
+ (WebKitTests::addOpacityTransitionToController):
+ (WebKitTests::addOpacityTransitionToLayer):
+ * tests/CCAnimationTestCommon.h:
+ (WebCore):
+ (WebKitTests):
+ * tests/CCKeyframedAnimationCurveTest.cpp: Added.
+ (WebCore):
+ (WebCore::expectTranslateX):
+ (WebCore::TEST):
+ * tests/CCLayerAnimationControllerTest.cpp:
+ (WebKitTests::expectTranslateX):
+ (WebKitTests):
+ (WebKitTests::TEST):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
+ (WTF::CCLayerTreeHostTest::doBeginTest):
+
+2012-02-23 James Robinson <jamesr@chromium.org>
+
+ [chromium] Clean up GraphicsContext3D initialization paths
+ https://bugs.webkit.org/show_bug.cgi?id=79321
+
+ Reviewed by Kenneth Russell.
+
+ This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
+ contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
+ WebLayerTreeViewImpl.
+
+ Offscreen initialization path:
+ 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
+ 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
+ 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
+ GraphicsContext3D's m_private pointer.
+
+ Onscreen initialization path:
+ 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
+ or WebLayerTreeViewClient, respectively
+ 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
+ GraphicsContext3D's m_private pointer.
+
+ There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
+ within WebCore.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
+ (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::platformTexture):
+ (WebCore::GraphicsContext3D::create):
+ * src/GraphicsContext3DPrivate.h:
+ (GraphicsContext3DPrivate):
+ * src/WebLayerTreeViewImpl.cpp:
+ (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
+ * src/WebViewImpl.cpp:
+ (std::getCompositorContextAttributes):
+ (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
+ (WebKit):
+ (WebKit::WebViewImpl::createLayerTreeHostContext3D):
+ (WebKit::WebViewImpl::graphicsContext3D):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::CCLayerTreeHostImplTest::createContext):
+ (CCLayerTreeHostImplTest):
+ (WebKit::TEST_F):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
+ * tests/Canvas2DLayerChromiumTest.cpp:
+ (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
+ * tests/CompositorFakeGraphicsContext3D.h:
+ (WebCore::createCompositorMockGraphicsContext3D):
+ * tests/FakeGraphicsContext3DTest.cpp:
+ (TEST):
+
+2012-02-23 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Plumb video damage to the damage tracker.
+ https://bugs.webkit.org/show_bug.cgi?id=79373
+
+ Reviewed by James Robinson.
+
+ * src/WebMediaPlayerClientImpl.cpp:
+ (WebKit::WebMediaPlayerClientImpl::repaint):
+
+2012-02-21 James Robinson <jamesr@chromium.org>
+
+ [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
+ https://bugs.webkit.org/show_bug.cgi?id=79133
+
+ Reviewed by Dimitri Glazkov.
+
+ Rips out old wheel event notification and adds unit tests for new LayerChromium property.
+
+ * src/NonCompositedContentHost.cpp:
+ (WebKit::NonCompositedContentHost::setViewport):
+ * src/WebCompositorInputHandlerImpl.cpp:
+ (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+ * src/WebViewImpl.h:
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::TEST_F):
+ (WebKit):
+ * tests/LayerChromiumTest.cpp:
+ * tests/WebCompositorInputHandlerImplTest.cpp:
+
+2012-02-23 Adrienne Walker <enne@google.com>
+
+ Unreviewed, rolling out r108666.
+ http://trac.webkit.org/changeset/108666
+ https://bugs.webkit.org/show_bug.cgi?id=79321
+
+ Breaks webplugin tests: http://goo.gl/CoHIi
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::create):
+ (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
+ (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
+ (WebCore::GraphicsContext3DPrivate::platformTexture):
+ (WebCore::GraphicsContext3D::create):
+ * src/GraphicsContext3DPrivate.h:
+ (WebKit):
+ (GraphicsContext3DPrivate):
+ * src/WebLayerTreeViewImpl.cpp:
+ (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
+ * src/WebViewImpl.cpp:
+ (std::getCompositorContextAttributes):
+ (WebKit::WebViewImpl::createLayerTreeHostContext3D):
+ (WebKit::WebViewImpl::graphicsContext3D):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (CCLayerTreeHostImplTest):
+ (WebKit::TEST_F):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
+ * tests/Canvas2DLayerChromiumTest.cpp:
+ (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
+ * tests/CompositorFakeGraphicsContext3D.h:
+ (WebCore::createCompositorMockGraphicsContext3D):
+ * tests/FakeGraphicsContext3DTest.cpp:
+ (TEST):
+
+2012-02-23 Daniel Sievers <sievers@chromium.org>
+
+ [Chromium] Add video stream texture support
+ https://bugs.webkit.org/show_bug.cgi?id=78398
+
+ This upstreams the abstraction used on Android for
+ hardware video decoding with the compositor.
+
+ Most of the interfaces are kept generic and the core
+ of this change is to allow texturing from an external
+ texture while receiving notifications (on the compositor
+ thread if we are running it) when there are new frames to
+ be displayed.
+
+ Reviewed by James Robinson.
+
+ * WebKit.gyp:
+ * public/WebMediaPlayer.h:
+ (WebKit):
+ (WebKit::WebMediaPlayer::setStreamTextureClient):
+ (WebMediaPlayer):
+ * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
+ (WebKit):
+ (WebStreamTextureClient):
+ (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
+ * public/WebVideoFrame.h:
+ * src/WebMediaPlayerClientImpl.cpp:
+ (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
+ (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
+ (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
+ (WebKit):
+ (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
+ * src/WebMediaPlayerClientImpl.h:
+ (WebMediaPlayerClientImpl):
+
+2012-02-22 James Robinson <jamesr@chromium.org>
+
+ [chromium] Clean up GraphicsContext3D initialization paths
+ https://bugs.webkit.org/show_bug.cgi?id=79321
+
+ Reviewed by Kenneth Russell.
+
+ This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
+ contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
+ WebLayerTreeViewImpl.
+
+ Offscreen initialization path:
+ 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
+ 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
+ 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
+ GraphicsContext3D's m_private pointer.
+
+ Onscreen initialization path:
+ 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
+ or WebLayerTreeViewClient, respectively
+ 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
+ GraphicsContext3D's m_private pointer.
+
+ There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
+ within WebCore.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
+ (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::platformTexture):
+ (WebCore::GraphicsContext3D::create):
+ * src/GraphicsContext3DPrivate.h:
+ (GraphicsContext3DPrivate):
+ * src/WebLayerTreeViewImpl.cpp:
+ (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
+ * src/WebViewImpl.cpp:
+ (std::getCompositorContextAttributes):
+ (WebKit::WebViewImpl::createLayerTreeHostContext3D):
+ (WebKit::WebViewImpl::graphicsContext3D):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::CCLayerTreeHostImplTest::createContext):
+ (CCLayerTreeHostImplTest):
+ (WebKit::TEST_F):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
+ * tests/Canvas2DLayerChromiumTest.cpp:
+ (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
+ * tests/CompositorFakeGraphicsContext3D.h:
+ (WebCore::createCompositorMockGraphicsContext3D):
+ * tests/FakeGraphicsContext3DTest.cpp:
+ (TEST):
+
+2012-02-23 Greg Billock <gbillock@google.com>
+
+ Add UserGestureIndicator capability to Chromium API.
+ https://bugs.webkit.org/show_bug.cgi?id=77690
+
+ Reviewed by Darin Fisher.
+
+ * WebKit.gyp:
+ * public/WebScopedUserGesture.h: Added.
+ * src/WebScopedUserGesture.cpp: Added.
+
+2012-02-23 Peter Beverloo <peter@chromium.org>
+
+ Unreviewed, rolling out r108627 and r108630.
+ https://bugs.webkit.org/show_bug.cgi?id=79367
+
+ ffmpeg is creating issues and was just reverted upstream as well.
+
+ * DEPS:
+
+2012-02-23 Peter Beverloo <peter@chromium.org>
+
+ Unreviewed build fix. Remove the ffmpeg binary directory from the
+ Chromium-Windows DEPS file, following the commit done in the
+ Chromium repository:
+ http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
+
+ * DEPS:
+
+2012-02-23 Peter Beverloo <peter@chromium.org>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-02-22 Hajime Morrita <morrita@chromium.org>
+
+ NOTIFICATIONS should be implemented as PageSupplement
+ https://bugs.webkit.org/show_bug.cgi?id=79052
+
+ Reviewed by Adam Barth.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::WebViewImpl):
+
+2012-02-22 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Add unit test for surface occlusion
+ https://bugs.webkit.org/show_bug.cgi?id=79302
+
+ Reviewed by James Robinson.
+
+ * tests/CCOcclusionTrackerTest.cpp:
+ (WebCore::TEST):
+ (WebCore):
+
+2012-02-22 James Robinson <jamesr@chromium.org>
+
+ Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
+ https://bugs.webkit.org/show_bug.cgi?id=79317
+
+ Reviewed by Kenneth Russell.
+
+ Remove paintsIntoCanvasBuffer() implementations.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore):
+ * src/GraphicsContext3DPrivate.h:
+
+2012-02-22 Yuta Kitamura <yutak@chromium.org>
+
+ Unreviewed, rolling out r108590.
+ http://trac.webkit.org/changeset/108590
+
+ I mistakenly disabled tests even though the fix was already
+ in.
+
+ * tests/CCOcclusionTrackerTest.cpp:
+ (WebCore::TEST):
+
+2012-02-22 Yuta Kitamura <yutak@chromium.org>
+
+ [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
+ which cause assertion failures.
+
+ * tests/CCOcclusionTrackerTest.cpp:
+ (WebCore):
+ (WebCore::TEST):
+
+2012-02-22 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Fix CCOcclusionTracker unit test assertion
+ https://bugs.webkit.org/show_bug.cgi?id=79275
+
+ Reviewed by James Robinson.
+
+ * tests/CCOcclusionTrackerTest.cpp:
+ (WebCore::TEST):
+
+2012-02-22 Ian Vollick <vollick@chromium.org>
+
+ [chromium] Plumb from GraphicsLayer to the cc thread animation code
+ https://bugs.webkit.org/show_bug.cgi?id=75874
+
+ Reviewed by James Robinson.
+
+ * WebKit.gypi:
+ * public/WebSettings.h:
+ * public/platform/WebLayerTreeView.h:
+ (WebKit::WebLayerTreeView::Settings::Settings):
+ (Settings):
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::Settings::operator CCSettings):
+ * src/WebSettingsImpl.cpp:
+ (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
+ (WebKit):
+ * src/WebSettingsImpl.h:
+ (WebSettingsImpl):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+ * tests/CCActiveAnimationTest.cpp:
+ (WebCore::createActiveAnimation):
+ * tests/CCAnimationTestCommon.cpp: Added.
+ (WebKitTests):
+ (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
+ (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
+ (WebKitTests::FakeFloatAnimationCurve::clone):
+ (WebKitTests::FakeTransformTransition::FakeTransformTransition):
+ (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
+ (WebKitTests::FakeTransformTransition::getValue):
+ (WebKitTests::FakeTransformTransition::clone):
+ (WebKitTests::FakeFloatTransition::FakeFloatTransition):
+ (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
+ (WebKitTests::FakeFloatTransition::getValue):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
+ (WebKitTests::FakeFloatTransition::clone):
+ (WebKitTests::addOpacityTransition):
+ * tests/CCAnimationTestCommon.h: Added.
+ (WebCore):
+ (WebKitTests):
+ (FakeFloatAnimationCurve):
+ (WebKitTests::FakeFloatAnimationCurve::duration):
+ (WebKitTests::FakeFloatAnimationCurve::getValue):
+ (FakeTransformTransition):
+ (WebKitTests::FakeTransformTransition::duration):
+ (FakeFloatTransition):
+ (WebKitTests::FakeFloatTransition::duration):
+ (FakeLayerAnimationControllerImplClient):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::id):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
+ (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
+ * tests/CCLayerAnimationControllerImplTest.cpp:
+ (WebKitTests::createActiveAnimation):
+ (WebKitTests::TEST):
+ * tests/CCLayerAnimationControllerTest.cpp: Added.
+ (WebKitTests):
+ (WebKitTests::createActiveAnimation):
+ (WebKitTests::TEST):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::TestHooks::animateLayers):
+ (MockLayerTreeHostImpl):
+ (WTF::MockLayerTreeHostImpl::animateLayers):
+ (WTF::MockLayerTreeHost::create):
+ (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
+ (WTF):
+ (MockLayerAnimationController):
+ (WTF::MockLayerAnimationController::create):
+ (WTF::MockLayerAnimationController::addAnimation):
+ (WTF::MockLayerTreeHostClient::scheduleComposite):
+ (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
+ (CCLayerTreeHostTest):
+ (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
+ (WTF::CCLayerTreeHostTest::doBeginTest):
+ (CCLayerTreeHostTestAddAnimation):
+ (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
+ (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
+ (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
+ (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
+ (WTF::TEST_F):
+ * tests/TreeSynchronizerTest.cpp:
+ (FakeLayerAnimationController):
+ (WebKitTests::FakeLayerAnimationController::create):
+ (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
+ (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
+ (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
+ (WebKitTests):
+ (WebKitTests::TEST):
+
+2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * src/EditorClientImpl.cpp:
+ (WebKit::EditorClientImpl::shouldApplyStyle):
+ * src/EditorClientImpl.h:
+ (EditorClientImpl):
+
+2012-02-22 Daniel Cheng <dcheng@chromium.org>
+
+ [chromium] Cleanup unused WebDragData methods after r107846
+ https://bugs.webkit.org/show_bug.cgi?id=78837
+
+ Reviewed by Tony Chang.
+
+ The deleted methods have been replaced by items() and setItems().
+
+ * public/platform/WebDragData.h:
+ (WebDragData):
+ * src/WebDragData.cpp:
+ (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
+ mutating the item store.
+
+2012-02-22 Tim Dresser <tdresser@chromium.org>
+
+ CCLayerTreeHostImpl calls didDraw more frequently than willDraw
+ https://bugs.webkit.org/show_bug.cgi?id=79139
+
+ Reviewed by James Robinson.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKit::DidDrawCheckLayer::willDraw):
+ (DidDrawCheckLayer):
+ (WebKit::DidDrawCheckLayer::willDrawCalled):
+ (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
+ (WebKit::TEST_F):
+ (WebKit):
+
+2012-02-22 Dana Jansens <danakj@chromium.org>
+
+ [Chromium] New CCOcclusionTracker class with tests
+ https://bugs.webkit.org/show_bug.cgi?id=78549
+
+ Reviewed by James Robinson.
+
+ * WebKit.gypi:
+ * tests/CCLayerTreeHostCommonTest.cpp:
+ (WebCore):
+ * tests/CCOcclusionTrackerTest.cpp: Added.
+ (WebCore):
+ (WebCore::setLayerPropertiesForTesting):
+ (LayerChromiumWithForcedDrawsContent):
+ (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
+ (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
+ (TestCCOcclusionTracker):
+ (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
+ (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
+ (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
+ (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
+ (WebCore::TEST):
+
+2012-02-22 Hao Zheng <zhenghao@chromium.org>
+
+ [chromium] Build WebKit with MEDIA_STREAM disabled.
+ https://bugs.webkit.org/show_bug.cgi?id=79214
+
+ Reviewed by Kent Tamura.
+
+ * src/UserMediaClientImpl.h:
+
+2012-02-20 Roland Steiner <rolandsteiner@chromium.org>
+
+ <style scoped>: Add runtime-flag
+ https://bugs.webkit.org/show_bug.cgi?id=79074
+
+ Added a runtime-flag.
+ Enable default STYLE_SCOPED compile-time flag for Chromium.
+
+ Reviewed by Dimitri Glazkov.
+
+ * features.gypi: enable STYLE_SCOPED
+ * public/WebRuntimeFeatures.h:
+ (WebRuntimeFeatures):
+ * src/WebRuntimeFeatures.cpp:
+ (WebKit::WebRuntimeFeatures::enableStyleScoped):
+ (WebKit):
+ (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
+
+2012-02-22 Yuta Kitamura <yutak@chromium.org>
+
+ Unreviewed, rolling out r108453.
+ http://trac.webkit.org/changeset/108453
+ https://bugs.webkit.org/show_bug.cgi?id=78549
+
+ Broke Chromium's webkit_unit_tests.
+
+ * WebKit.gypi:
+ * tests/CCLayerTreeHostCommonTest.cpp:
+ (WebCore::TEST):
+ (WebCore):
+ * tests/CCOcclusionTrackerTest.cpp: Removed.
+
+2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * src/EditorClientImpl.cpp:
+ (WebKit::EditorClientImpl::shouldApplyStyle):
+ * src/EditorClientImpl.h:
+ (EditorClientImpl):
+
+2012-02-22 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Cull quads outside of the scissoring damage rect
+ https://bugs.webkit.org/show_bug.cgi?id=79181
+
+ Reviewed by James Robinson.
+
+ * tests/CCQuadCullerTest.cpp:
+ (WebCore::TEST):
+ (WebCore):
+
+2012-02-21 Dana Jansens <danakj@chromium.org>
+
+ [Chromium] New CCOcclusionTracker class with tests
+ https://bugs.webkit.org/show_bug.cgi?id=78549
+
+ Reviewed by James Robinson.
+
+ * WebKit.gypi:
+ * tests/CCLayerTreeHostCommonTest.cpp:
+ (WebCore):
+ * tests/CCOcclusionTrackerTest.cpp: Added.
+ (WebCore):
+ (WebCore::setLayerPropertiesForTesting):
+ (LayerChromiumWithForcedDrawsContent):
+ (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
+ (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
+ (TestCCOcclusionTracker):
+ (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
+ (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
+ (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
+ (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
+ (WebCore::TEST):
+
+2012-02-21 MORITA Hajime <morrita@google.com>
+
+ INPUT_SPEECH should be implemented as a PageSupplement.
+ https://bugs.webkit.org/show_bug.cgi?id=79051
+
+ Reviewed by Adam Barth.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::WebViewImpl):
+
+2012-02-20 MORITA Hajime <morrita@google.com>
+
+ MEDIA_STREAM should be implemented as a PageSupplement.
+ https://bugs.webkit.org/show_bug.cgi?id=79050
+
+ Reviewed by Adam Barth.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::WebViewImpl):
+
+2012-02-21 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Painting a layer clears opaque rect in untouched tiles
+ https://bugs.webkit.org/show_bug.cgi?id=79157
+
+ Reviewed by James Robinson.
+
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::TEST):
+
+2012-02-21 James Robinson <jamesr@chromium.org>
+
+ Enable ScrollingCoordinator in chromium whenever compositing is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=79165
+
+ Reviewed by Adam Barth.
+
+ * src/NonCompositedContentHost.cpp:
+ (WebKit::NonCompositedContentHost::setViewport):
+ Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
+ externally to RenderLayerCompositor, so set it here.
+ * src/WebSettingsImpl.cpp:
+ (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
+
+2012-02-21 Daniel Cheng <dcheng@chromium.org>
+
+ [chromium] Fix image drag out on Chromium
+ https://bugs.webkit.org/show_bug.cgi?id=79158
+
+ Reviewed by Tony Chang.
+
+ We constructed the WebDragData::Item for dragging out an image but never added it to the
+ item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
+ but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
+ had diverged.
+
+ * src/WebDragData.cpp:
+ (WebKit::WebDragData::items):
+
+2012-02-21 David Grogan <dgrogan@chromium.org>
+
+ IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
+ https://bugs.webkit.org/show_bug.cgi?id=78659
+
+ After crrev.com/121669, indexed db doesn't use the web frame for
+ anything if called from a web worker.
+
+ No new tests - this check was defensive and possibly not ever
+ triggered.
+
+ Reviewed by Tony Chang.
+
+ * src/IDBFactoryBackendProxy.cpp:
+ (WebKit::IDBFactoryBackendProxy::openFromWorker):
+
+2012-02-21 Yury Semikhatsky <yurys@chromium.org>
+
+ [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
+ https://bugs.webkit.org/show_bug.cgi?id=79097
+
+ Worker script execution will be interrupted for dispatching inspector commands.
+
+ Reviewed by Pavel Feldman.
+
+ * src/WebSharedWorkerImpl.cpp:
+ (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
+
+2012-02-20 Peter Beverloo <peter@chromium.org>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-02-20 Kenichi Ishibashi <bashi@chromium.org>
+
+ [WebSocket] Add deflater/inflater classes
+ https://bugs.webkit.org/show_bug.cgi?id=78449
+
+ Add tests which ensure WebSocketDeflater/WebSocketInflater can
+ compress/decompress data correctly.
+
+ Reviewed by Kent Tamura.
+
+ * WebKit.gypi: Added zlib dependency.
+ * WebKitUnitTests.gyp: Ditto.
+ * tests/WebSocketDeflaterTest.cpp: Added.
+ (WebCore):
+ (WebCore::TEST):
+
+2012-02-17 Yury Semikhatsky <yurys@chromium.org>
+
+ [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
+ https://bugs.webkit.org/show_bug.cgi?id=78899
+
+ Pass original WorkerContextProxy object to the inspector instrumentation instead
+ of Chromium-specific one for consistency with WorkerMessagingProxy implementation
+ in WebCore.
+
+ Reviewed by Pavel Feldman.
+
+ * src/WebWorkerClientImpl.cpp:
+ (WebKit::WebWorkerClientImpl::startWorkerContext):
+
+2012-02-18 raman Tenneti <rtenneti@chromium.org>
+
+ Track the NPN protocol version negotiated with the server
+ https://bugs.webkit.org/show_bug.cgi?id=77349
+
+ Reviewed by Darin Fisher.
+
+ [chromium] Added ExtraData to WebURLResponse.
+
+ * WebKit.gypi:
+ * public/platform/WebURLResponse.h:
+ (ExtraData):
+ (WebKit::WebURLResponse::ExtraData::~ExtraData):
+ (WebURLResponse):
+ * src/WebURLResponse.cpp:
+ (WebKit::WebURLResponse::extraData):
+ (WebKit):
+ (WebKit::WebURLResponse::setExtraData):
+ * tests/WebURLResponseTest.cpp: Added.
+ (WebKit):
+ (TestExtraData):
+ (WebKit::TestExtraData::TestExtraData):
+ (WebKit::TestExtraData::~TestExtraData):
+ (WebKit::TEST):
+
+2012-02-17 Joshua Bell <jsbell@chromium.org>
+
+ IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
+ https://bugs.webkit.org/show_bug.cgi?id=78399
+
+ Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
+ to exercise the overload capability.
+
+ Reviewed by Tony Chang.
+
+ * src/IDBObjectStoreBackendProxy.cpp:
+ (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
+ (WebKit):
+ * src/IDBObjectStoreBackendProxy.h:
+ (IDBObjectStoreBackendProxy):
+ * src/WebIDBObjectStoreImpl.cpp:
+ (WebKit::WebIDBObjectStoreImpl::deleteFunction):
+ (WebKit):
+ * src/WebIDBObjectStoreImpl.h:
+ (WebIDBObjectStoreImpl):
+
+2012-02-17 Michal Mocny <mmocny@google.com>
+
+ [chromium] GL_CHROMIUM_gpu_memory_manager extension
+ https://bugs.webkit.org/show_bug.cgi?id=77155
+
+ Reviewed by James Robinson.
+
+ * public/platform/WebGraphicsContext3D.h:
+ (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
+ (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
+ (WebGraphicsContext3D):
+ (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
+ * src/Extensions3DChromium.cpp:
+ (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
+ (WebCore):
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3D::~GraphicsContext3D):
+ (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
+ * src/GraphicsContext3DPrivate.h:
+ (WebCore):
+ * tests/FakeWebGraphicsContext3D.h:
+ (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
+ (FakeWebGraphicsContext3D):
+
+2012-02-17 Mihnea Ovidenie <mihnea@adobe.com>
+
+ CSS regions enabled by default
+ https://bugs.webkit.org/show_bug.cgi?id=78525
+
+ Reviewed by David Hyatt.
+
+ Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
+ CSSRegions are still enabled by default.
+ In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
+
+ * public/WebSettings.h:
+ * src/WebSettingsImpl.cpp:
+ (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
+ (WebKit):
+ * src/WebSettingsImpl.h:
+ (WebSettingsImpl):
+
+2012-02-17 Scott Graham <scottmg@chromium.org>
+
+ [Chromium] pack Gamepad shared memory structure
+ https://bugs.webkit.org/show_bug.cgi?id=78022
+
+ Reviewed by Darin Fisher.
+
+ Add #pragma pack around definition of shared memory structures to
+ avoid differences across compilers and platforms. Add COMPILE_ASSERT
+ to verify expected size.
+
+ * public/platform/WebGamepad.h:
+ (WebKit):
+ * public/platform/WebGamepads.h:
+ (WebKit):
+
+2012-02-17 Tim Dresser <tdresser@chromium.org>
+
+ [chromium] Refactor video drawing to be more data driven
+ https://bugs.webkit.org/show_bug.cgi?id=76720
+
+ Reviewed by James Robinson.
+
+ CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
+ CCLayerImpl::didDraw() is called on all layers, including layers
+ on different render surfaces.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (DidDrawCheckLayer):
+ (WebKit::DidDrawCheckLayer::create):
+ (WebKit::DidDrawCheckLayer::didDraw):
+ (WebKit::DidDrawCheckLayer::didDrawCalled):
+ (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
+ (WebKit):
+ (WebKit::TEST_F):
+
+2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Unreviewed, rolling out r108071.
+ http://trac.webkit.org/changeset/108071
+ https://bugs.webkit.org/show_bug.cgi?id=77155
+
+ chromium-mac compilation failed
+
+ * public/platform/WebGraphicsContext3D.h:
+ (WebGraphicsContext3D):
+ * src/Extensions3DChromium.cpp:
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3D::~GraphicsContext3D):
+ * src/GraphicsContext3DPrivate.h:
+ (WebCore):
+ * tests/FakeWebGraphicsContext3D.h:
+
+2012-02-17 Michal Mocny <mmocny@google.com>
+
+ [chromium] GL_CHROMIUM_gpu_memory_manager extension
+ https://bugs.webkit.org/show_bug.cgi?id=77155
+
+ Reviewed by James Robinson.
+
+ * public/platform/WebGraphicsContext3D.h:
+ (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
+ (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
+ (WebGraphicsContext3D):
+ (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
+ * src/Extensions3DChromium.cpp:
+ (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
+ (WebCore):
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3D::~GraphicsContext3D):
+ (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
+ (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
+ (WebCore):
+ (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
+ * src/GraphicsContext3DPrivate.h:
+ (WebCore):
+ * tests/FakeWebGraphicsContext3D.h:
+ (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
+ (FakeWebGraphicsContext3D):
+
+2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Unreviewed. Chromium DEPS roll
+
+ * DEPS: from 122122 to 122498
+
+2012-02-16 Alexandre Elias <aelias@google.com>
+
+ [chromium] Bundle page scale factor and limits in CCLayerTreeHost
+ https://bugs.webkit.org/show_bug.cgi?id=78762
+
+ Setting page scale factor and its limits in separate methods
+ may cause clamping bugs if one of them makes it to the
+ impl thread before the other. Change the API to bundle them together,
+ which matches the existing impl-side interface.
+
+ Reviewed by James Robinson.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::computePageScaleFactorLimits):
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+ (WebKit::WebViewImpl::updateLayerTreeViewport):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
+
+2012-02-16 Varun Jain <varunjain@google.com>
+
+ [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
+ https://bugs.webkit.org/show_bug.cgi?id=72909
+
+ Reviewed by James Robinson.
+
+ * src/WebViewImpl.cpp:
+ (std):
+ (WebKit):
+ (WebKit::WebViewImpl::computeBlockBounds):
+ (WebKit::WebViewImpl::widenRectWithinPageBounds):
+ (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+ * tests/WebFrameTest.cpp:
+ (WebKit):
+ (WebKit::TEST_F):
+ * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
+
+2012-02-16 Sami Kyostila <skyostil@chromium.org>
+
+ [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
+ https://bugs.webkit.org/show_bug.cgi?id=77464
+
+ Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
+ the contents scale changes. Also enhance and existing unit test for LayerChromium to
+ verify the paint rectangle dimensions instead just checking that it is not empty.
+
+ Reviewed by James Robinson.
+
+ * tests/LayerChromiumTest.cpp:
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
+ (FakeTiledLayerChromium):
+ (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
+ (WTF::TEST):
+ (WTF):
+
+2012-02-16 MORITA Hajime <morrita@google.com>
+
+ https://bugs.webkit.org/show_bug.cgi?id=78065
+ [Chromium] Should eliminate WebTextCheckingResult legacy APIs
+
+ Reviewed by Kent Tamura.
+
+ Removed unused legacy members.
+
+ * public/WebTextCheckingResult.h:
+ (WebKit::WebTextCheckingResult::WebTextCheckingResult):
+ (WebTextCheckingResult):
+ * src/AssertMatchingEnums.cpp:
+
+2012-02-16 Evan Martin <evan@chromium.org>
+
+ [chromium] pull third_party/gold to fix linux build
+ https://bugs.webkit.org/show_bug.cgi?id=78842
+
+ Reviewed by Tony Chang.
+
+ The Chrome build now depends on third_party/gold also being checked out.
+
+ * DEPS:
+
+2012-02-15 Michael Nordman <michaeln@google.com>
+
+ Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
+ https://bugs.webkit.org/show_bug.cgi?id=78841
+
+ WebDatabase now delegates this function entirely to DatabaseTracker.
+ This is part of resolving http://crbug.com/98939
+
+ Reviewed by David Levin.
+
+ * src/WebDatabase.cpp:
+ (WebKit::WebDatabase::closeDatabaseImmediately):
+
+2012-02-16 Dana Jansens <danakj@chromium.org>
+
+ [Chromium] Occlusion tracking with CSS filters
+ https://bugs.webkit.org/show_bug.cgi?id=77498
+
+ Reviewed by James Robinson.
+
+ * tests/CCLayerTreeHostTest.cpp:
+ (CCLayerTreeHostTestLayerOcclusionWithFilters):
+ (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
+ (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
+ (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
+ (WTF):
+
+2012-02-16 Joshua Bell <jsbell@chromium.org>
+
+ IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
+ https://bugs.webkit.org/show_bug.cgi?id=78619
+
+ Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
+
+ Reviewed by Darin Fisher.
+
+ * public/WebIDBObjectStore.h:
+ (WebKit::WebIDBObjectStore::deleteFunction):
+
+2012-02-16 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
+ https://bugs.webkit.org/show_bug.cgi?id=78775
+
+ Reviewed by Stephen White.
+
+ * tests/PlatformContextSkiaTest.cpp:
+ (WebCore::TEST):
+
+2012-02-16 Daniel Cheng <dcheng@chromium.org>
+
+ [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
+ https://bugs.webkit.org/show_bug.cgi?id=78843
+
+ Reviewed by Tony Chang.
+
+ * public/platform/WebDragData.h:
+ (WebDragData):
+
+2012-02-16 Viet-Trung Luu <viettrungluu@chromium.org>
+
+ [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
+ https://bugs.webkit.org/show_bug.cgi?id=78166
+
+ Reviewed by Darin Fisher.
+
+ * public/WebPluginContainer.h:
+ (WebPluginContainer):
+ * src/WebPluginContainerImpl.cpp:
+ * src/WebPluginContainerImpl.h:
+ (WebPluginContainerImpl):
+
+2012-02-16 Yosifumi Inoue <yosin@chromium.org>
+
+ Build Fix: R107894 breaks Chromium Linux Build.
+ https://bugs.webkit.org/show_bug.cgi?id=78790
+
+ WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
+
+ Reviewed by Kent Tamura.
+
+ * src/WebDragData.cpp:
+ (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
+
+2012-02-15 Sami Kyostila <skyostil@google.com>
+
+ Enable -webkit-overflow-scrolling CSS property
+ https://bugs.webkit.org/show_bug.cgi?id=78664
+
+ Reviewed by Eric Seidel.
+
+ * features.gypi:
+
+2012-02-15 Tommy Widenflycht <tommyw@google.com>
+
+ MediaStream API: Removing SecurityContext from the embedder API
+ https://bugs.webkit.org/show_bug.cgi?id=73816
+
+ Reviewed by Darin Fisher.
+
+ * bridge/PeerConnectionHandler.cpp:
+ (WebCore::PeerConnectionHandler::create):
+ (WebCore::PeerConnectionHandler::PeerConnectionHandler):
+ * bridge/PeerConnectionHandlerInternal.cpp:
+ (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
+ * bridge/PeerConnectionHandlerInternal.h:
+ (WebCore):
+ (PeerConnectionHandlerInternal):
+ * public/platform/WebPeerConnectionHandler.h:
+ (WebPeerConnectionHandler):
+ (WebKit::WebPeerConnectionHandler::initialize):
+
+2012-02-15 Peter Beverloo <peter@chromium.org>
+
+ [Chromium] Roll DEPS to r122122
+ https://bugs.webkit.org/show_bug.cgi?id=78754
+
+ Unreviewed DEPS roll.
+
+ * DEPS:
+
+2012-02-01 Daniel Cheng <dcheng@chromium.org>
+
+ [chromium] Add setter/getter to expose drag data as a list of items
+ https://bugs.webkit.org/show_bug.cgi?id=77125
+
+ This change supports the unification of the data store backing ChromiumDataObject and
+ DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
+ as a list of data nodes to make it more straightforward to implement the HTML spec for
+ DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
+ simplify the serialization/deserialization between platform-specific data and WebDragData.
+ The other setter/getter methods are deprecated and will be removed once the dependencies in
+ Chromium code are gone.
+
+ Reviewed by Darin Fisher.
+
+ * public/platform/WebDragData.h:
+ (WebKit):
+ (WebDragData):
+ * src/WebDragData.cpp:
+ (WebKit::WebDragData::items):
+ (WebKit):
+ (WebKit::WebDragData::setItems):
+ (WebKit::WebDragData::addItem):
+
+2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
+
+ Notify ChromeClient when touch-event handlers are installed/removed.
+ https://bugs.webkit.org/show_bug.cgi?id=77440
+
+ Reviewed by Darin Fisher and Ryosuke Niwa.
+
+ * public/WebViewClient.h:
+ (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
+ * src/ChromeClientImpl.cpp:
+ (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
+ (WebKit):
+ * src/ChromeClientImpl.h:
+ (ChromeClientImpl):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
+ (WebKit):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+
+2012-02-15 Anders Carlsson <andersca@apple.com>
+
+ Remove ScrollableArea::handleGestureEvent
+ https://bugs.webkit.org/show_bug.cgi?id=78661
+
+ Reviewed by Adam Roben.
+
+ Update for WebCore changes.
+
+ * src/WebPluginContainerImpl.cpp:
+ * src/WebPluginContainerImpl.h:
+ (WebPluginContainerImpl):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::gestureEvent):
+
+2012-02-14 Takashi Toyoshima <toyoshim@chromium.org>
+
+ Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
+ https://bugs.webkit.org/show_bug.cgi?id=78581
+
+ Reviewed by Kent Tamura.
+
+ Now, there is no way to convert SocketStreamHandle to
+ WebSocketStreamHandle. In subsequent changes, I'll use this function
+ in FrameLoaderClientImpl.
+
+ * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
+ * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
+ (WebKit):
+ (WebCore):
+ (SocketStreamHandleInternal):
+ (WebCore::SocketStreamHandleInternal::create):
+ (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
+ * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
+
+2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r107766.
+ http://trac.webkit.org/changeset/107766
+ https://bugs.webkit.org/show_bug.cgi?id=78665
+
+ Breaks Chromium Win build (Requested by bashi1 on #webkit).
+
+ * WebKit.gypi:
+ * tests/WebSocketDeflaterTest.cpp: Removed.
+
+2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
+
+ [WebSocket] Add extension attribute support
+ https://bugs.webkit.org/show_bug.cgi?id=78557
+
+ Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
+
+ Reviewed by Kent Tamura.
+
+ * tests/WebSocketExtensionDispatcherTest.cpp:
+ (WebCore::TEST_F):
+
+2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
+
+ [WebSocket] Add deflater/inflater classes.
+ https://bugs.webkit.org/show_bug.cgi?id=78449
+
+ Add tests which ensure WebSocketDeflater/WebSocketInflater can
+ compress/decompress data correctly.
+
+ Reviewed by Kent Tamura.
+
+ * WebKit.gypi:
+ * tests/WebSocketDeflaterTest.cpp: Added.
+ (WebCore):
+ (WebCore::TEST):
+
+2012-02-14 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
+ https://bugs.webkit.org/show_bug.cgi?id=78643
+
+ Reviewed by James Robinson.
+
+ * tests/CCLayerImplTest.cpp:
+ (WebCore::TEST):
+
+2012-02-14 Ramya Chandrasekaran <cramya@google.com>
+
+ Last character display for passwords in Android.
+ https://bugs.webkit.org/show_bug.cgi?id=78532
+
+ Reviewed by Adam Barth.
+
+ * public/WebSettings.h:
+ * src/WebSettingsImpl.cpp:
+ (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
+ (WebKit):
+ (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
+ * src/WebSettingsImpl.h:
+ (WebSettingsImpl):
+
+2012-02-14 David Reveman <reveman@chromium.org>
+
+ [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
+ https://bugs.webkit.org/show_bug.cgi?id=76937
+
+ Reviewed by James Robinson.
+
+ Add perTilePainting to WebLayerTreeView::Settings.
+
+ * public/platform/WebLayerTreeView.h:
+ (WebKit::WebLayerTreeView::Settings::Settings):
+ (Settings):
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::Settings::operator CCSettings):
+
+2012-02-14 Vsevolod Vlasov <vsevik@chromium.org>
+
+ Web Inspector: Make ScriptsNavigator default file selector.
+ https://bugs.webkit.org/show_bug.cgi?id=78349
+
+ Reviewed by Pavel Feldman.
+
+ * src/js/Tests.js:
+ (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
+ (.TestSuite.prototype.uiSourceCodesToString_):
+ (.TestSuite.prototype.nonAnonymousUISourceCodes_):
+ (.TestSuite.prototype._scriptsAreParsed):
+ (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
+ (.TestSuite.prototype._waitUntilScriptsAreParsed):
+
+2012-02-14 Hayato Ito <hayato@chromium.org>
+
+ Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
+ https://bugs.webkit.org/show_bug.cgi?id=77514
+
+ Reviewed by Dimitri Glazkov.
+
+ NodeType.SHADOW_ROOT_NODE type is finally gone.
+
+ * src/WebPageSerializerImpl.cpp:
+ (WebKit::WebPageSerializerImpl::buildContentForNode):
+
+2012-02-14 David Reveman <reveman@chromium.org>
+
+ [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
+ https://bugs.webkit.org/show_bug.cgi?id=76927
+
+ Reviewed by James Robinson.
+
+ Remove unnecessary initialization and include maxPartialTextureUpdates
+ in FIXME comment.
+
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::Settings::operator CCSettings):
+
+2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r107661.
+ http://trac.webkit.org/changeset/107661
+ https://bugs.webkit.org/show_bug.cgi?id=78591
+
+ crash on lion/qt bots (Requested by hayato on #webkit).
+
+ * src/WebPageSerializerImpl.cpp:
+ (WebKit::WebPageSerializerImpl::buildContentForNode):
+
+2012-02-14 Yuzhu Shen <yzshen@chromium.com>
+
+ [chromium] Pepper plugins don't receive mouse movement information in
+ non-mouse-lock mode.
+ https://bugs.webkit.org/show_bug.cgi?id=78014
+
+ This change makes WebMouseEventBuilder pass along mouse movement
+ information properly.
+
+ There isn't test for this change because:
+ - the movement information added is only used by pepper, and there
+ isn't any test for pepper at the WebKit side. (WebKit doesn't know
+ about pepper.)
+ - this change is trivial. It just copies two newly-added data fields
+ from MouseEvent to WebMouseEventBuilder during conversion.
+
+ Reviewed by Tony Chang.
+
+ * src/WebInputEventConversion.cpp:
+ (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
+
+2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Convert svg/animations to use SMIL methods for driving the timeline
+ https://bugs.webkit.org/show_bug.cgi?id=78422
+
+ Reviewed by Dirk Schulze.
+
+ Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
+ Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
+
+ * public/WebFrame.h:
+ (WebFrame):
+ * src/WebFrameImpl.cpp:
+ * src/WebFrameImpl.h:
+ (WebFrameImpl):
+
+2012-02-13 Mihai Parparita <mihaip@chromium.org>
+
+ [Chromium] Remove BoundObject
+ https://bugs.webkit.org/show_bug.cgi?id=78531
+
+ Reviewed by Pavel Feldman.
+
+ Remove the BoundObject class, references to it were removed in r56999.
+
+ * WebKit.gyp:
+ * src/BoundObject.cpp: Removed.
+ * src/BoundObject.h: Removed.
+ * src/WebDevToolsFrontendImpl.cpp:
+
+2012-02-13 W. James MacLean <wjmaclean@chromium.org>
+
+ [chromium] Remove obsolete zoom animation pathway.
+ https://bugs.webkit.org/show_bug.cgi?id=78359
+
+ Reviewed by James Robinson.
+
+ This patch removes dead code from the previous incarnation of zoom animation for chromium.
+
+ * src/WebViewImpl.cpp:
+
+2012-02-13 Hayato Ito <hayato@chromium.org>
+
+ Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
+ https://bugs.webkit.org/show_bug.cgi?id=77514
+
+ Reviewed by Dimitri Glazkov.
+
+ NodeType.SHADOW_ROOT_NODE type is finally gone.
+
+ * src/WebPageSerializerImpl.cpp:
+ (WebKit::WebPageSerializerImpl::buildContentForNode):
+
+2012-02-13 Nico Weber <thakis@chromium.org>
+
+ [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
+ https://bugs.webkit.org/show_bug.cgi?id=78246
+
+ This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
+ and helps with the component build on mac (InitWebCoreSystemInterface is not an
+ exported function, and it shouldn't be).
+
+ Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
+ called twice, so it's safe to land this change, and remove the calls in client
+ code in a later CL.
+
+ Reviewed by Darin Fisher.
+
+ * src/WebKit.cpp:
+ (WebKit::initializeWithoutV8):
+
+2012-02-13 Yosifumi Inoue <yosin@chromium.org>
+
+ [Forms] Use enum instead of bool for HTMLInputElement::setValue
+ https://bugs.webkit.org/show_bug.cgi?id=75217
+
+ Reviewed by Kent Tamura.
+
+ * src/WebInputElement.cpp:
+ (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
+
+2012-02-12 Hajime Morrita <morrita@chromium.org>
+
+ Page should have less intrusive way to associate API implementation objects.
+ https://bugs.webkit.org/show_bug.cgi?id=78085
+
+ Reviewed by Adam Barth.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::WebViewImpl):
+
+2012-02-10 David Grogan <dgrogan@chromium.org>
+
+ Disable IndexedDB permissions check from shared workers
+ https://bugs.webkit.org/show_bug.cgi?id=78316
+
+ We want to temporarily bypass this check because it causes a crash
+ when called from a shared worker. We'll have to fix it before
+ including idb on shared workers in a release but don't want to stop
+ developers from testing out idb on shared workers.
+
+ No new tests because it affects shared workers only, which aren't
+ testable by DRT.
+
+ Reviewed by Tony Chang.
+
+ * src/IDBFactoryBackendProxy.cpp:
+ (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
+
+2012-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-02-09 Kenichi Ishibashi <bashi@chromium.org>
+
+ Add WebSocket extension support
+ https://bugs.webkit.org/show_bug.cgi?id=78079
+
+ Add some tests which check WebSocketExtensions::processHeaderValue()
+ parses the given response correctly.
+
+ Reviewed by Kent Tamura.
+
+ * WebKit.gypi:
+ * tests/WebSocketExtensionDispatcherTest.cpp: Added.
+ (WebCore):
+ (MockWebSocketExtensionProcessor):
+ (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
+ (WebSocketExtensionDispatcherTest):
+ (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
+ (WebCore::WebSocketExtensionDispatcherTest::SetUp):
+ (WebCore::WebSocketExtensionDispatcherTest::TearDown):
+ (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
+ (WebCore::WebSocketExtensionDispatcherTest::appendResult):
+ (WebCore::MockWebSocketExtensionProcessor::processResponse):
+ (WebCore::TEST_F):
+
+2012-02-09 W. James MacLean <wjmaclean@chromium.org>
+
+ [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
+ https://bugs.webkit.org/show_bug.cgi?id=77872
+
+ Reviewed by James Robinson.
+
+ Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
+ WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
+
+ * src/WebViewImpl.cpp:
+ (WebKit):
+ (WebKit::WebViewImpl::startPageScaleAnimation):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF):
+ (CCLayerTreeHostTestStartPageScaleAnimation):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
+ (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
+ (WTF::TEST_F):
+
+2012-02-09 John Bates <jbates@google.com>
+
+ [Chromium] Add chromium-style tracing support
+ https://bugs.webkit.org/show_bug.cgi?id=76885
+
+ Reviewed by Darin Fisher.
+
+ This code enables WebKit trace events to pass through more data to the
+ chromium platform tracing API and generally to use the full tracing
+ API provided by chromium.
+
+ * public/platform/WebKitPlatformSupport.h:
+ (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
+ (WebKit::WebKitPlatformSupport::addTraceEvent):
+ * src/PlatformSupport.cpp:
+ (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
+ (WebCore::PlatformSupport::addTraceEvent):
+
+2012-02-09 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Plumb setNeedsRedraw.
+ https://bugs.webkit.org/show_bug.cgi?id=78248
+
+ Reviewed by James Robinson.
+
+ * public/platform/WebLayerTreeView.h:
+ (WebLayerTreeView):
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::setNeedsRedraw):
+ (WebKit):
+
+2012-02-09 Jonathan Backer <backer@chromium.org>
+
+ [chromium] Add setNeedsRedraw to WebWidget
+ https://bugs.webkit.org/show_bug.cgi?id=77555
+
+ Reviewed by James Robinson.
+
+ * public/WebWidget.h:
+ (WebWidget):
+ (WebKit::WebWidget::setNeedsRedraw):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::setNeedsRedraw):
+ (WebKit):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+
+2012-02-08 Raymond Liu <raymond.liu@intel.com>
+
+ Fix a typo for r107125
+ https://bugs.webkit.org/show_bug.cgi?id=77804
+
+ Reviewed by James Robinson.
+
+ * tests/WebCompositorInputHandlerImplTest.cpp:
+
+2012-02-08 David Reveman <reveman@chromium.org>
+
+ [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
+ https://bugs.webkit.org/show_bug.cgi?id=76740
+
+ Reviewed by James Robinson.
+
+ Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
+ TiledLayerChromiumTest.partialUpdates tests that verifies
+ atomicity of commits with partial updates.
+
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
+ (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
+ (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
+ (WTF::CCLayerTreeHostTestAtomicCommit::layout):
+ (CCLayerTreeHostTestAtomicCommit):
+ (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
+ (WTF):
+ (WTF::TEST_F):
+ * tests/TiledLayerChromiumTest.cpp:
+ (WTF::FakeLayerTextureUpdater::Texture::Texture):
+ (WTF::FakeLayerTextureUpdater::Texture::updateRect):
+ (Texture):
+ (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
+ (FakeLayerTextureUpdater):
+ (WTF::FakeLayerTextureUpdater::updateCount):
+ (WTF::FakeLayerTextureUpdater::clearUpdateCount):
+ (WTF::FakeLayerTextureUpdater::updateRect):
+ (WTF::FakeLayerTextureUpdater::createTexture):
+ (FakeTiledLayerChromium):
+ (WTF::TEST):
+ (WTF):
+
+2012-02-07 MORITA Hajime <morrita@google.com>
+
+ Replacement text should be available from the marker.
+ https://bugs.webkit.org/show_bug.cgi?id=77934
+
+ didFinishCheckingText() accidentally dropped the description text
+ given from the backend. Fixed to copy it on the API-to-Core
+ convertion. The test won't work without this fix.
+
+ Reviewed by Kent Tamura.
+
+ * src/WebTextCheckingCompletionImpl.cpp:
+ (WebKit::toCoreResults):
+
+2012-02-08 Dmitry Lomov <dslomov@chromium.org>
+
+ [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
+ https://bugs.webkit.org/show_bug.cgi?id=78150
+ Handle case when the frame is shut down under us gracefully.
+
+ Reviewed by David Levin.
+
+ * src/DatabaseObserver.cpp:
+ (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
+ * src/IDBFactoryBackendProxy.cpp:
+ (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
+ * src/WebWorkerClientImpl.cpp:
+ (WebKit::WebWorkerClientImpl::allowFileSystem):
+ (WebKit::WebWorkerClientImpl::allowDatabase):
+ (WebKit::WebWorkerClientImpl::view):
+
+2012-02-08 Adam Klein <adamk@chromium.org>
+
+ DOM mutations should not be delivered on worker threads
+ https://bugs.webkit.org/show_bug.cgi?id=77898
+
+ Reviewed by Dmitry Titov.
+
+ * src/WebDevToolsFrontendImpl.cpp:
+ (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
+
+2012-02-08 Scott Graham <scottmg@chromium.org>
+
+ Roll Chromium DEPS
+ https://bugs.webkit.org/show_bug.cgi?id=78152
+
+ Reviewed by Adam Barth.
+
+ * DEPS:
+
+2012-02-08 Dana Jansens <danakj@chromium.org>
+
+ [Chromium] Fix opaque tracking for box shadows and non-composited child elements
+ https://bugs.webkit.org/show_bug.cgi?id=78073
+
+ Reviewed by Stephen White.
+
+ * tests/PlatformContextSkiaTest.cpp:
+ (WebCore::TEST):
+ (WebCore):
+
+2012-02-08 Shawn Singh <shawnsingh@chromium.org>
+
+ [chromium] Remove incorrect early exit in CCDamageTracker
+ https://bugs.webkit.org/show_bug.cgi?id=76924
+
+ Reviewed by James Robinson.
+
+ * tests/CCDamageTrackerTest.cpp:
+ (WebKitTests::emulateDrawingOneFrame):
+ (WebKitTests::TEST_F):
+ (WebKitTests):
+
+2012-02-08 Sadrul Habib Chowdhury <sadrul@chromium.org>
+
+ Add support for pinch gesture processing in the MT compositor.
+ https://bugs.webkit.org/show_bug.cgi?id=77804
+
+ Reviewed by James Robinson.
+
+ * public/WebInputEvent.h:
+ * src/WebCompositorInputHandlerImpl.cpp:
+ (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
+ (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
+ * src/WebCompositorInputHandlerImpl.h:
+ (WebCompositorInputHandlerImpl):
+ * src/WebInputEventConversion.cpp:
+ (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
+ * src/WebPopupMenuImpl.cpp:
+ (WebKit::WebPopupMenuImpl::handleInputEvent):
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::handleInputEvent):
+ * tests/WebCompositorInputHandlerImplTest.cpp:
+
+2012-02-08 Nico Weber <nicolasweber@gmx.de>
+
+ [chromium] Make dependency on Accelerate.framework explicit.
+ https://bugs.webkit.org/show_bug.cgi?id=78131
+
+ It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
+ dependency is needed to build a libwebkit.dylib.
+
+ Reviewed by Tony Chang.
+
+ * WebKit.gyp:
+
+2012-02-08 Bernhard Bauer <bauerb@google.com>
+
+ [Chromium] Don't add selection from password fields to context menu.
+ https://bugs.webkit.org/show_bug.cgi?id=77733
+
+ Reviewed by Adam Barth.
+
+ * src/ContextMenuClientImpl.cpp:
+ (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
+
+2012-02-08 Nico Weber <nicolasweber@gmx.de>
+
+ [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
+ https://bugs.webkit.org/show_bug.cgi?id=78130
+
+ Reviewed by Tony Chang.
+
+ * WebKit.gyp:
+
2012-02-08 Alexei Svitkine <asvitkine@chromium.org>
Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.

Powered by Google App Engine
This is Rietveld 408576698