summaryrefslogtreecommitdiffstats
path: root/content/browser/media/capture/cursor_renderer.h
diff options
context:
space:
mode:
authorisheriff <isheriff@chromium.org>2016-03-25 18:11:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-26 01:12:54 +0000
commit76bb611f077321a06f5df9a22e414bb99722c479 (patch)
treef82e2c8fbfc6fc0f2ce8661e56a6de20d0e8bc1d /content/browser/media/capture/cursor_renderer.h
parent934f67a68da2054e526e13648c5452e2cf79c211 (diff)
downloadchromium_src-76bb611f077321a06f5df9a22e414bb99722c479.zip
chromium_src-76bb611f077321a06f5df9a22e414bb99722c479.tar.gz
chromium_src-76bb611f077321a06f5df9a22e414bb99722c479.tar.bz2
cast: Add window activity tracker for mac
This adds window activity detector for mac which enables the following features to be enabled on tab mirroring: - Low latency interactive mode will be turned on when user is interactive with non-animating content - Frame subscriber will enable frame capture in response to mouse events resulting in smooth rendering of mouse while mirroring BUG=567735 Review URL: https://codereview.chromium.org/1835493002 Cr-Commit-Position: refs/heads/master@{#383431}
Diffstat (limited to 'content/browser/media/capture/cursor_renderer.h')
-rw-r--r--content/browser/media/capture/cursor_renderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/media/capture/cursor_renderer.h b/content/browser/media/capture/cursor_renderer.h
index 7416413..7d3536a 100644
--- a/content/browser/media/capture/cursor_renderer.h
+++ b/content/browser/media/capture/cursor_renderer.h
@@ -21,6 +21,8 @@ namespace content {
// will listen to mouse events.
class CONTENT_EXPORT CursorRenderer {
public:
+ static scoped_ptr<CursorRenderer> Create(gfx::NativeView view);
+
virtual ~CursorRenderer() {}
// Clears the cursor state being tracked. Called when there is a need to