Chromium Code Reviews| 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.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 // Posts |native_event| to the platform's event queue. | 115 // Posts |native_event| to the platform's event queue. |
| 116 #if !defined(OS_MACOSX) | 116 #if !defined(OS_MACOSX) |
| 117 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; | 117 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; |
| 118 #endif | 118 #endif |
| 119 | 119 |
| 120 // Called when the device scale factor of the root window has chagned. | 120 // Called when the device scale factor of the root window has chagned. |
| 121 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; | 121 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; |
| 122 | 122 |
| 123 // Stop listening events in preparation for shutdown. | 123 // Stop listening events in preparation for shutdown. |
| 124 virtual void PrepareForShutdown() = 0; | 124 virtual void PrepareForShutdown() = 0; |
| 125 | |
| 126 virtual void SetHostWindowExpansion(const gfx::Rect& extra) = 0; | |
|
sky
2013/03/14 20:06:37
Add a description.
scottmg
2013/03/14 22:51:53
Done.
| |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 } // namespace aura | 129 } // namespace aura |
| 128 | 130 |
| 129 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ | 131 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ |
| OLD | NEW |