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

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

Issue 2242613003: Hoist SetNeedsBeginFrame messages up to the RWHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove base class call Created 4 years, 4 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 6dc5682415958c04d09c920f24b11606da2058b4..7c5ab3e39c9a42c42baf88f9497afff1b732fcc7 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -114,7 +114,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
RenderWidgetHostViewAura(RenderWidgetHost* host, bool is_guest_view_hack);
// RenderWidgetHostView implementation.
- bool OnMessageReceived(const IPC::Message& msg) override;
void InitAsChild(gfx::NativeView parent_view) override;
RenderWidgetHost* GetRenderWidgetHost() const override;
void SetSize(const gfx::Size& size) override;
@@ -134,6 +133,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void SetInsets(const gfx::Insets& insets) override;
void FocusedNodeTouched(const gfx::Point& location_dips_screen,
bool editable) override;
+ void SetNeedsBeginFrames(bool needs_begin_frames) override;
// Overridden from RenderWidgetHostViewBase:
void InitAsPopup(RenderWidgetHostView* parent_host_view,
@@ -501,9 +501,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// Helper function to set keyboard focus to the main window.
void SetKeyboardFocus();
- // Called when RenderWidget wants to start BeginFrame scheduling or stop.
- void OnSetNeedsBeginFrames(bool needs_begin_frames);
-
RenderFrameHostImpl* GetFocusedFrame();
// Returns true if the |event| passed in can be forwarded to the renderer.

Powered by Google App Engine
This is Rietveld 408576698