Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: ash/root_window_controller.h

Issue 14674004: DRAFT: Add setKeyboardVisibility API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/shell.h » ('j') | ui/keyboard/keyboard_controller.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | ash/shell.h » ('j') | ui/keyboard/keyboard_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698