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

Unified Diff: Source/WebKit/chromium/ChangeLog

Issue 10199014: Merge 114800 - [chromium] Plumb a compositor surface ready notification through to the threaded com… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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 114977)
+++ Source/WebKit/chromium/ChangeLog (working copy)
@@ -1,3 +1,467 @@
+2012-04-20 James Robinson <jamesr@chromium.org>
+
+ [chromium] Plumb a compositor surface ready notification through to the threaded compositor
+ https://bugs.webkit.org/show_bug.cgi?id=84305
+
+ Reviewed by Adrienne Walker.
+
+ Adds a notification to WebWidget for when the compositor surface is ready to use. This exists to fix a race
+ condition when WebKit requires that we enter compositing mode but we haven't completed initialization of the
+ native window/etc backing the WebWidget, and we can't block for this initialization to complete without inducing
+ deadlocks. In this situation, we proceed as usual except that we can't attempt to use the compositor context or
+ it will fail.
+
+ * public/WebWidget.h:
+ (WebWidget):
+ * src/WebLayerTreeView.cpp:
+ (WebKit::WebLayerTreeView::setSurfaceReady):
+ (WebKit):
+ * src/WebPagePopupImpl.cpp:
+ (WebKit::WebPagePopupImpl::setCompositorSurfaceReady):
+ (WebKit):
+ * src/WebPagePopupImpl.h:
+ (WebPagePopupImpl):
+ * src/WebPopupMenuImpl.cpp:
+ (WebKit::WebPopupMenuImpl::setCompositorSurfaceReady):
+ (WebKit):
+ * src/WebPopupMenuImpl.h:
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::setCompositorSurfaceReady):
+ (WebKit):
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+ * src/WebViewImpl.h:
+ (WebViewImpl):
+
+2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call memoryUsageMB directly
+ https://bugs.webkit.org/show_bug.cgi?id=84376
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore):
+
+2012-04-20 Adrienne Walker <enne@google.com>
+
+ [chromium] Clip TransparencyWin to prevent OOM from large Skia canvas
+ https://bugs.webkit.org/show_bug.cgi?id=84289
+
+ Reviewed by James Robinson.
+
+ Add a test that would OOM if the layer wasn't clipped. Also, verify
+ that clipping the canvas doesn't shift pixels around incorrectly.
+
+ * tests/TransparencyWinTest.cpp:
+ (WebCore::testClippedLayerKeepTransform):
+ (WebCore):
+ (WebCore::TEST):
+
+2012-04-20 Brady Eidson <beidson@apple.com>
+
+ https://bugs.webkit.org/show_bug.cgi?id=84490
+ PageGroupLoadDeferrer needs to take a ReasonForSuspension argument
+
+ Reviewed by Anders Carlsson.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebView::willEnterModalLoop): Pass along ActiveDOMObject::WillShowDialog, which used
+ to be the default.
+
+2012-04-20 James Robinson <jamesr@chromium.org>
+
+ Avoid synchronously recalculating the nonFastScrollableRegion when the ScrollableArea set changes
+ https://bugs.webkit.org/show_bug.cgi?id=84470
+
+ Reviewed by Anders Carlsson.
+
+ Trigger a layout when a plugin becomes or stops being scrollable so the nonFastScrollableRegion
+ can be updated.
+
+ * src/ScrollbarGroup.cpp:
+ (WebKit::ScrollbarGroup::scrollbarCreated):
+ (WebKit::ScrollbarGroup::scrollbarDestroyed):
+
+2012-04-20 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Some filters require inflating damage rect in CCDamageTracker
+ https://bugs.webkit.org/show_bug.cgi?id=84373
+
+ Reviewed by James Robinson.
+
+ * tests/CCDamageTrackerTest.cpp:
+ (WebKitTests::emulateDrawingOneFrame):
+ (WebKitTests::TEST_F):
+ (WebKitTests):
+
+2012-04-20 Sami Kyostila <skyostil@chromium.org>
+
+ [chromium] Don't crash when scrolling empty layer tree
+ https://bugs.webkit.org/show_bug.cgi?id=84455
+
+ Reviewed by James Robinson.
+
+ Try to scroll an empty layer tree.
+
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKitTests::TEST_F):
+ (WebKitTests):
+
+2012-04-20 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed. Rolled DEPS.
+
+ * DEPS:
+
+2012-04-20 'Pavel Feldman' <pfeldman@chromium.org>
+
+ Not reviewed: fixed chromium sanity tests for inspector via assigning last path component
+ to entire url for parsed urls with invalid specs.
+
+ * src/js/Tests.js:
+ (.TestSuite.prototype._scriptsAreParsed):
+
+2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call cacheMetadata directly
+ https://bugs.webkit.org/show_bug.cgi?id=84415
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore):
+
+2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call stopSharedTimer directly
+ https://bugs.webkit.org/show_bug.cgi?id=84418
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore):
+
+2012-04-19 Jeremy Mao <yujie.mao@intel.com>
+
+ Media Stream API: Piece of code cleanup for the chromium port
+ https://bugs.webkit.org/show_bug.cgi?id=84328
+
+ Reviewed by Kent Tamura.
+
+ Remove some deprecated interfaces.
+
+ No new tests. No behavior changes.
+
+ * public/WebUserMediaClient.h:
+ Remove deprecated requestUserMedia interface.
+ * public/WebUserMediaRequest.h:
+ Remove deprecated requestSucceeded interface.
+ * src/UserMediaClientImpl.cpp:
+ (WebKit::UserMediaClientImpl::requestUserMedia):
+ Use the requestUserMedia split sources implementation.
+ * src/WebUserMediaRequest.cpp:
+ Remove deprecated requestSucceeded implementation.
+
+2012-04-19 Joshua Bell <jsbell@chromium.org>
+
+ [Chromium] IndexedDB: Prep for changing keyPath return type
+ https://bugs.webkit.org/show_bug.cgi?id=84208
+
+ To introduce Array-type key paths (see http://webkit.org/b/84207) the keyPath() accessors
+ on WebIDBObjectStore and WebIDBIndex need to change return type. To do so requires temporarily
+ changing the method names to keyPathString with compatibility shims (on the WebKit side)
+ then switching the implementation in the Chromium port in a follow-up patch.
+
+ Reviewed by Kent Tamura.
+
+ * public/WebIDBIndex.h:
+ (WebKit::WebIDBIndex::keyPath):
+ (WebKit::WebIDBIndex::keyPathString):
+ * public/WebIDBObjectStore.h:
+ (WebKit::WebIDBObjectStore::keyPath):
+ (WebKit::WebIDBObjectStore::keyPathString):
+ * src/WebIDBIndexImpl.cpp:
+ (WebKit::WebIDBIndexImpl::keyPathString):
+ * src/WebIDBIndexImpl.h:
+ (WebIDBIndexImpl):
+ * src/WebIDBObjectStoreImpl.cpp:
+ (WebKit::WebIDBObjectStoreImpl::keyPathString):
+ * src/WebIDBObjectStoreImpl.h:
+ (WebIDBObjectStoreImpl):
+
+2012-04-19 Andreas Kling <kling@webkit.org>
+
+ [chromium] Add simplified API for iterating over a WebElement's attributes.
+ <http://webkit.org/b/84183>
+
+ Reviewed by Dimitri Glazkov.
+
+ Add attributeCount(), attributeLocalName(index) and attributeValue(index) to the
+ WebElement API so that call sites currently using WebNamedNodeMap can be
+ converted, which will ultimately allow us to refactor WebCore::Attribute
+ on <http://webkit.org/b/83440>.
+
+ * public/WebElement.h:
+ * src/WebElement.cpp:
+ (WebKit::WebElement::attributeCount):
+ (WebKit::WebElement::attributeLocalName):
+ (WebKit::WebElement::attributeValue):
+
+2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call signedPublicKeyAndChallengeString directly
+ https://bugs.webkit.org/show_bug.cgi?id=84372
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore):
+
+2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call audioHardwareBufferSize directly
+ https://bugs.webkit.org/show_bug.cgi?id=84370
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/AudioDestinationChromium.cpp:
+ (WebCore::AudioDestinationChromium::AudioDestinationChromium):
+
+2012-04-19 Sami Kyostila <skyostil@chromium.org>
+
+ [chromium] Add tests for scrolling non-root layers in the compositor thread
+ https://bugs.webkit.org/show_bug.cgi?id=73350
+
+ Reviewed by James Robinson.
+
+ * src/WebContentLayerImpl.cpp:
+ (WebKit::WebContentLayerImpl::didScroll):
+ (WebKit):
+ * src/WebContentLayerImpl.h:
+ (WebContentLayerImpl):
+ * tests/CCLayerImplTest.cpp:
+ (WebCore::TEST):
+ (WebCore):
+ * tests/CCLayerTreeHostImplTest.cpp:
+ (WebKitTests::CCLayerTreeHostImplTest::createScrollableLayer):
+ (CCLayerTreeHostImplTest):
+ (WebKitTests::CCLayerTreeHostImplTest::initializeLayerRendererAndDrawFrame):
+ (WebKitTests::TEST_F):
+ (WebKitTests):
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::TestOpacityChangeLayerDelegate::didScroll):
+ (WTF::MockContentLayerDelegate::paintContents):
+ (WTF::MockContentLayerDelegate::didScroll):
+ (CCLayerTreeHostTestScrollChildLayer):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::CCLayerTreeHostTestScrollChildLayer):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::beginTest):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::applyScrollAndScale):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::drawLayersOnCCThread):
+ (WTF::CCLayerTreeHostTestScrollChildLayer::afterTest):
+ (WTF):
+ (WTF::TEST_F):
+
+2012-04-19 Alec Flett <alecflett@chromium.org>
+
+ IndexedDB: Stub out IDBCursor.advance for landing
+ https://bugs.webkit.org/show_bug.cgi?id=84280
+
+ Reviewed by Dimitri Glazkov.
+
+ Just a stub method so it can be implemented on chromium
+
+ * public/WebIDBCursor.h:
+ (WebKit::WebIDBCursor::advance):
+ * src/WebIDBCursorImpl.cpp:
+ (WebKit::WebIDBCursorImpl::advance):
+ (WebKit):
+ * src/WebIDBCursorImpl.h:
+ (WebIDBCursorImpl):
+
+2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call mimeRegistry directly
+ https://bugs.webkit.org/show_bug.cgi?id=84334
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore::PlatformSupport::layoutTestMode):
+
+2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call sampleGamepads directly
+ https://bugs.webkit.org/show_bug.cgi?id=84339
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/PlatformSupport.cpp:
+ (WebCore::PlatformSupport::injectIDBKeyIntoSerializedValue):
+
+2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
+
+ [Chromium] Call audioHardwareSampleRate directly
+ https://bugs.webkit.org/show_bug.cgi?id=84335
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * src/AudioDestinationChromium.cpp:
+ (WebCore::AudioDestination::hardwareSampleRate):
+
+2012-04-18 Nico Weber <thakis@chromium.org>
+
+ [chromium/mac] Fix build.
+ https://bugs.webkit.org/show_bug.cgi?id=84314
+
+ Unreviewed, build fix after http://trac.webkit.org/changeset/114604
+
+ * src/WebPluginContainerImpl.cpp:
+ (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
+
+2012-04-18 Hironori Bono <hbono@chromium.org>
+
+ Split SpellChecker::didCheck() to SpellChecker::didCheckSucceeded() and SpellChecker::didCheckCanceled()
+ https://bugs.webkit.org/show_bug.cgi?id=83748
+
+ Reviewed by Ryosuke Niwa.
+
+ This change adds a new API WebTextCheckingCompletion::didCancelCheckingText(),
+ which encapsulates SpellChecker::didCheckCanceled() and implements it so
+ Chromium can use it.
+
+ * public/WebTextCheckingCompletion.h:
+ (WebKit::WebTextCheckingCompletion::didCancelCheckingText):
+ * src/WebTextCheckingCompletionImpl.cpp:
+ (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
+ (WebKit):
+ (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
+ * src/WebTextCheckingCompletionImpl.h:
+ (WebTextCheckingCompletionImpl):
+
+2012-04-16 James Robinson <jamesr@chromium.org>
+
+ [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
+ https://bugs.webkit.org/show_bug.cgi?id=84120
+
+ Reviewed by Adrienne Walker.
+
+ This ports WebPluginContainerImpl over to use WebExternalTextureLayer instead of directly using a *LayerChromium
+ type for better layering and code sharing. The changes to WebPluginContainerImpl are fairly straightforward. In
+ addition to renames I also moved some state tracking into WPCI instead of having it exposed on the interface. I
+ also removed the WebExternalTextureLayerImpl intermediate class since it wasn't doing anything useful.
+
+ * WebKit.gyp:
+ * WebKit.gypi:
+ * src/WebContentLayer.cpp:
+ * src/WebExternalTextureLayer.cpp:
+ (WebKit::WebExternalTextureLayer::create):
+ (WebKit::WebExternalTextureLayer::setTextureId):
+ (WebKit::WebExternalTextureLayer::setIOSurfaceProperties):
+ (WebKit::WebExternalTextureLayer::setFlipped):
+ (WebKit::WebExternalTextureLayer::flipped):
+ (WebKit::WebExternalTextureLayer::setUVRect):
+ (WebKit::WebExternalTextureLayer::uvRect):
+ (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
+ * src/WebExternalTextureLayerImpl.cpp: Removed.
+ * src/WebExternalTextureLayerImpl.h: Removed.
+ * src/WebLayer.cpp:
+ (WebKit::WebLayer::invalidateRect):
+ (WebKit):
+ (WebKit::WebLayer::invalidate):
+ * src/WebPluginContainerImpl.cpp:
+ (WebKit::WebPluginContainerImpl::setBackingTextureId):
+ (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
+ (WebKit::WebPluginContainerImpl::commitBackingTexture):
+ (WebKit::WebPluginContainerImpl::setOpaque):
+ (WebKit::WebPluginContainerImpl::platformLayer):
+ (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
+ * src/WebPluginContainerImpl.h:
+ (WebCore):
+ (WebPluginContainerImpl):
+ * tests/WebExternalTextureLayerImplTest.cpp: Removed.
+ * tests/WebLayerTest.cpp:
+
+2012-04-18 Dana Jansens <danakj@chromium.org>
+
+ [chromium] Simplify occlusion tracker API by passing layer iterator data
+ https://bugs.webkit.org/show_bug.cgi?id=84088
+
+ Reviewed by Adrienne Walker.
+
+ * tests/CCOcclusionTrackerTest.cpp:
+ (CCOcclusionTrackerTestMainThreadTypes):
+ (CCOcclusionTrackerTestImplThreadTypes):
+ (WebKitTests::CCOcclusionTrackerTest::CCOcclusionTrackerTest):
+ (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
+ (CCOcclusionTrackerTest):
+ (WebKitTests::CCOcclusionTrackerTest::enterLayer):
+ (WebKitTests::CCOcclusionTrackerTest::leaveLayer):
+ (WebKitTests::CCOcclusionTrackerTest::visitLayer):
+ (WebKitTests::CCOcclusionTrackerTest::enterContributingSurface):
+ (WebKitTests::CCOcclusionTrackerTest::leaveContributingSurface):
+ (WebKitTests::CCOcclusionTrackerTest::visitContributingSurface):
+ (WebKitTests::CCOcclusionTrackerTest::resetLayerIterator):
+ (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
+ (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
+ * tests/CCQuadCullerTest.cpp:
+ (WebCore):
+ (WebCore::makeLayer):
+ (WebCore::appendQuads):
+ (WebCore::TEST):
+
2012-04-18 James Robinson <jamesr@chromium.org>
[chromium] Add canBeginFrame state to CCSchedulerStateMachine to suppress initialization before our surface is available
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp ('k') | Source/WebKit/chromium/public/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698