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 ASH_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 ~RootWindowController() override; | 104 ~RootWindowController() override; |
| 105 | 105 |
| 106 AshWindowTreeHost* ash_host() { return ash_host_.get(); } | 106 AshWindowTreeHost* ash_host() { return ash_host_.get(); } |
| 107 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); } | 107 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); } |
| 108 | 108 |
| 109 aura::WindowTreeHost* GetHost(); | 109 aura::WindowTreeHost* GetHost(); |
| 110 const aura::WindowTreeHost* GetHost() const; | 110 const aura::WindowTreeHost* GetHost() const; |
| 111 aura::Window* GetRootWindow(); | 111 aura::Window* GetRootWindow(); |
| 112 const aura::Window* GetRootWindow() const; | 112 const aura::Window* GetRootWindow() const; |
| 113 | 113 |
| 114 WorkspaceController* workspace_controller() { | 114 WorkspaceController* workspace_controller(); |
|
msw
2016/08/30 17:46:20
nit: GetWorkspaceController? (ok as-is temporarily
sky
2016/08/30 17:55:09
The style guide says this about function names "Fu
| |
| 115 return workspace_controller_.get(); | |
| 116 } | |
| 117 | 115 |
| 118 AlwaysOnTopController* always_on_top_controller() { | 116 AlwaysOnTopController* always_on_top_controller() { |
| 119 return always_on_top_controller_.get(); | 117 return always_on_top_controller_.get(); |
| 120 } | 118 } |
| 121 | 119 |
| 122 WmShelfAura* wm_shelf_aura() const { return wm_shelf_aura_.get(); } | 120 WmShelfAura* wm_shelf_aura() const { return wm_shelf_aura_.get(); } |
| 123 | 121 |
| 124 // Access the shelf widget associated with this root window controller, | 122 // Access the shelf widget associated with this root window controller, |
| 125 // NULL if no such shelf exists. | 123 // NULL if no such shelf exists. |
| 126 // DEPRECATED: Prefer GetShelf()->shelf_widget(). | 124 // DEPRECATED: Prefer GetShelf()->shelf_widget(). |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 301 | 299 |
| 302 std::unique_ptr<SystemBackgroundController> system_background_; | 300 std::unique_ptr<SystemBackgroundController> system_background_; |
| 303 | 301 |
| 304 #if defined(OS_CHROMEOS) | 302 #if defined(OS_CHROMEOS) |
| 305 std::unique_ptr<BootSplashScreen> boot_splash_screen_; | 303 std::unique_ptr<BootSplashScreen> boot_splash_screen_; |
| 306 // Responsible for initializing TouchExplorationController when spoken | 304 // Responsible for initializing TouchExplorationController when spoken |
| 307 // feedback is on. | 305 // feedback is on. |
| 308 std::unique_ptr<AshTouchExplorationManager> touch_exploration_manager_; | 306 std::unique_ptr<AshTouchExplorationManager> touch_exploration_manager_; |
| 309 #endif | 307 #endif |
| 310 | 308 |
| 311 std::unique_ptr<WorkspaceController> workspace_controller_; | |
| 312 std::unique_ptr<AlwaysOnTopController> always_on_top_controller_; | 309 std::unique_ptr<AlwaysOnTopController> always_on_top_controller_; |
| 313 | 310 |
| 314 // Heads-up displays for touch events. These HUDs are not owned by the root | 311 // Heads-up displays for touch events. These HUDs are not owned by the root |
| 315 // window controller and manage their own lifetimes. | 312 // window controller and manage their own lifetimes. |
| 316 TouchHudDebug* touch_hud_debug_; | 313 TouchHudDebug* touch_hud_debug_; |
| 317 TouchHudProjection* touch_hud_projection_; | 314 TouchHudProjection* touch_hud_projection_; |
| 318 | 315 |
| 319 // Handles double clicks on the panel window header. | 316 // Handles double clicks on the panel window header. |
| 320 std::unique_ptr<ui::EventHandler> panel_container_handler_; | 317 std::unique_ptr<ui::EventHandler> panel_container_handler_; |
| 321 | 318 |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 333 | 330 |
| 334 // On classic ash, returns the RootWindowController for the given |root_window|. | 331 // On classic ash, returns the RootWindowController for the given |root_window|. |
| 335 // On mus ash, returns the RootWindowController for the primary display. | 332 // On mus ash, returns the RootWindowController for the primary display. |
| 336 // See RootWindowController class comment above. | 333 // See RootWindowController class comment above. |
| 337 ASH_EXPORT RootWindowController* GetRootWindowController( | 334 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 338 const aura::Window* root_window); | 335 const aura::Window* root_window); |
| 339 | 336 |
| 340 } // namespace ash | 337 } // namespace ash |
| 341 | 338 |
| 342 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 339 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |