OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ |
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ | 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/time/default_tick_clock.h" | 11 #include "base/time/default_tick_clock.h" |
12 #include "base/time/tick_clock.h" | 12 #include "base/time/tick_clock.h" |
13 #include "content/browser/media/capture/cursor_renderer.h" | 13 #include "content/browser/media/capture/cursor_renderer.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "media/base/video_frame.h" | 15 #include "media/base/video_frame.h" |
16 #include "skia/ext/image_operations.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
17 #include "ui/aura/window.h" | 17 #include "ui/aura/window.h" |
18 #include "ui/base/cursor/cursor.h" | 18 #include "ui/base/cursor/cursor.h" |
19 #include "ui/events/event_handler.h" | 19 #include "ui/events/event_handler.h" |
20 #include "ui/gfx/geometry/point.h" | 20 #include "ui/gfx/geometry/point.h" |
21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
22 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 // Setting to control cursor display based on either mouse movement or always | 26 // Setting to control cursor display based on either mouse movement or always |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 base::TickClock* tick_clock_; | 80 base::TickClock* tick_clock_; |
81 | 81 |
82 base::WeakPtrFactory<CursorRendererAura> weak_factory_; | 82 base::WeakPtrFactory<CursorRendererAura> weak_factory_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(CursorRendererAura); | 84 DISALLOW_COPY_AND_ASSIGN(CursorRendererAura); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace content | 87 } // namespace content |
88 | 88 |
89 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ | 89 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_AURA_H_ |
OLD | NEW |