From cd44dc59cdfc39534aef4d417e9f3c412e3be139 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 3 Feb 2012 09:55:33 +0100 Subject: Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560) --- Source/WebKit/chromium/All.gyp | 5 +- Source/WebKit/chromium/ChangeLog | 2059 ++++++++++++++++++++ Source/WebKit/chromium/DEPS | 2 +- Source/WebKit/chromium/Tools.gyp | 391 ---- Source/WebKit/chromium/WebKit.gyp | 446 +---- Source/WebKit/chromium/WebKit.gypi | 10 + Source/WebKit/chromium/WebKitUnitTests.gyp | 150 +- Source/WebKit/chromium/WinPrecompile.cpp | 35 + Source/WebKit/chromium/WinPrecompile.gypi | 53 + Source/WebKit/chromium/WinPrecompile.h | 63 + Source/WebKit/chromium/features.gypi | 1 + Source/WebKit/chromium/gyp_webkit | 12 +- .../chromium/public/WebAccessibilityObject.h | 7 + .../chromium/public/WebContentSecurityPolicy.h | 43 + .../chromium/public/WebDevToolsFrontendClient.h | 1 + .../WebKit/chromium/public/WebDeviceOrientation.h | 14 +- Source/WebKit/chromium/public/WebFrame.h | 2 +- Source/WebKit/chromium/public/WebFrameClient.h | 12 +- Source/WebKit/chromium/public/WebIDBKey.h | 5 +- Source/WebKit/chromium/public/WebInputEvent.h | 13 +- Source/WebKit/chromium/public/WebIntent.h | 32 +- Source/WebKit/chromium/public/WebIntentRequest.h | 79 + .../WebKit/chromium/public/WebIntentServiceInfo.h | 5 + Source/WebKit/chromium/public/WebNode.h | 2 + Source/WebKit/chromium/public/WebRuntimeFeatures.h | 3 + Source/WebKit/chromium/public/WebScreenInfo.h | 6 +- Source/WebKit/chromium/public/WebSecurityPolicy.h | 3 + Source/WebKit/chromium/public/WebSettings.h | 3 + Source/WebKit/chromium/public/WebSharedWorker.h | 3 + .../WebKit/chromium/public/WebSharedWorkerClient.h | 5 - Source/WebKit/chromium/public/WebSocket.h | 23 +- Source/WebKit/chromium/public/WebSocketClient.h | 6 +- .../chromium/public/WebSpeechInputControllerMock.h | 54 - .../WebKit/chromium/public/WebSpeechInputResult.h | 7 +- .../WebKit/chromium/public/WebSpellCheckClient.h | 9 + .../WebKit/chromium/public/WebTextCheckingResult.h | 47 +- .../WebKit/chromium/public/WebTextCheckingType.h | 51 + Source/WebKit/chromium/public/WebUserMediaClient.h | 6 +- .../WebKit/chromium/public/WebUserMediaRequest.h | 3 + Source/WebKit/chromium/public/WebView.h | 7 - Source/WebKit/chromium/public/WebViewClient.h | 7 + Source/WebKit/chromium/public/WebWidget.h | 17 + Source/WebKit/chromium/public/WebWidgetClient.h | 15 + Source/WebKit/chromium/public/WebWorker.h | 62 - Source/WebKit/chromium/public/WebWorkerInfo.h | 44 + .../public/platform/WebGraphicsContext3D.h | 12 +- .../public/platform/WebKitPlatformSupport.h | 11 +- .../public/platform/WebMediaStreamDescriptor.h | 17 + .../public/platform/WebMediaStreamSource.h | 9 + .../chromium/public/platform/WebSolidColorLayer.h | 48 + Source/WebKit/chromium/public/platform/WebThread.h | 10 + .../WebKit/chromium/src/ApplicationCacheHost.cpp | 5 + Source/WebKit/chromium/src/AssertMatchingEnums.cpp | 17 +- Source/WebKit/chromium/src/AssociatedURLLoader.cpp | 91 +- .../chromium/src/AsyncFileSystemChromium.cpp | 67 + .../WebKit/chromium/src/AsyncFileSystemChromium.h | 3 +- .../chromium/src/AudioDestinationChromium.cpp | 8 +- Source/WebKit/chromium/src/ChromeClientImpl.cpp | 19 +- Source/WebKit/chromium/src/ChromeClientImpl.h | 6 + Source/WebKit/chromium/src/EditorClientImpl.cpp | 19 +- Source/WebKit/chromium/src/EditorClientImpl.h | 2 + .../WebKit/chromium/src/FrameLoaderClientImpl.cpp | 13 +- Source/WebKit/chromium/src/FrameLoaderClientImpl.h | 4 + .../chromium/src/GraphicsContext3DChromium.cpp | 47 +- .../WebKit/chromium/src/GraphicsContext3DPrivate.h | 3 + .../WebKit/chromium/src/IDBFactoryBackendProxy.cpp | 87 +- .../chromium/src/InspectorFrontendClientImpl.cpp | 9 +- .../chromium/src/InspectorFrontendClientImpl.h | 3 + .../chromium/src/NonCompositedContentHost.cpp | 25 +- .../WebKit/chromium/src/NonCompositedContentHost.h | 4 +- Source/WebKit/chromium/src/PageOverlay.cpp | 4 +- Source/WebKit/chromium/src/PlatformSupport.cpp | 16 +- .../WebKit/chromium/src/SharedWorkerRepository.cpp | 9 +- Source/WebKit/chromium/src/UserMediaClientImpl.cpp | 16 +- Source/WebKit/chromium/src/UserMediaClientImpl.h | 2 +- .../WebKit/chromium/src/WebAccessibilityObject.cpp | 18 + Source/WebKit/chromium/src/WebAudioBus.cpp | 2 +- Source/WebKit/chromium/src/WebContentLayerImpl.cpp | 2 +- Source/WebKit/chromium/src/WebContentLayerImpl.h | 4 +- .../WebKit/chromium/src/WebDevToolsAgentImpl.cpp | 2 +- .../WebKit/chromium/src/WebDeviceOrientation.cpp | 10 +- .../chromium/src/WebExternalTextureLayerImpl.cpp | 7 +- .../chromium/src/WebExternalTextureLayerImpl.h | 3 +- Source/WebKit/chromium/src/WebFrameImpl.cpp | 27 +- Source/WebKit/chromium/src/WebFrameImpl.h | 1 + Source/WebKit/chromium/src/WebIDBKey.cpp | 18 +- .../chromium/src/WebInputEventConversion.cpp | 6 + Source/WebKit/chromium/src/WebIntent.cpp | 63 +- Source/WebKit/chromium/src/WebIntentRequest.cpp | 105 + .../WebKit/chromium/src/WebIntentServiceInfo.cpp | 13 + Source/WebKit/chromium/src/WebLayerImpl.cpp | 3 +- Source/WebKit/chromium/src/WebLayerImpl.h | 2 +- .../chromium/src/WebMediaPlayerClientImpl.cpp | 20 +- .../chromium/src/WebMediaStreamDescriptor.cpp | 56 +- .../WebKit/chromium/src/WebMediaStreamSource.cpp | 5 + Source/WebKit/chromium/src/WebNode.cpp | 6 + .../WebKit/chromium/src/WebPageSerializerImpl.cpp | 4 +- .../WebKit/chromium/src/WebPluginContainerImpl.cpp | 2 +- Source/WebKit/chromium/src/WebPopupMenuImpl.cpp | 85 +- Source/WebKit/chromium/src/WebPopupMenuImpl.h | 99 +- Source/WebKit/chromium/src/WebRuntimeFeatures.cpp | 19 + Source/WebKit/chromium/src/WebSecurityPolicy.cpp | 5 + Source/WebKit/chromium/src/WebSettingsImpl.cpp | 15 + Source/WebKit/chromium/src/WebSettingsImpl.h | 3 + Source/WebKit/chromium/src/WebSharedWorkerImpl.cpp | 7 +- Source/WebKit/chromium/src/WebSharedWorkerImpl.h | 5 +- Source/WebKit/chromium/src/WebSocketImpl.cpp | 32 +- Source/WebKit/chromium/src/WebSocketImpl.h | 10 +- Source/WebKit/chromium/src/WebSolidColorLayer.cpp | 49 + .../WebKit/chromium/src/WebSolidColorLayerImpl.cpp | 49 + .../WebKit/chromium/src/WebSolidColorLayerImpl.h | 46 + .../src/WebSpeechInputControllerMockImpl.cpp | 117 -- .../src/WebSpeechInputControllerMockImpl.h | 79 - .../WebKit/chromium/src/WebSpeechInputResult.cpp | 7 +- .../WebKit/chromium/src/WebTextCheckingResult.cpp | 51 + Source/WebKit/chromium/src/WebUserMediaRequest.cpp | 29 +- Source/WebKit/chromium/src/WebViewImpl.cpp | 129 +- Source/WebKit/chromium/src/WebViewImpl.h | 23 +- Source/WebKit/chromium/src/WebWorkerClientImpl.cpp | 1 - Source/WebKit/chromium/src/WebWorkerInfo.cpp | 43 + .../chromium/src/WorkerAsyncFileSystemChromium.cpp | 14 +- .../chromium/src/WorkerAsyncFileSystemChromium.h | 9 +- Source/WebKit/chromium/src/js/Tests.js | 2 +- .../chromium/src/mac/WebInputEventFactory.mm | 3 +- .../chromium/src/painting/PaintAggregator.cpp | 374 ++++ .../WebKit/chromium/src/painting/PaintAggregator.h | 92 + .../chromium/src/win/WebScreenInfoFactory.cpp | 6 +- .../chromium/tests/AssociatedURLLoaderTest.cpp | 64 + .../chromium/tests/CCActiveAnimationTest.cpp | 167 ++ .../chromium/tests/CCDelayBasedTimeSourceTest.cpp | 2 + .../tests/CCLayerAnimationControllerImplTest.cpp | 454 +++++ Source/WebKit/chromium/tests/CCLayerImplTest.cpp | 1 + .../WebKit/chromium/tests/CCLayerIteratorTest.cpp | 2 +- Source/WebKit/chromium/tests/CCLayerTestCommon.cpp | 63 + Source/WebKit/chromium/tests/CCLayerTestCommon.h | 40 + .../chromium/tests/CCLayerTreeHostCommonTest.cpp | 243 ++- .../chromium/tests/CCLayerTreeHostImplTest.cpp | 218 ++- .../WebKit/chromium/tests/CCLayerTreeHostTest.cpp | 451 ++++- Source/WebKit/chromium/tests/CCQuadCullerTest.cpp | 156 +- .../chromium/tests/CCSchedulerStateMachineTest.cpp | 27 +- Source/WebKit/chromium/tests/CCSchedulerTest.cpp | 15 +- .../WebKit/chromium/tests/CCSchedulerTestCommon.h | 1 + .../chromium/tests/CCSolidColorLayerImplTest.cpp | 81 + .../WebKit/chromium/tests/CCTiledLayerImplTest.cpp | 137 +- .../chromium/tests/Canvas2DLayerChromiumTest.cpp | 4 +- .../chromium/tests/ClipboardChromiumTest.cpp | 89 + .../tests/CompositorFakeWebGraphicsContext3D.h | 2 +- .../chromium/tests/FakeCCLayerTreeHostClient.h | 54 + Source/WebKit/chromium/tests/FrameTestHelpers.cpp | 5 +- .../chromium/tests/IDBBindingUtilitiesTest.cpp | 2 +- .../chromium/tests/ImageLayerChromiumTest.cpp | 4 +- Source/WebKit/chromium/tests/KURLTest.cpp | 2 +- Source/WebKit/chromium/tests/LayerChromiumTest.cpp | 165 +- .../chromium/tests/LayerTextureUpdaterTest.cpp | 198 ++ .../WebKit/chromium/tests/PaintAggregatorTest.cpp | 493 +++++ .../chromium/tests/PlatformContextSkiaTest.cpp | 464 +++++ .../WebKit/chromium/tests/TextureManagerTest.cpp | 65 +- .../chromium/tests/TiledLayerChromiumTest.cpp | 311 ++- .../WebKit/chromium/tests/TreeSynchronizerTest.cpp | 32 +- Source/WebKit/chromium/tests/WebFrameTest.cpp | 52 + Source/WebKit/chromium/tests/data/find.html | 6 + 161 files changed, 8371 insertions(+), 1890 deletions(-) delete mode 100644 Source/WebKit/chromium/Tools.gyp create mode 100644 Source/WebKit/chromium/WinPrecompile.cpp create mode 100644 Source/WebKit/chromium/WinPrecompile.gypi create mode 100644 Source/WebKit/chromium/WinPrecompile.h create mode 100644 Source/WebKit/chromium/public/WebContentSecurityPolicy.h create mode 100644 Source/WebKit/chromium/public/WebIntentRequest.h delete mode 100644 Source/WebKit/chromium/public/WebSpeechInputControllerMock.h create mode 100644 Source/WebKit/chromium/public/WebTextCheckingType.h delete mode 100644 Source/WebKit/chromium/public/WebWorker.h create mode 100644 Source/WebKit/chromium/public/WebWorkerInfo.h create mode 100644 Source/WebKit/chromium/public/platform/WebSolidColorLayer.h create mode 100644 Source/WebKit/chromium/src/WebIntentRequest.cpp create mode 100644 Source/WebKit/chromium/src/WebSolidColorLayer.cpp create mode 100644 Source/WebKit/chromium/src/WebSolidColorLayerImpl.cpp create mode 100644 Source/WebKit/chromium/src/WebSolidColorLayerImpl.h delete mode 100644 Source/WebKit/chromium/src/WebSpeechInputControllerMockImpl.cpp delete mode 100644 Source/WebKit/chromium/src/WebSpeechInputControllerMockImpl.h create mode 100644 Source/WebKit/chromium/src/WebTextCheckingResult.cpp create mode 100644 Source/WebKit/chromium/src/WebWorkerInfo.cpp create mode 100644 Source/WebKit/chromium/src/painting/PaintAggregator.cpp create mode 100644 Source/WebKit/chromium/src/painting/PaintAggregator.h create mode 100644 Source/WebKit/chromium/tests/CCActiveAnimationTest.cpp create mode 100644 Source/WebKit/chromium/tests/CCLayerAnimationControllerImplTest.cpp create mode 100644 Source/WebKit/chromium/tests/CCLayerTestCommon.cpp create mode 100644 Source/WebKit/chromium/tests/CCLayerTestCommon.h create mode 100644 Source/WebKit/chromium/tests/CCSolidColorLayerImplTest.cpp create mode 100644 Source/WebKit/chromium/tests/ClipboardChromiumTest.cpp create mode 100755 Source/WebKit/chromium/tests/FakeCCLayerTreeHostClient.h create mode 100644 Source/WebKit/chromium/tests/LayerTextureUpdaterTest.cpp create mode 100644 Source/WebKit/chromium/tests/PaintAggregatorTest.cpp create mode 100644 Source/WebKit/chromium/tests/PlatformContextSkiaTest.cpp create mode 100644 Source/WebKit/chromium/tests/data/find.html (limited to 'Source/WebKit/chromium') diff --git a/Source/WebKit/chromium/All.gyp b/Source/WebKit/chromium/All.gyp index 7e9f0069a..1263c25c3 100644 --- a/Source/WebKit/chromium/All.gyp +++ b/Source/WebKit/chromium/All.gyp @@ -34,14 +34,15 @@ ], 'targets': [ { - # These two targets should be sufficient to cause everything + # These targets should be sufficient to cause everything # else to build (incl. webkit); if they aren't, we have our # dependencies wrong. 'target_name': 'all_webkit', 'type': 'none', 'dependencies': [ 'WebKitUnitTests.gyp:webkit_unit_tests', - 'Tools.gyp:DumpRenderTree', + '../../../Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:DumpRenderTree', + '../../../Tools/TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:TestWebKitAPI', ], } ], diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog index d9cb1d2d0..c47d6aed7 100644 --- a/Source/WebKit/chromium/ChangeLog +++ b/Source/WebKit/chromium/ChangeLog @@ -1,3 +1,2062 @@ +2012-02-02 Allan Sandfeld Jensen + + Update enum name for HitTestRequest::RequestType + https://bugs.webkit.org/show_bug.cgi?id=77620 + + Reviewed by Kenneth Rohde Christiansen. + + * src/WebFrameImpl.cpp: + (WebKit::WebFrameImpl::visiblePositionForWindowPoint): + +2012-02-02 Kinuko Yasuda + + Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395) + https://bugs.webkit.org/show_bug.cgi?id=76551 + + * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal). + * src/AsyncFileSystemChromium.cpp: + (WebCore::AsyncFileSystem::crackFileSystemURL): Added. + (WebCore::AsyncFileSystem::isValidType): Added. + (WebCore::AsyncFileSystemChromium::toURL): Added. + * src/AsyncFileSystemChromium.h: + (AsyncFileSystemChromium): + * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem) + (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium): + * src/WorkerAsyncFileSystemChromium.h: + (WorkerAsyncFileSystemChromium): + +2012-02-01 Caio Marcelo de Oliveira Filho + + Avoid creating NamedNodeMap unnecessarily + https://bugs.webkit.org/show_bug.cgi?id=77574 + + Reviewed by Ryosuke Niwa. + + * src/WebPageSerializerImpl.cpp: + (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes(). + +2012-02-01 Justin Novosad + + [Chromium] Enable deferred canvas rendering in the skia port + https://bugs.webkit.org/show_bug.cgi?id=76732 + + Reviewed by Stephen White. + + Adding a new setting for enabling deferred 2d canvas rendering + + * public/WebSettings.h: + * src/WebSettingsImpl.cpp: + (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled): + (WebKit): + * src/WebSettingsImpl.h: + (WebSettingsImpl): + +2012-02-01 Sheriff Bot + + Unreviewed, rolling out r106382. + http://trac.webkit.org/changeset/106382 + https://bugs.webkit.org/show_bug.cgi?id=77571 + + Causing chromium crashes in PNGImageDecoder (Requested by + japhet on #webkit). + + * public/platform/WebKitPlatformSupport.h: + (WebKitPlatformSupport): + (WebKit::WebKitPlatformSupport::isTraceEventEnabled): + (WebKit::WebKitPlatformSupport::traceEventBegin): + (WebKit::WebKitPlatformSupport::traceEventEnd): + * src/PlatformSupport.cpp: + (WebCore::PlatformSupport::isTraceEventEnabled): + (WebCore): + (WebCore::PlatformSupport::traceEventBegin): + (WebCore::PlatformSupport::traceEventEnd): + +2012-02-01 Dirk Pranke + + TestWebKitAPI isn't being built on chromium bots any more + https://bugs.webkit.org/show_bug.cgi?id=77563 + + Reviewed by Dimitri Glazkov. + + I accidentally dropped it in the refactoring in r105449. + + * All.gyp: + +2012-02-01 Hans Wennborg + + Rename WebSpeechInputResult::set() to assign() + https://bugs.webkit.org/show_bug.cgi?id=77540 + + Reviewed by Darin Fisher. + + It was suggested in a previous code review + (https://bugs.webkit.org/show_bug.cgi?id=77083#c5) + that this function should be called assign(). + + * public/WebSpeechInputResult.h: + (WebSpeechInputResult): + (WebKit::WebSpeechInputResult::set): + * src/WebSpeechInputResult.cpp: + (WebKit::WebSpeechInputResult::assign): + +2012-02-01 Kent Tamura + + [Chromium] Disable WebFrameTest.FindInPage + https://bugs.webkit.org/show_bug.cgi?id=77186 + + Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has + been failing since FindInPage test was committed. + + * tests/WebFrameTest.cpp: + (WebKit::TEST_F): + +2012-01-31 Ami Fischman + + [chromium] enable -Wexit-time-destructors for webkit unit tests + https://bugs.webkit.org/show_bug.cgi?id=77300 + Fix the only extant violation (verified by building webkit_unit_tests in static build). + + Reviewed by Tony Chang. + + * WebKitUnitTests.gyp: + * tests/FrameTestHelpers.cpp: + (WebKit::FrameTestHelpers::defaultWebFrameClient): + (WebKit::FrameTestHelpers::defaultWebViewClient): + +2012-01-31 Nico Weber + + [chromium] Expose windowResizerRectChanged() on WebWidget. + https://bugs.webkit.org/show_bug.cgi?id=77453 + + Needed for http://crbug.com/111266 + + Reviewed by Darin Fisher. + + * public/WebWidget.h: + (WebWidget): + (WebKit::WebWidget::didChangeWindowResizerRect): + * src/WebViewImpl.cpp: + (WebKit::WebViewImpl::didChangeWindowResizerRect): + (WebKit): + * src/WebViewImpl.h: + (WebViewImpl): + +2012-01-31 Nat Duca + + [chromium] Import PaintAggregator + https://bugs.webkit.org/show_bug.cgi?id=53715 + + Reviewed by Darin Fisher. + + * WebKit.gyp: + * WebKit.gypi: + * src/painting/PaintAggregator.cpp: Added. + (WebKit::calculateArea): + (WebKit::subtractIntersection): + (WebKit::sharesEdge): + (WebKit::PaintAggregator::PendingUpdate::PendingUpdate): + (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate): + (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage): + (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds): + (WebKit::PaintAggregator::hasPendingUpdate): + (WebKit::PaintAggregator::clearPendingUpdate): + (WebKit::PaintAggregator::popPendingUpdate): + (WebKit::PaintAggregator::invalidateRect): + (WebKit::PaintAggregator::scrollRect): + (WebKit::PaintAggregator::scrollPaintRect): + (WebKit::PaintAggregator::shouldInvalidateScrollRect): + (WebKit::PaintAggregator::invalidateScrollRect): + (WebKit::PaintAggregator::combinePaintRects): + * src/painting/PaintAggregator.h: Added. + * tests/PaintAggregatorTest.cpp: Added. + (WebKit::TEST): + +2012-01-31 Fady Samuel + + [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News + https://bugs.webkit.org/show_bug.cgi?id=77429 + + Reviewed by Darin Fisher. + + m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true, + because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early + and thus never calls WebViewImpl::setPageScaleFactor which sets the flag. + + The simplest solution is to simply get rid of the early return in + WebViewImpl::setPageScaleFactorPreservingScrollOffset. + + * src/WebViewImpl.cpp: + (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset): + +2012-01-31 Fady Samuel + + [Chromium] Expose setLayoutFallbackWidth as a WebSetting + https://bugs.webkit.org/show_bug.cgi?id=77431 + + Reviewed by Darin Fisher. + + The layout fallback width is the default fixed layout width + set for desktop web pages that lack a viewport tag. This width + can vary from platform to platform and can depend on other factors, + and so it should be a setting exposed to Chromium. + + * public/WebSettings.h: + (): + * src/WebSettingsImpl.cpp: + (WebKit::WebSettingsImpl::setLayoutFallbackWidth): + (WebKit): + * src/WebSettingsImpl.h: + (WebSettingsImpl): + +2012-01-31 Dana Jansens + + [chromium] Compute occlusion during paint loop + https://bugs.webkit.org/show_bug.cgi?id=76858 + + Reviewed by James Robinson. + + * tests/CCLayerTreeHostCommonTest.cpp: + (WebCore::TEST): + (WebCore): + * tests/CCLayerTreeHostTest.cpp: + (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty): + (WTF): + (TestLayerChromium): + (WTF::TestLayerChromium::create): + (WTF::TestLayerChromium::paintContentsIfDirty): + (WTF::TestLayerChromium::drawsContent): + (WTF::TestLayerChromium::occludedScreenSpace): + (WTF::TestLayerChromium::clearOccludedScreenSpace): + (WTF::TestLayerChromium::TestLayerChromium): + (WTF::setLayerPropertiesForTesting): + (CCLayerTreeHostTestLayerOcclusion): + (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion): + (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest): + (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest): + * tests/Canvas2DLayerChromiumTest.cpp: + (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest): + * tests/TiledLayerChromiumTest.cpp: + (WTF::FakeLayerTextureUpdater::setOpaquePaintRect): + (FakeLayerTextureUpdater): + (WTF::FakeTiledLayerChromium::paintContentsIfDirty): + (WTF::FakeLayerTextureUpdater::prepareToUpdate): + (WTF::TEST): + (WTF): + +2012-01-31 John Bates + + [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-01-31 Antoine Labour + + Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build + https://bugs.webkit.org/show_bug.cgi?id=77467 + + Rubber-stamped by Nate Chapin . + + * public/platform/WebKitPlatformSupport.h: + (WebKitPlatformSupport): + (WebKit::WebKitPlatformSupport::createGraphicsContext3D): + +2012-01-31 Antoine Labour + + Merge WebGraphicsContext3D creation and initialization, and move it to + WebViewClient. + https://bugs.webkit.org/show_bug.cgi?id=76593 + + Reviewed by Darin Fisher. + + * public/WebViewClient.h: + (WebKit::WebViewClient::createGraphicsContext3D): + * public/platform/WebGraphicsContext3D.h: + (WebKit::WebGraphicsContext3D::initialize): + * public/platform/WebKitPlatformSupport.h: + * src/GraphicsContext3DChromium.cpp: + +2012-01-26 Hans Wennborg + + Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation + https://bugs.webkit.org/show_bug.cgi?id=77083 + + Reviewed by Darin Fisher. + + Remove the WebSpeechInputControllerMock interface and proxy + implementation. The mock is moving to the DumpRenderTree + implementation instead, which removes the need to expose this + interface in the WebKit API. + + Also add a proper copy constructor for WebSpeechInputResult. + The default one doesn't do a proper copy. + + * WebKit.gyp: + * public/WebSpeechInputControllerMock.h: Removed. + * public/WebSpeechInputResult.h: + (WebKit::WebSpeechInputResult::WebSpeechInputResult): + (WebSpeechInputResult): + * src/WebSpeechInputControllerMockImpl.cpp: Removed. + * src/WebSpeechInputControllerMockImpl.h: Removed. + * src/WebSpeechInputResult.cpp: + (WebKit::WebSpeechInputResult::set): + (WebKit): + +2012-01-31 Sheriff Bot + + Unreviewed. Rolled DEPS. + + * DEPS: + +2012-01-30 Sheriff Bot + + Unreviewed, rolling out r106324. + http://trac.webkit.org/changeset/106324 + https://bugs.webkit.org/show_bug.cgi?id=77406 + + Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and + runSingleThread (Requested by yuzo1 on #webkit). + + * tests/CCLayerTreeHostCommonTest.cpp: + (WebCore): + * tests/CCLayerTreeHostTest.cpp: + (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty): + * tests/Canvas2DLayerChromiumTest.cpp: + (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest): + * tests/TiledLayerChromiumTest.cpp: + (FakeLayerTextureUpdater): + (WTF::FakeTiledLayerChromium::paintContentsIfDirty): + (WTF::FakeLayerTextureUpdater::prepareToUpdate): + +2012-01-30 Dana Jansens + + [chromium] Compute occlusion during paint loop + https://bugs.webkit.org/show_bug.cgi?id=76858 + + Reviewed by James Robinson. + + * tests/CCLayerTreeHostCommonTest.cpp: + (WebCore::TEST): + (WebCore): + * tests/CCLayerTreeHostTest.cpp: + (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty): + (WTF): + (TestLayerChromium): + (WTF::TestLayerChromium::create): + (WTF::TestLayerChromium::paintContentsIfDirty): + (WTF::TestLayerChromium::drawsContent): + (WTF::TestLayerChromium::occludedScreenSpace): + (WTF::TestLayerChromium::clearOccludedScreenSpace): + (WTF::TestLayerChromium::TestLayerChromium): + (WTF::setLayerPropertiesForTesting): + (CCLayerTreeHostTestLayerOcclusion): + (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion): + (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest): + (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest): + * tests/Canvas2DLayerChromiumTest.cpp: + (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest): + * tests/TiledLayerChromiumTest.cpp: + (WTF::FakeLayerTextureUpdater::setOpaquePaintRect): + (FakeLayerTextureUpdater): + (WTF::FakeTiledLayerChromium::paintContentsIfDirty): + (WTF::FakeLayerTextureUpdater::prepareToUpdate): + (WTF::TEST): + (WTF): + +2012-01-30 Gregg Tavares + + Add Plumming to get graphics error messages to JS Console + https://bugs.webkit.org/show_bug.cgi?id=77238 + + Reviewed by Kenneth Russell. + + * public/platform/WebGraphicsContext3D.h: + (WebGraphicsErrorMessageCallback): + (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback): + (WebGraphicsContext3D): + (WebKit::WebGraphicsContext3D::setErrorMessageCallback): + * src/GraphicsContext3DChromium.cpp: + (WebCore::GraphicsContext3D::~GraphicsContext3D): + (WebCore): + (GraphicsErrorMessageCallbackAdapter): + (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter): + (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter): + (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage): + (WebCore::GraphicsErrorMessageCallbackAdapter::create): + (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback): + * src/GraphicsContext3DPrivate.h: + (WebCore): + (): + +2012-01-30 Sheriff Bot + + Unreviewed, rolling out r106259. + http://trac.webkit.org/changeset/106259 + https://bugs.webkit.org/show_bug.cgi?id=77395 + + Breaks shared builders as they also build webkittests with + -Wexit-time-destructors. (Requested by leviw on #webkit). + + * WebKitUnitTests.gyp: + +2012-01-30 Dana Jansens + + [chromium] Use region reported painted opaque for draw culling + https://bugs.webkit.org/show_bug.cgi?id=76015 + + Reviewed by James Robinson. + + * tests/CCLayerTreeHostImplTest.cpp: + (WebKit::BlendStateCheckLayer::appendQuads): + (WebKit::BlendStateCheckLayer::setOpaqueColor): + (BlendStateCheckLayer): + (WebKit::BlendStateCheckLayer::BlendStateCheckLayer): + (WebKit::TEST_F): + * tests/CCQuadCullerTest.cpp: + (WebCore::MakeTileQuad): + (WebCore::setQuads): + (WebCore::TEST): + (WebCore): + * tests/CCTiledLayerImplTest.cpp: + (CCLayerTestCommon::createLayer): + (CCLayerTestCommon::TEST): + (CCLayerTestCommon::getQuads): + (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries): + (CCLayerTestCommon::coverageVisibleRectIntersectsTiles): + (CCLayerTestCommon::coverageVisibleRectIntersectsBounds): + (CCLayerTestCommon): + +2012-01-30 Adrienne Walker + + [chromium] Always pre-reserve scrollbar and scroll corner textures + https://bugs.webkit.org/show_bug.cgi?id=77251 + + Reviewed by James Robinson. + + * src/NonCompositedContentHost.cpp: + (WebKit::reserveScrollbarLayers): + (WebKit): + (WebKit::NonCompositedContentHost::setViewport): + +2012-01-30 Ryosuke Niwa + + Roll Chromium DEPS from 119623 to 119700. + + * DEPS: + +2012-01-30 Beth Dakin + + https://bugs.webkit.org/show_bug.cgi?id=77263 + PlatformScreenMac should not rely on NSWindow for important bits of data + + Reviewed by Geoff Garen. + + These two functions now take a FrameView instead of a Widget. + * src/PlatformSupport.cpp: + (WebCore::PlatformSupport::screenRect): + (WebCore::PlatformSupport::screenAvailableRect): + +2012-01-30 Ami Fischman + + [chromium] enable -Wexit-time-destructors for webkit unit tests + https://bugs.webkit.org/show_bug.cgi?id=77300 + + Reviewed by Tony Chang. + + * WebKitUnitTests.gyp: Enable clang check for exit time destructors. + +2012-01-30 Tommy Widenflycht + + [chromium] MediaStream API: Fix a few memory leaks + https://bugs.webkit.org/show_bug.cgi?id=77334 + + Reviewed by Darin Fisher. + + It seems that either the behaviour of WebPrivatePtr has changed or I misunderstood + something, but I fixed a memory leak in WebMediaStreamDescriptor and safeguarded + WebMediaStreamSource. + + * public/platform/WebMediaStreamDescriptor.h: + (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor): + * public/platform/WebMediaStreamSource.h: + (WebKit::WebMediaStreamSource::WebMediaStreamSource): + (WebKit::WebMediaStreamSource::operator=): + (WebMediaStreamSource): + * src/WebMediaStreamDescriptor.cpp: + (WebKit::WebMediaStreamDescriptor::assign): + * src/WebMediaStreamSource.cpp: + (WebKit::WebMediaStreamSource::assign): + (WebKit): + +2012-01-30 Jochen Eisinger + + [chromium] remove exit time destructors from TextureManagerTest + https://bugs.webkit.org/show_bug.cgi?id=77333 + + Reviewed by Tony Gentilcore. + + Non-trivial, global objects require an at-exit time destructor which add + unnecessary complexity and delays to shutdown. + + * tests/FakeCCLayerTreeHostClient.h: added newline at EOF + * tests/TextureManagerTest.cpp: + (WTF::FakeTextureAllocator::~FakeTextureAllocator): + (TextureManagerTest): + (WTF::TextureManagerTest::TextureManagerTest): + (WTF::TextureManagerTest::~TextureManagerTest): + (WTF::TextureManagerTest::texturesMemorySize): + (WTF::TextureManagerTest::createTextureManager): + (WTF::TextureManagerTest::requestTexture): + (WTF::TEST_F): + +2012-01-30 Hans Wennborg + + Unreviewed, rolling out r106219. + http://trac.webkit.org/changeset/106219 + https://bugs.webkit.org/show_bug.cgi?id=77083 + + This broke Chromium's test_shell. + + * WebKit.gyp: + * public/WebSpeechInputControllerMock.h: Added. + (WebKit): + (WebSpeechInputControllerMock): + (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock): + * public/WebSpeechInputResult.h: + (WebSpeechInputResult): + * src/WebSpeechInputControllerMockImpl.cpp: Added. + (WebKit): + (WebKit::WebSpeechInputControllerMock::create): + (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): + (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl): + (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult): + (WebKit::WebSpeechInputControllerMockImpl::clearResults): + (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): + (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): + (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): + (WebKit::WebSpeechInputControllerMockImpl::startRecognition): + (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): + (WebKit::WebSpeechInputControllerMockImpl::stopRecording): + * src/WebSpeechInputControllerMockImpl.h: Added. + (WebCore): + (WebKit): + (WebSpeechInputControllerMockImpl): + * src/WebSpeechInputResult.cpp: + +2012-01-26 Hans Wennborg + + Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation + https://bugs.webkit.org/show_bug.cgi?id=77083 + + Reviewed by Darin Fisher. + + Remove the WebSpeechInputControllerMock interface and proxy + implementation. The mock is moving to the DumpRenderTree + implementation instead, which removes the need to expose this + interface in the WebKit API. + + Also add a proper copy constructor for WebSpeechInputResult. + The default one doesn't do a proper copy. + + * WebKit.gyp: + * public/WebSpeechInputControllerMock.h: Removed. + * public/WebSpeechInputResult.h: + (WebKit::WebSpeechInputResult::WebSpeechInputResult): + (WebSpeechInputResult): + * src/WebSpeechInputControllerMockImpl.cpp: Removed. + * src/WebSpeechInputControllerMockImpl.h: Removed. + * src/WebSpeechInputResult.cpp: + (WebKit::WebSpeechInputResult::set): + (WebKit): + +2012-01-29 Kent Tamura + + [Chromium] REGRESSION(r87067): WebFrame::setFindEndstateFocusAndSelection() + doesn't set the selection for and +
foo4 bar4 baz4
+ -- cgit v1.2.1