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

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: add unittest 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..49793695dedbf52ae8fe367c4449d1f44ab52a83 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -469,9 +469,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
int output_surface_id,
const cc::CompositorFrameAck& ack) override;
void DelegatedFrameHostOnLostCompositorResources() override;
- 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 +493,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