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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.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 | « content/public/test/unittest_test_suite.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 9b56da260f765192bbd07aeb9dbe6cb830c4df45..715ced9eb90a2e1adddbec6099401a0821fa9516 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -13,6 +13,7 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebIDBFactory.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerRepository.h"
+#include "webkit/compositor_bindings/web_compositor_support_impl.h"
namespace cc {
class ContextProvider;
@@ -119,6 +120,7 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
virtual GrContext* sharedOffscreenGrContext();
virtual WebKit::WebGraphicsContext3DProvider*
createSharedOffscreenGraphicsContext3DProvider();
+ virtual WebKit::WebCompositorSupport* compositorSupport();
// Disables the WebSandboxSupport implementation for testing.
// Tests that do not set up a full sandbox environment should call
@@ -174,6 +176,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
scoped_refptr<cc::ContextProvider> shared_offscreen_context_;
+
+ webkit::WebCompositorSupportImpl compositor_support_;
};
} // namespace content
« no previous file with comments | « content/public/test/unittest_test_suite.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698