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

Side by Side Diff: ash/shell.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
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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 namespace content { 42 namespace content {
43 class BrowserContext; 43 class BrowserContext;
44 } 44 }
45 45
46 namespace gfx { 46 namespace gfx {
47 class ImageSkia; 47 class ImageSkia;
48 class Point; 48 class Point;
49 class Rect; 49 class Rect;
50 } 50 }
51 namespace keyboard {
52 class KeyboardController;
53 }
51 namespace ui { 54 namespace ui {
52 class Layer; 55 class Layer;
53 } 56 }
54 namespace views { 57 namespace views {
55 class NonClientFrameView; 58 class NonClientFrameView;
56 class Widget; 59 class Widget;
57 namespace corewm { 60 namespace corewm {
58 class CompoundEventFilter; 61 class CompoundEventFilter;
59 class InputMethodEventFilter; 62 class InputMethodEventFilter;
60 class ShadowController; 63 class ShadowController;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 static const aura::Window* GetContainer(const aura::RootWindow* root_window, 193 static const aura::Window* GetContainer(const aura::RootWindow* root_window,
191 int container_id); 194 int container_id);
192 195
193 // Returns the list of containers that match |container_id| in 196 // Returns the list of containers that match |container_id| in
194 // all root windows. If |priority_root| is given, the container 197 // all root windows. If |priority_root| is given, the container
195 // in the |priority_root| will be inserted at the top of the list. 198 // in the |priority_root| will be inserted at the top of the list.
196 static std::vector<aura::Window*> GetContainersFromAllRootWindows( 199 static std::vector<aura::Window*> GetContainersFromAllRootWindows(
197 int container_id, 200 int container_id,
198 aura::RootWindow* priority_root); 201 aura::RootWindow* priority_root);
199 202
203 // Returns the KeyboardController, or NULL if there is no KeyboardController.
204 static keyboard::KeyboardController* GetKeyboardController();
205
200 // True if "launcher per display" feature is enabled. 206 // True if "launcher per display" feature is enabled.
201 static bool IsLauncherPerDisplayEnabled(); 207 static bool IsLauncherPerDisplayEnabled();
202 208
203 void set_active_root_window(aura::RootWindow* active_root_window) { 209 void set_active_root_window(aura::RootWindow* active_root_window) {
204 active_root_window_ = active_root_window; 210 active_root_window_ = active_root_window;
205 } 211 }
206 212
207 // Shows the context menu for the background and launcher at 213 // Shows the context menu for the background and launcher at
208 // |location_in_screen| (in screen coordinates). 214 // |location_in_screen| (in screen coordinates).
209 void ShowContextMenu(const gfx::Point& location_in_screen); 215 void ShowContextMenu(const gfx::Point& location_in_screen);
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 593
588 // For testing only: simulate that a modal window is open 594 // For testing only: simulate that a modal window is open
589 bool simulate_modal_window_open_for_testing_; 595 bool simulate_modal_window_open_for_testing_;
590 596
591 DISALLOW_COPY_AND_ASSIGN(Shell); 597 DISALLOW_COPY_AND_ASSIGN(Shell);
592 }; 598 };
593 599
594 } // namespace ash 600 } // namespace ash
595 601
596 #endif // ASH_SHELL_H_ 602 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/shell.cc » ('j') | ui/keyboard/keyboard_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698