Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ui/aura/root_window_host.h

Issue 12047111: Set scale/orientation property to aura root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Posts |native_event| to the platform's event queue. 109 // Posts |native_event| to the platform's event queue.
110 #if !defined(OS_MACOSX) 110 #if !defined(OS_MACOSX)
111 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; 111 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
112 #endif 112 #endif
113 113
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
120 // Sets the hosting platform specific property.
121 virtual void SetHostWindowProperty(const std::string& name, int value) = 0;
Daniel Erat 2013/01/30 21:04:27 nit: the other methods don't refer to "host window
oshima 2013/01/30 23:45:53 Renamed to SetIntProperty.
119 }; 122 };
120 123
121 } // namespace aura 124 } // namespace aura
122 125
123 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ 126 #endif // UI_AURA_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698