| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ | 5 #ifndef UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ |
| 6 #define UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ | 6 #define UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "ui/views/corewm/native_cursor_manager_delegate.h" | 9 #include "ui/views/corewm/native_cursor_manager_delegate.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual void SetCursorSet( | 52 virtual void SetCursorSet( |
| 53 ui::CursorSetType cursor_set, | 53 ui::CursorSetType cursor_set, |
| 54 views::corewm::NativeCursorManagerDelegate* delegate) = 0; | 54 views::corewm::NativeCursorManagerDelegate* delegate) = 0; |
| 55 | 55 |
| 56 // A request to set whether mouse events are disabled. At minimum, | 56 // A request to set whether mouse events are disabled. At minimum, |
| 57 // implementer should call NativeCursorManagerDelegate:: | 57 // implementer should call NativeCursorManagerDelegate:: |
| 58 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. | 58 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. |
| 59 virtual void SetMouseEventsEnabled( | 59 virtual void SetMouseEventsEnabled( |
| 60 bool enabled, | 60 bool enabled, |
| 61 views::corewm::NativeCursorManagerDelegate* delegate) = 0; | 61 views::corewm::NativeCursorManagerDelegate* delegate) = 0; |
| 62 |
| 63 // A request to set whether native cursors are enabled. |
| 64 virtual void SetNativeCursorEnabled( |
| 65 bool enabled, |
| 66 views::corewm::NativeCursorManagerDelegate* delegate) = 0; |
| 62 }; | 67 }; |
| 63 | 68 |
| 64 } // namespace corewm | 69 } // namespace corewm |
| 65 } // namespace views | 70 } // namespace views |
| 66 | 71 |
| 67 #endif // UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ | 72 #endif // UI_VIEWS_COREWM_NATIVE_CURSOR_MANAGER_H_ |
| OLD | NEW |