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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } | 91 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } |
92 | 92 |
93 WorkspaceController* workspace_controller() { | 93 WorkspaceController* workspace_controller() { |
94 return workspace_controller_.get(); | 94 return workspace_controller_.get(); |
95 } | 95 } |
96 | 96 |
97 AlwaysOnTopController* always_on_top_controller() { | 97 AlwaysOnTopController* always_on_top_controller() { |
98 return always_on_top_controller_.get(); | 98 return always_on_top_controller_.get(); |
99 } | 99 } |
100 | 100 |
| 101 keyboard::KeyboardController* keyboard_controller() { |
| 102 return keyboard_controller_.get(); |
| 103 } |
| 104 |
101 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } | 105 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } |
102 | 106 |
103 // Access the shelf associated with this root window controller, | 107 // Access the shelf associated with this root window controller, |
104 // NULL if no such shelf exists. | 108 // NULL if no such shelf exists. |
105 ShelfWidget* shelf() { return shelf_.get(); } | 109 ShelfWidget* shelf() { return shelf_.get(); } |
106 | 110 |
107 // Get touch HUDs associated with this root window controller. | 111 // Get touch HUDs associated with this root window controller. |
108 TouchHudDebug* touch_hud_debug() const { | 112 TouchHudDebug* touch_hud_debug() const { |
109 return touch_hud_debug_; | 113 return touch_hud_debug_; |
110 } | 114 } |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; | 273 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; |
270 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; | 274 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; |
271 | 275 |
272 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 276 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
273 }; | 277 }; |
274 | 278 |
275 } // namespace internal | 279 } // namespace internal |
276 } // ash | 280 } // ash |
277 | 281 |
278 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 282 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |