OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WM_ASH_NATIVE_CURSOR_MANAGER_H_ | 5 #ifndef ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ |
6 #define ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ | 6 #define ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; | 48 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; |
49 virtual void SetScale( | 49 virtual void SetScale( |
50 float scale, | 50 float scale, |
51 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; | 51 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; |
52 virtual void SetCursorSet( | 52 virtual void SetCursorSet( |
53 ui::CursorSetType cursor_set, | 53 ui::CursorSetType cursor_set, |
54 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; | 54 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; |
55 virtual void SetMouseEventsEnabled( | 55 virtual void SetMouseEventsEnabled( |
56 bool enabled, | 56 bool enabled, |
57 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; | 57 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; |
| 58 virtual void SetNativeCursorEnabled( |
| 59 bool enabled, |
| 60 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; |
58 | 61 |
59 // The cursor location where the cursor was disabled. | 62 // The cursor location where the cursor was disabled. |
60 gfx::Point disabled_cursor_location_; | 63 gfx::Point disabled_cursor_location_; |
61 | 64 |
| 65 bool native_cursor_enabled_; |
| 66 |
62 scoped_ptr<ImageCursors> image_cursors_; | 67 scoped_ptr<ImageCursors> image_cursors_; |
63 | 68 |
64 DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManager); | 69 DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManager); |
65 }; | 70 }; |
66 | 71 |
67 } // namespace ash | 72 } // namespace ash |
68 | 73 |
69 #endif // ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ | 74 #endif // ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ |
OLD | NEW |