| 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 462cf87992a90d131b354dff27765148ec759e8c..033ac7c01b765eaa5386069d462a929bc27262d0 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.h
|
| @@ -20,6 +20,7 @@
|
| #include "content/browser/compositor/delegated_frame_host.h"
|
| #include "content/browser/compositor/image_transport_factory.h"
|
| #include "content/browser/compositor/owned_mailbox.h"
|
| +#include "content/browser/renderer_host/begin_frame_observer_proxy.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_base.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/cursors/webcursor.h"
|
| @@ -80,6 +81,7 @@ class RenderWidgetHostView;
|
| class CONTENT_EXPORT RenderWidgetHostViewAura
|
| : public RenderWidgetHostViewBase,
|
| public DelegatedFrameHostClient,
|
| + public BeginFrameObserverProxyClient,
|
| public ui::TextInputClient,
|
| public gfx::DisplayObserver,
|
| public aura::WindowTreeHostObserver,
|
| @@ -476,6 +478,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
|
| const base::TimeTicks& timebase,
|
| const base::TimeDelta& interval) override;
|
|
|
| + // BeginFrameObserverProxyClient implementation.
|
| + void SendBeginFrame(const cc::BeginFrameArgs& args) override;
|
| +
|
| // Detaches |this| from the input method object.
|
| void DetachFromInputMethod();
|
|
|
| @@ -497,6 +502,9 @@ 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.
|
| @@ -671,6 +679,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
|
| // compositing surface and showing the disambiguation popup.
|
| gfx::Vector2dF disambiguation_scroll_offset_;
|
|
|
| + BeginFrameObserverProxy begin_frame_observer_proxy_;
|
| +
|
| base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
|
| };
|
|
|