OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
7 | 7 |
oshima
2016/04/08 07:09:39
include?
| |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
11 #include "ui/base/cursor/cursor.h" | 11 #include "ui/base/cursor/cursor.h" |
12 #include "ui/gfx/display.h" | 12 #include "ui/gfx/display.h" |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 namespace test { | 15 namespace test { |
16 class MirrorWindowTestApi; | 16 class MirrorWindowTestApi; |
17 } | 17 } |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 // The last requested cursor visibility. | 80 // The last requested cursor visibility. |
81 bool visible_; | 81 bool visible_; |
82 | 82 |
83 ui::CursorSetType cursor_set_; | 83 ui::CursorSetType cursor_set_; |
84 gfx::Point hot_point_; | 84 gfx::Point hot_point_; |
85 | 85 |
86 // The display on which the cursor is drawn. | 86 // The display on which the cursor is drawn. |
87 // For mirroring mode, the display is always the primary display. | 87 // For mirroring mode, the display is always the primary display. |
88 gfx::Display display_; | 88 gfx::Display display_; |
89 | 89 |
90 scoped_ptr<aura::Window> cursor_window_; | 90 std::unique_ptr<aura::Window> cursor_window_; |
91 scoped_ptr<CursorWindowDelegate> delegate_; | 91 std::unique_ptr<CursorWindowDelegate> delegate_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); | 93 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace ash | 96 } // namespace ash |
97 | 97 |
98 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 98 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
OLD | NEW |