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 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } | 95 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } |
96 | 96 |
97 WorkspaceController* workspace_controller() { | 97 WorkspaceController* workspace_controller() { |
98 return workspace_controller_.get(); | 98 return workspace_controller_.get(); |
99 } | 99 } |
100 | 100 |
101 AlwaysOnTopController* always_on_top_controller() { | 101 AlwaysOnTopController* always_on_top_controller() { |
102 return always_on_top_controller_.get(); | 102 return always_on_top_controller_.get(); |
103 } | 103 } |
104 | 104 |
| 105 keyboard::KeyboardController* keyboard_controller() { |
| 106 return keyboard_controller_.get(); |
| 107 } |
| 108 |
105 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } | 109 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } |
106 | 110 |
107 // Access the shelf associated with this root window controller, | 111 // Access the shelf associated with this root window controller, |
108 // NULL if no such shelf exists. | 112 // NULL if no such shelf exists. |
109 ShelfWidget* shelf() { return shelf_.get(); } | 113 ShelfWidget* shelf() { return shelf_.get(); } |
110 | 114 |
111 // Get touch HUDs associated with this root window controller. | 115 // Get touch HUDs associated with this root window controller. |
112 TouchHudDebug* touch_hud_debug() const { | 116 TouchHudDebug* touch_hud_debug() const { |
113 return touch_hud_debug_; | 117 return touch_hud_debug_; |
114 } | 118 } |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 292 |
289 | 293 |
290 // Gets the RootWindowController for |root_window|. | 294 // Gets the RootWindowController for |root_window|. |
291 ASH_EXPORT RootWindowController* GetRootWindowController( | 295 ASH_EXPORT RootWindowController* GetRootWindowController( |
292 const aura::RootWindow* root_window); | 296 const aura::RootWindow* root_window); |
293 | 297 |
294 } // namespace internal | 298 } // namespace internal |
295 } // ash | 299 } // ash |
296 | 300 |
297 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 301 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |