| Index: content/browser/media/capture/cursor_renderer_aura.h
|
| diff --git a/content/browser/media/capture/cursor_renderer_aura.h b/content/browser/media/capture/cursor_renderer_aura.h
|
| index 42dffa6b392a60f1bd66bc3e644c03a1f8bbed91..61e647c97db99edc531f5e3973ff9155f000c75f 100644
|
| --- a/content/browser/media/capture/cursor_renderer_aura.h
|
| +++ b/content/browser/media/capture/cursor_renderer_aura.h
|
| @@ -41,10 +41,13 @@ class CONTENT_EXPORT CursorRendererAura : public CursorRenderer,
|
|
|
| // ui::EventHandler overrides.
|
| void OnMouseEvent(ui::MouseEvent* event) final;
|
| + void OnEvent(ui::Event* event) final;
|
|
|
| // aura::WindowObserver overrides.
|
| void OnWindowDestroying(aura::Window* window) final;
|
|
|
| + bool ui_event_detected() const final;
|
| +
|
| private:
|
| friend class CursorRendererAuraTest;
|
|
|
| @@ -64,6 +67,8 @@ class CONTENT_EXPORT CursorRendererAura : public CursorRenderer,
|
| float last_mouse_position_y_;
|
| bool cursor_displayed_;
|
|
|
| + base::TimeTicks last_time_ui_event_detected_;
|
| +
|
| // Allows tests to replace the clock.
|
| base::DefaultTickClock default_tick_clock_;
|
| base::TickClock* tick_clock_;
|
|
|