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_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
11 | 11 |
12 namespace aura { | |
13 class RootWindow; | |
14 } | |
15 | |
16 namespace display { | 12 namespace display { |
17 class Display; | 13 class Display; |
18 } | 14 } |
19 | 15 |
20 namespace ui { | 16 namespace ui { |
21 class CursorLoader; | 17 class CursorLoader; |
22 } | 18 } |
23 | 19 |
24 namespace views { | 20 namespace views { |
25 | 21 |
(...skipping 13 matching lines...) Expand all Loading... |
39 | 35 |
40 // Called when the display has changed (as we may need to reload the cursor | 36 // Called when the display has changed (as we may need to reload the cursor |
41 // assets in response to a device scale factor or rotation change). | 37 // assets in response to a device scale factor or rotation change). |
42 virtual void OnDisplayUpdated(const display::Display& display, | 38 virtual void OnDisplayUpdated(const display::Display& display, |
43 ui::CursorLoader* loader) = 0; | 39 ui::CursorLoader* loader) = 0; |
44 }; | 40 }; |
45 | 41 |
46 } // namespace views | 42 } // namespace views |
47 | 43 |
48 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_H_ | 44 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_H_ |
OLD | NEW |