summaryrefslogtreecommitdiffstats
path: root/content/browser/media/capture/cursor_renderer_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/media/capture/cursor_renderer_aura.cc')
-rw-r--r--content/browser/media/capture/cursor_renderer_aura.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/media/capture/cursor_renderer_aura.cc b/content/browser/media/capture/cursor_renderer_aura.cc
index 2b446e0..e5d3fc2 100644
--- a/content/browser/media/capture/cursor_renderer_aura.cc
+++ b/content/browser/media/capture/cursor_renderer_aura.cc
@@ -35,6 +35,12 @@ inline int alpha_blend(int alpha, int src, int dst) {
} // namespace
+// static
+scoped_ptr<CursorRenderer> CursorRenderer::Create(gfx::NativeWindow window) {
+ return scoped_ptr<CursorRenderer>(
+ new CursorRendererAura(window, kCursorEnabledOnMouseMovement));
+}
+
CursorRendererAura::CursorRendererAura(
aura::Window* window,
CursorDisplaySetting cursor_display_setting)