| 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 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // The native_type of the cursor, see definitions in cursor.h | 81 // The native_type of the cursor, see definitions in cursor.h |
| 82 int cursor_type_; | 82 int cursor_type_; |
| 83 | 83 |
| 84 // The last requested cursor visibility. | 84 // The last requested cursor visibility. |
| 85 bool visible_; | 85 bool visible_; |
| 86 | 86 |
| 87 ui::CursorSetType cursor_set_; | 87 ui::CursorSetType cursor_set_; |
| 88 gfx::Point hot_point_; | 88 gfx::Point hot_point_; |
| 89 | 89 |
| 90 bool enable_adjustable_large_cursor_; | |
| 91 int large_cursor_size_in_dip_; | 90 int large_cursor_size_in_dip_; |
| 92 | 91 |
| 93 // The display on which the cursor is drawn. | 92 // The display on which the cursor is drawn. |
| 94 // For mirroring mode, the display is always the primary display. | 93 // For mirroring mode, the display is always the primary display. |
| 95 display::Display display_; | 94 display::Display display_; |
| 96 | 95 |
| 97 std::unique_ptr<aura::Window> cursor_window_; | 96 std::unique_ptr<aura::Window> cursor_window_; |
| 98 std::unique_ptr<CursorWindowDelegate> delegate_; | 97 std::unique_ptr<CursorWindowDelegate> delegate_; |
| 99 | 98 |
| 100 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); | 99 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 } // namespace ash | 102 } // namespace ash |
| 104 | 103 |
| 105 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ | 104 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ |
| OLD | NEW |