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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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/content_common.gypi ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 1689e41bab6882c77a72a20ecff1ffd62b057577..0c08db78ee19d8e06bca72ffc04468a788c201e9 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -23,17 +23,21 @@ struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
struct ViewHostMsg_TextInputState_Params;
+namespace cc {
+struct CompositorFrame;
+}
+
namespace webkit {
namespace npapi {
struct WebPluginGeometry;
}
}
-#if defined(OS_POSIX) || defined(USE_AURA)
namespace WebKit {
+#if defined(OS_POSIX) || defined(USE_AURA)
struct WebScreenInfo;
-}
#endif
+}
namespace content {
class BackingStore;
@@ -237,6 +241,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
uint64 surface_id) {}
virtual void AcceleratedSurfaceRelease(uint64 surface_id) {}
+ virtual void SwapCompositorFrame(const cc::CompositorFrame& frame) {}
+
#if defined(TOOLKIT_GTK)
virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698