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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view.h

Issue 6462034: Refactor how surfaces are acquired for GPU compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix view views build. Created 9 years, 10 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
Index: chrome/browser/renderer_host/render_widget_host_view.h
diff --git a/chrome/browser/renderer_host/render_widget_host_view.h b/chrome/browser/renderer_host/render_widget_host_view.h
index d1b5c2f0ac58f6bde360e7ae80d972454097f7ea..3ed1df90c6db023c2263987affc5782fc923560a 100644
--- a/chrome/browser/renderer_host/render_widget_host_view.h
+++ b/chrome/browser/renderer_host/render_widget_host_view.h
@@ -258,11 +258,13 @@ class RenderWidgetHostView {
#endif
#if defined(OS_WIN)
- virtual gfx::PluginWindowHandle GetCompositorHostWindow() = 0;
virtual void WillWmDestroy() = 0;
virtual void ShowCompositorHostWindow(bool show) = 0;
#endif
+ virtual gfx::PluginWindowHandle AcquireCompositingSurface() = 0;
+ virtual void ReleaseCompositingSurface(gfx::PluginWindowHandle surface) = 0;
+
// Toggles visual muting of the render view area. This is on when a
// constrained window is showing, for example. |color| is the shade of
// the overlay that covers the render view. If |animate| is true, the overlay

Powered by Google App Engine
This is Rietveld 408576698