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

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

Issue 1000503002: Add BeginFrameObserverProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 d3e72e276c095cad708097abc5a6c84aad00f730..f03ff28e9e48ae374a414b8af1e222e4d97a7686 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -472,6 +472,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void DelegatedFrameHostUpdateVSyncParameters(
const base::TimeTicks& timebase,
const base::TimeDelta& interval) override;
+ void DelegatedFrameHostSendBeginFrame(
+ const cc::BeginFrameArgs& args) override;
// Detaches |this| from the input method object.
void DetachFromInputMethod();
@@ -494,6 +496,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// Helper function to set keyboard focus to the main window.
void SetKeyboardFocus();
+ // Called when RenderWidget want to start BeginFrame scheduling or stop.
+ void OnSetNeedsBeginFrames(bool needs_begin_frames);
+
RenderFrameHostImpl* GetFocusedFrame();
// The model object.

Powered by Google App Engine
This is Rietveld 408576698