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

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

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 3682c5f596d6b633b26ce95c2391ddbbd28d87d1..5257aa6b99823e398409f45cd8c6106adc75ace5 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -455,6 +455,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
gfx::Size DesiredFrameSize() override;
float CurrentDeviceScaleFactor() override;
gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) override;
+ void OnSendBeginFrame(const cc::BeginFrameArgs& args) override;
// Detaches |this| from the input method object.
void DetachFromInputMethod();
@@ -477,6 +478,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