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

Unified Diff: webkit/support/test_webkit_platform_support.h

Issue 14619019: Move compositor support out of base WebKitPlatformSupport into renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.h
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h
index a9fd7c5fac770e249131bbc28d70bb583d672ca4..79bd6f26ce519eba2a58053eea0d38d2d67b7e01 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -9,6 +9,7 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebUnitTestSupport.h"
+#include "webkit/compositor_bindings/web_compositor_support_impl.h"
#include "webkit/glue/webfileutilities_impl.h"
#include "webkit/glue/webkitplatformsupport_impl.h"
#include "webkit/mocks/mock_webhyphenator.h"
@@ -95,6 +96,7 @@ class TestWebKitPlatformSupport :
createSharedOffscreenGraphicsContext3DProvider();
virtual bool canAccelerate2dCanvas();
virtual bool isThreadedCompositingEnabled();
+ virtual WebKit::WebCompositorSupport* compositorSupport();
WebURLLoaderMockFactory* url_loader_factory() {
return &url_loader_factory_;
@@ -184,6 +186,7 @@ class TestWebKitPlatformSupport :
WebKit::WebGamepads gamepad_data_;
WebKit::Platform* shadow_platform_delegate_;
bool threaded_compositing_enabled_;
+ webkit::WebCompositorSupportImpl compositor_support_;
scoped_refptr<cc::ContextProvider> main_thread_contexts_;
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698