[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 6 | #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 7 | |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 8 | #include <map> |
| 9 | |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 10 | #include "ash/ash_export.h" |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 11 | #include "ash/shelf/shelf_types.h" |
[email protected] | d141b92 | 2013-07-09 08:13:17 | [diff] [blame] | 12 | #include "ash/shell_observer.h" |
[email protected] | 16059276d | 2012-10-22 18:59:50 | [diff] [blame] | 13 | #include "ash/system/user/login_status.h" |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 14 | #include "base/basictypes.h" |
| 15 | #include "base/memory/scoped_ptr.h" |
[email protected] | 940fb1c | 2013-06-18 16:54:28 | [diff] [blame] | 16 | #include "ui/base/ui_base_types.h" |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 17 | |
| 18 | class SkBitmap; |
| 19 | |
| 20 | namespace aura { |
| 21 | class EventFilter; |
| 22 | class RootWindow; |
| 23 | class Window; |
[email protected] | 4a59e4e | 2012-11-12 21:15:40 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | namespace gfx { |
| 27 | class Point; |
| 28 | } |
| 29 | |
| 30 | namespace views { |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 31 | class Widget; |
| 32 | |
[email protected] | 4a59e4e | 2012-11-12 21:15:40 | [diff] [blame] | 33 | namespace corewm { |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 34 | class InputMethodEventFilter; |
| 35 | class RootWindowEventFilter; |
[email protected] | 23a2dc8 | 2013-08-22 15:04:22 | [diff] [blame] | 36 | class ScopedCaptureClient; |
[email protected] | 4a59e4e | 2012-11-12 21:15:40 | [diff] [blame] | 37 | } |
| 38 | } |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 39 | |
[email protected] | 86459e2c | 2013-04-10 13:39:24 | [diff] [blame] | 40 | namespace keyboard { |
| 41 | class KeyboardController; |
| 42 | } |
| 43 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 44 | namespace ash { |
[email protected] | 2a2caa0 | 2013-01-22 20:50:36 | [diff] [blame] | 45 | class StackingController; |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 46 | class ShelfWidget; |
[email protected] | a0afeb1 | 2012-12-10 22:57:09 | [diff] [blame] | 47 | class SystemTray; |
[email protected] | a4cd6d3 | 2012-09-12 03:42:13 | [diff] [blame] | 48 | class ToplevelWindowEventHandler; |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 49 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 50 | namespace internal { |
| 51 | |
[email protected] | 80549c15 | 2013-07-02 01:42:47 | [diff] [blame] | 52 | class AlwaysOnTopController; |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 53 | class AnimatingDesktopController; |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 54 | class DesktopBackgroundWidgetController; |
[email protected] | beb4e5c | 2013-06-18 15:37:07 | [diff] [blame] | 55 | class DockedWindowLayoutManager; |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 56 | class PanelLayoutManager; |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 57 | class RootWindowLayoutManager; |
| 58 | class ScreenDimmer; |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 59 | class ShelfLayoutManager; |
| 60 | class StatusAreaWidget; |
| 61 | class SystemBackgroundController; |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 62 | class SystemModalContainerLayoutManager; |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 63 | class TouchHudDebug; |
| 64 | class TouchHudProjection; |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 65 | class WorkspaceController; |
| 66 | |
[email protected] | 252eb23 | 2013-08-14 22:09:27 | [diff] [blame] | 67 | #if defined(USE_X11) |
| 68 | class BootSplashScreen; |
| 69 | #endif |
| 70 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 71 | // This class maintains the per root window state for ash. This class |
| 72 | // owns the root window and other dependent objects that should be |
| 73 | // deleted upon the deletion of the root window. The RootWindowController |
| 74 | // for particular root window is stored as a property and can be obtained |
| 75 | // using |GetRootWindowController(aura::RootWindow*)| function. |
[email protected] | d141b92 | 2013-07-09 08:13:17 | [diff] [blame] | 76 | class ASH_EXPORT RootWindowController : public ShellObserver { |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 77 | public: |
| 78 | explicit RootWindowController(aura::RootWindow* root_window); |
[email protected] | d141b92 | 2013-07-09 08:13:17 | [diff] [blame] | 79 | virtual ~RootWindowController(); |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 80 | |
[email protected] | 88d7112 | 2012-10-18 07:11:01 | [diff] [blame] | 81 | // Returns a RootWindowController that has a launcher for given |
| 82 | // |window|. This returns the RootWindowController for the |window|'s |
| 83 | // root window when multiple launcher mode is enabled, or the primary |
| 84 | // RootWindowController otherwise. |
| 85 | static RootWindowController* ForLauncher(aura::Window* window); |
| 86 | |
[email protected] | a0afeb1 | 2012-12-10 22:57:09 | [diff] [blame] | 87 | // Returns a RootWindowController of the window's root window. |
[email protected] | ccff3d7 | 2013-02-06 04:26:28 | [diff] [blame] | 88 | static RootWindowController* ForWindow(const aura::Window* window); |
[email protected] | a0afeb1 | 2012-12-10 22:57:09 | [diff] [blame] | 89 | |
[email protected] | d17642d | 2013-09-12 23:44:38 | [diff] [blame^] | 90 | // Returns the RootWindowController of the target root window. |
| 91 | static internal::RootWindowController* ForTargetRootWindow(); |
[email protected] | a0afeb1 | 2012-12-10 22:57:09 | [diff] [blame] | 92 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 93 | aura::RootWindow* root_window() { return root_window_.get(); } |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 94 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 95 | RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 96 | |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 97 | WorkspaceController* workspace_controller() { |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 98 | return workspace_controller_.get(); |
| 99 | } |
| 100 | |
[email protected] | 80549c15 | 2013-07-02 01:42:47 | [diff] [blame] | 101 | AlwaysOnTopController* always_on_top_controller() { |
| 102 | return always_on_top_controller_.get(); |
| 103 | } |
| 104 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 105 | ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } |
| 106 | |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 107 | // Access the shelf associated with this root window controller, |
| 108 | // NULL if no such shelf exists. |
| 109 | ShelfWidget* shelf() { return shelf_.get(); } |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 110 | |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 111 | // Get touch HUDs associated with this root window controller. |
| 112 | TouchHudDebug* touch_hud_debug() const { |
| 113 | return touch_hud_debug_; |
[email protected] | bff1755 | 2013-04-25 04:44:55 | [diff] [blame] | 114 | } |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 115 | TouchHudProjection* touch_hud_projection() const { |
| 116 | return touch_hud_projection_; |
| 117 | } |
| 118 | |
| 119 | // Set touch HUDs for this root window controller. The root window controller |
| 120 | // will not own the HUDs; their lifetimes are managed by themselves. Whenever |
| 121 | // the widget showing a HUD is being destroyed (e.g. because of detaching a |
| 122 | // display), the HUD deletes itself. |
| 123 | void set_touch_hud_debug(TouchHudDebug* hud) { |
| 124 | touch_hud_debug_ = hud; |
| 125 | } |
| 126 | void set_touch_hud_projection(TouchHudProjection* hud) { |
| 127 | touch_hud_projection_ = hud; |
| 128 | } |
| 129 | |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 130 | DesktopBackgroundWidgetController* wallpaper_controller() { |
| 131 | return wallpaper_controller_.get(); |
| 132 | } |
| 133 | void SetWallpaperController(DesktopBackgroundWidgetController* controller); |
| 134 | AnimatingDesktopController* animating_wallpaper_controller() { |
| 135 | return animating_wallpaper_controller_.get(); |
| 136 | } |
| 137 | void SetAnimatingWallpaperController(AnimatingDesktopController* controller); |
| 138 | |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 139 | // Access the shelf layout manager associated with this root |
| 140 | // window controller, NULL if no such shelf exists. |
| 141 | ShelfLayoutManager* GetShelfLayoutManager(); |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 142 | |
[email protected] | a0afeb1 | 2012-12-10 22:57:09 | [diff] [blame] | 143 | // Returns the system tray on this root window. Note that |
| 144 | // calling this on the root window that doesn't have a launcher will |
| 145 | // lead to a crash. |
| 146 | SystemTray* GetSystemTray(); |
| 147 | |
[email protected] | 431552c | 2012-10-23 00:38:33 | [diff] [blame] | 148 | // Shows context menu at the |location_in_screen|. This uses |
| 149 | // |ShellDelegate::CreateContextMenu| to define the content of the menu. |
[email protected] | 940fb1c | 2013-06-18 16:54:28 | [diff] [blame] | 150 | void ShowContextMenu(const gfx::Point& location_in_screen, |
| 151 | ui::MenuSourceType source_type); |
[email protected] | 431552c | 2012-10-23 00:38:33 | [diff] [blame] | 152 | |
[email protected] | 8674b31 | 2012-10-12 19:02:44 | [diff] [blame] | 153 | // Returns the layout-manager for the appropriate modal-container. If the |
| 154 | // window is inside the lockscreen modal container, then the layout manager |
| 155 | // for that is returned. Otherwise the layout manager for the default modal |
| 156 | // container is returned. |
| 157 | // If no window is specified (i.e. |window| is NULL), then the lockscreen |
| 158 | // modal container is used if the screen is currently locked. Otherwise, the |
| 159 | // default modal container is used. |
| 160 | SystemModalContainerLayoutManager* GetSystemModalLayoutManager( |
| 161 | aura::Window* window); |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 162 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 163 | aura::Window* GetContainer(int container_id); |
[email protected] | d8a2495 | 2013-08-05 20:05:05 | [diff] [blame] | 164 | const aura::Window* GetContainer(int container_id) const; |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 165 | |
[email protected] | 756bda1 | 2013-07-03 08:17:06 | [diff] [blame] | 166 | // Initializes the RootWindowController. |first_run_after_boot| is |
| 167 | // set to true only for primary root window after boot. |
| 168 | void Init(bool first_run_after_boot); |
[email protected] | 697f04c | 2012-10-03 01:15:10 | [diff] [blame] | 169 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 170 | // Show launcher view if it was created hidden (before session has started). |
| 171 | void ShowLauncher(); |
| 172 | |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 173 | // Called when the launcher associated with this root window is created. |
| 174 | void OnLauncherCreated(); |
| 175 | |
[email protected] | 16059276d | 2012-10-22 18:59:50 | [diff] [blame] | 176 | // Called when the login status changes after login (such as lock/unlock). |
| 177 | // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
| 178 | void UpdateAfterLoginStatusChange(user::LoginStatus status); |
| 179 | |
[email protected] | bca9a7e | 2012-11-10 06:25:49 | [diff] [blame] | 180 | // Called when the brightness/grayscale animation from white to the login |
| 181 | // desktop background image has started. Starts |boot_splash_screen_|'s |
| 182 | // hiding animation (if the screen is non-NULL). |
| 183 | void HandleInitialDesktopBackgroundAnimationStarted(); |
| 184 | |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 185 | // Called when the wallpaper ainmation is finished. Updates |background_| |
| 186 | // to be black and drops |boot_splash_screen_| and moves the wallpaper |
| 187 | // controller into the root window controller. |widget| holds the wallpaper |
| 188 | // image, or NULL if the background is a solid color. |
| 189 | void OnWallpaperAnimationFinished(views::Widget* widget); |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 190 | |
[email protected] | 6675e1c | 2012-09-11 09:15:45 | [diff] [blame] | 191 | // Deletes associated objects and clears the state, but doesn't delete |
| 192 | // the root window yet. This is used to delete a secondary displays' |
| 193 | // root window safely when the display disconnect signal is received, |
| 194 | // which may come while we're in the nested message loop. |
| 195 | void Shutdown(); |
| 196 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 197 | // Deletes all child windows and performs necessary cleanup. |
| 198 | void CloseChildWindows(); |
| 199 | |
[email protected] | f185312 | 2012-06-27 16:21:26 | [diff] [blame] | 200 | // Moves child windows to |dest|. |
| 201 | void MoveWindowsTo(aura::RootWindow* dest); |
| 202 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 203 | // Force the shelf to query for it's current visibility state. |
| 204 | void UpdateShelfVisibility(); |
| 205 | |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 206 | // Initialize touch HUDs if necessary. |
| 207 | void InitTouchHuds(); |
| 208 | |
[email protected] | e3bc88e | 2013-09-06 06:22:06 | [diff] [blame] | 209 | // Returns the window, if any, which is in fullscreen mode. If multiple |
| 210 | // windows are in fullscreen state, the topmost one is preferred. |
| 211 | const aura::Window* GetTopmostFullscreenWindow() const; |
[email protected] | 2ee2f5d | 2013-01-10 23:37:16 | [diff] [blame] | 212 | |
[email protected] | 431552c | 2012-10-23 00:38:33 | [diff] [blame] | 213 | private: |
[email protected] | 756bda1 | 2013-07-03 08:17:06 | [diff] [blame] | 214 | void InitLayoutManagers(); |
| 215 | |
| 216 | // Initializes |system_background_| and possibly also |boot_splash_screen_|. |
| 217 | // |is_first_run_after_boot| determines the background's initial color. |
| 218 | void CreateSystemBackground(bool is_first_run_after_boot); |
| 219 | |
[email protected] | a4cd6d3 | 2012-09-12 03:42:13 | [diff] [blame] | 220 | // Creates each of the special window containers that holds windows of various |
| 221 | // types in the shell UI. |
| 222 | void CreateContainersInRootWindow(aura::RootWindow* root_window); |
| 223 | |
[email protected] | 86459e2c | 2013-04-10 13:39:24 | [diff] [blame] | 224 | // Initializes the virtual keyboard. |
| 225 | void InitKeyboard(); |
| 226 | |
[email protected] | d141b92 | 2013-07-09 08:13:17 | [diff] [blame] | 227 | // Enables projection touch HUD. |
| 228 | void EnableTouchHudProjection(); |
| 229 | |
| 230 | // Disables projection touch HUD. |
| 231 | void DisableTouchHudProjection(); |
| 232 | |
| 233 | // Overridden from ShellObserver. |
| 234 | virtual void OnLoginStateChanged(user::LoginStatus status) OVERRIDE; |
| 235 | virtual void OnTouchHudProjectionToggled(bool enabled) OVERRIDE; |
| 236 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 237 | scoped_ptr<aura::RootWindow> root_window_; |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 238 | RootWindowLayoutManager* root_window_layout_; |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 239 | |
[email protected] | 2a2caa0 | 2013-01-22 20:50:36 | [diff] [blame] | 240 | scoped_ptr<StackingController> stacking_controller_; |
| 241 | |
[email protected] | 86459e2c | 2013-04-10 13:39:24 | [diff] [blame] | 242 | scoped_ptr<keyboard::KeyboardController> keyboard_controller_; |
| 243 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 244 | // The shelf for managing the launcher and the status widget. |
[email protected] | 478c6c3 | 2013-03-09 02:50:58 | [diff] [blame] | 245 | scoped_ptr<ShelfWidget> shelf_; |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 246 | |
[email protected] | cf6fea2 | 2013-08-07 14:24:01 | [diff] [blame] | 247 | // An invisible/empty window used as a event target for |
| 248 | // |MouseCursorEventFilter| before a user logs in. |
| 249 | // (crbug.com/266987) |
| 250 | // Its container is |LockScreenBackgroundContainer| and |
| 251 | // this must be deleted before the container is deleted. |
| 252 | scoped_ptr<aura::Window> mouse_event_target_; |
| 253 | |
[email protected] | beb4e5c | 2013-06-18 15:37:07 | [diff] [blame] | 254 | // Manages layout of docked windows. Owned by DockedContainer. |
| 255 | DockedWindowLayoutManager* docked_layout_manager_; |
| 256 | |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 257 | // Manages layout of panels. Owned by PanelContainer. |
[email protected] | 88d7112 | 2012-10-18 07:11:01 | [diff] [blame] | 258 | PanelLayoutManager* panel_layout_manager_; |
[email protected] | e74aaf0a | 2012-10-12 18:42:28 | [diff] [blame] | 259 | |
[email protected] | e6e41d2f | 2012-10-29 19:22:19 | [diff] [blame] | 260 | scoped_ptr<SystemBackgroundController> system_background_; |
[email protected] | 252eb23 | 2013-08-14 22:09:27 | [diff] [blame] | 261 | #if defined(USE_X11) |
[email protected] | bca9a7e | 2012-11-10 06:25:49 | [diff] [blame] | 262 | scoped_ptr<BootSplashScreen> boot_splash_screen_; |
[email protected] | 252eb23 | 2013-08-14 22:09:27 | [diff] [blame] | 263 | #endif |
[email protected] | 697f04c | 2012-10-03 01:15:10 | [diff] [blame] | 264 | |
[email protected] | c0ce80e | 2012-10-05 23:28:27 | [diff] [blame] | 265 | scoped_ptr<ScreenDimmer> screen_dimmer_; |
| 266 | scoped_ptr<WorkspaceController> workspace_controller_; |
[email protected] | 80549c15 | 2013-07-02 01:42:47 | [diff] [blame] | 267 | scoped_ptr<AlwaysOnTopController> always_on_top_controller_; |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 268 | |
[email protected] | 2b8a9bb | 2013-07-01 22:43:40 | [diff] [blame] | 269 | // Heads-up displays for touch events. These HUDs are not owned by the root |
| 270 | // window controller and manage their own lifetimes. |
| 271 | TouchHudDebug* touch_hud_debug_; |
| 272 | TouchHudProjection* touch_hud_projection_; |
[email protected] | 5817504 | 2013-04-01 19:27:13 | [diff] [blame] | 273 | |
[email protected] | a4cd6d3 | 2012-09-12 03:42:13 | [diff] [blame] | 274 | // We need to own event handlers for various containers. |
| 275 | scoped_ptr<ToplevelWindowEventHandler> default_container_handler_; |
| 276 | scoped_ptr<ToplevelWindowEventHandler> always_on_top_container_handler_; |
| 277 | scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; |
| 278 | scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
[email protected] | 58202205 | 2013-02-20 15:19:04 | [diff] [blame] | 279 | scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
[email protected] | beb4e5c | 2013-06-18 15:37:07 | [diff] [blame] | 280 | scoped_ptr<ToplevelWindowEventHandler> docked_container_handler_; |
[email protected] | a4cd6d3 | 2012-09-12 03:42:13 | [diff] [blame] | 281 | |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 282 | scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; |
| 283 | scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; |
[email protected] | 23a2dc8 | 2013-08-22 15:04:22 | [diff] [blame] | 284 | scoped_ptr<views::corewm::ScopedCaptureClient> capture_client_; |
[email protected] | 0bf6173 | 2013-07-02 04:35:10 | [diff] [blame] | 285 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 286 | DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 287 | }; |
| 288 | |
[email protected] | 6b2d4a0b | 2013-09-06 06:29:54 | [diff] [blame] | 289 | |
| 290 | // Gets the RootWindowController for |root_window|. |
| 291 | ASH_EXPORT RootWindowController* GetRootWindowController( |
| 292 | const aura::RootWindow* root_window); |
| 293 | |
[email protected] | d90b839 | 2012-06-13 09:34:56 | [diff] [blame] | 294 | } // namespace internal |
| 295 | } // ash |
| 296 | |
| 297 | #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |