| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ | 5 #ifndef ASH_WM_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ |
| 6 #define ASH_WM_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ | 6 #define ASH_WM_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ |
| 7 | 7 |
| 8 #include "ash/wm/native_cursor_manager_ash.h" | 8 #include "ash/wm/native_cursor_manager_ash.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 float GetScale() const override; | 34 float GetScale() const override; |
| 35 display::Display::Rotation GetRotation() const override; | 35 display::Display::Rotation GetRotation() const override; |
| 36 | 36 |
| 37 // Overridden from ::wm::NativeCursorManager: | 37 // Overridden from ::wm::NativeCursorManager: |
| 38 void SetDisplay(const display::Display& display, | 38 void SetDisplay(const display::Display& display, |
| 39 ::wm::NativeCursorManagerDelegate* delegate) override; | 39 ::wm::NativeCursorManagerDelegate* delegate) override; |
| 40 void SetCursor(gfx::NativeCursor cursor, | 40 void SetCursor(gfx::NativeCursor cursor, |
| 41 ::wm::NativeCursorManagerDelegate* delegate) override; | 41 ::wm::NativeCursorManagerDelegate* delegate) override; |
| 42 void SetVisibility(bool visible, | 42 void SetVisibility(bool visible, |
| 43 ::wm::NativeCursorManagerDelegate* delegate) override; | 43 ::wm::NativeCursorManagerDelegate* delegate) override; |
| 44 void SetCursorSet(ui::CursorSetType cursor_set, | 44 void SetCursorSize(ui::CursorSize cursor_size, |
| 45 ::wm::NativeCursorManagerDelegate* delegate) override; | 45 ::wm::NativeCursorManagerDelegate* delegate) override; |
| 46 void SetMouseEventsEnabled( | 46 void SetMouseEventsEnabled( |
| 47 bool enabled, | 47 bool enabled, |
| 48 ::wm::NativeCursorManagerDelegate* delegate) override; | 48 ::wm::NativeCursorManagerDelegate* delegate) override; |
| 49 | 49 |
| 50 // The cursor location where the cursor was disabled. | 50 // The cursor location where the cursor was disabled. |
| 51 gfx::Point disabled_cursor_location_; | 51 gfx::Point disabled_cursor_location_; |
| 52 | 52 |
| 53 bool native_cursor_enabled_; | 53 bool native_cursor_enabled_; |
| 54 | 54 |
| 55 std::unique_ptr<ui::ImageCursors> image_cursors_; | 55 std::unique_ptr<ui::ImageCursors> image_cursors_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(NativeCursorManagerAshClassic); | 57 DISALLOW_COPY_AND_ASSIGN(NativeCursorManagerAshClassic); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace ash | 60 } // namespace ash |
| 61 | 61 |
| 62 #endif // ASH_WM_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ | 62 #endif // ASH_WM_NATIVE_CURSOR_MANAGER_ASH_CLASSIC_H_ |
| OLD | NEW |