| 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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shelf/shelf_types.h" | 9 #include "ash/shelf/shelf_types.h" |
| 10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 84 } |
| 85 | 85 |
| 86 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } | 86 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } |
| 87 | 87 |
| 88 // Access the shelf associated with this root window controller, | 88 // Access the shelf associated with this root window controller, |
| 89 // NULL if no such shelf exists. | 89 // NULL if no such shelf exists. |
| 90 ShelfWidget* shelf() { return shelf_.get(); } | 90 ShelfWidget* shelf() { return shelf_.get(); } |
| 91 | 91 |
| 92 TouchObserverHUD* touch_observer_hud() { return touch_observer_hud_; } | 92 TouchObserverHUD* touch_observer_hud() { return touch_observer_hud_; } |
| 93 | 93 |
| 94 keyboard::KeyboardController* keyboard_controller() { |
| 95 return keyboard_controller_.get(); |
| 96 } |
| 97 |
| 94 // Sets the touch HUD. The RootWindowController will not own this HUD; its | 98 // Sets the touch HUD. The RootWindowController will not own this HUD; its |
| 95 // lifetime is managed by itself. | 99 // lifetime is managed by itself. |
| 96 void set_touch_observer_hud(TouchObserverHUD* hud) { | 100 void set_touch_observer_hud(TouchObserverHUD* hud) { |
| 97 touch_observer_hud_ = hud; | 101 touch_observer_hud_ = hud; |
| 98 } | 102 } |
| 99 // Access the shelf layout manager associated with this root | 103 // Access the shelf layout manager associated with this root |
| 100 // window controller, NULL if no such shelf exists. | 104 // window controller, NULL if no such shelf exists. |
| 101 ShelfLayoutManager* GetShelfLayoutManager(); | 105 ShelfLayoutManager* GetShelfLayoutManager(); |
| 102 | 106 |
| 103 // Returns the system tray on this root window. Note that | 107 // Returns the system tray on this root window. Note that |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 215 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 212 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; | 216 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
| 213 | 217 |
| 214 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 218 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 215 }; | 219 }; |
| 216 | 220 |
| 217 } // namespace internal | 221 } // namespace internal |
| 218 } // ash | 222 } // ash |
| 219 | 223 |
| 220 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 224 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |