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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 11861020: Aura: Browser-side changes for Composite-To-Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 2e8797e7eb15e21da50de682de777b82fd02719a..9123030962b794dd4c20a78538a0099136bfc1f1 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -141,6 +141,9 @@ class RenderWidgetHostViewAura
virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
virtual bool LockMouse() OVERRIDE;
virtual void UnlockMouse() OVERRIDE;
+ virtual void OnSwapCompositorFrame(const cc::CompositorFrame& frame,
+ int render_host_id,
+ int route_id) OVERRIDE;
// Overridden from ui::TextInputClient:
virtual void SetCompositionText(
@@ -303,6 +306,11 @@ class RenderWidgetHostViewAura
// Converts |rect| from window coordinate to screen coordinate.
gfx::Rect ConvertRectToScreen(const gfx::Rect& rect);
+ void BuffersSwapped(const gfx::Size& size,
+ const std::string& mailbox_name,
+ int route_id,
+ int host_id);
+
bool SwapBuffersPrepare(const gfx::Rect& surface_rect,
const gfx::Rect& damage_rect,
const std::string& mailbox_name,

Powered by Google App Engine
This is Rietveld 408576698