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

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

Issue 12342028: make menus, bubbles, etc. top level windows on aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698