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 UI_AURA_ROOT_WINDOW_HOST_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_H_ |
6 #define UI_AURA_ROOT_WINDOW_HOST_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "ui/aura/aura_export.h" | 11 #include "ui/aura/aura_export.h" |
12 #include "ui/base/cursor/cursor.h" | 12 #include "ui/base/cursor/cursor.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 | 14 |
15 class SkCanvas; | 15 class SkCanvas; |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Insets; | 18 class Insets; |
19 class Point; | 19 class Point; |
20 class Rect; | 20 class Rect; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Called when the device scale factor of the root window has chagned. | 114 // Called when the device scale factor of the root window has chagned. |
115 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; | 115 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; |
116 | 116 |
117 // Stop listening events in preparation for shutdown. | 117 // Stop listening events in preparation for shutdown. |
118 virtual void PrepareForShutdown() = 0; | 118 virtual void PrepareForShutdown() = 0; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace aura | 121 } // namespace aura |
122 | 122 |
123 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ | 123 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ |
OLD | NEW |