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

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

Issue 17971002: Make RenderWidgetHostViewAura::CopyFromCompositingSurface readback layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tabcapture-aura: Move calls to RWHImpl Created 7 years, 6 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/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 9b1f7fc10b00f8ba30d4762eafbbcf00626f2292..3028a70675cced8bb56cfbaf68832ac41cd79e3d 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -295,6 +295,13 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
virtual void OnAccessibilityNotifications(
const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0;
+ // Return a value that is incremented each time the renderer swaps a new frame
+ // to the view.
+ virtual uint32 RendererFrameNumber() = 0;
+ // Called each time the RenderWidgetHost receives a new frame for display from
+ // the renderer.
+ virtual void DidReceiveRendererFrame() = 0;
+
#if defined(OS_MACOSX)
// Called just before GetBackingStore blocks for an updated frame.
virtual void AboutToWaitForBackingStoreMsg() = 0;

Powered by Google App Engine
This is Rietveld 408576698