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

Side by Side Diff: ui/aura_shell/shell.h

Issue 8817018: Implement cycle window forward/backward by keyboard shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 'Move IsLocked to Shell' Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_AURA_SHELL_SHELL_H_ 5 #ifndef UI_AURA_SHELL_SHELL_H_
6 #define UI_AURA_SHELL_SHELL_H_ 6 #define UI_AURA_SHELL_SHELL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Adds or removes |filter| from the RootWindowEventFilter. 61 // Adds or removes |filter| from the RootWindowEventFilter.
62 void AddRootWindowEventFilter(aura::EventFilter* filter); 62 void AddRootWindowEventFilter(aura::EventFilter* filter);
63 void RemoveRootWindowEventFilter(aura::EventFilter* filter); 63 void RemoveRootWindowEventFilter(aura::EventFilter* filter);
64 64
65 // Toggles between overview mode and normal mode. 65 // Toggles between overview mode and normal mode.
66 void ToggleOverview(); 66 void ToggleOverview();
67 67
68 // Toggles app list. 68 // Toggles app list.
69 void ToggleAppList(); 69 void ToggleAppList();
70 70
71 // Returns true if the screen is locked.
72 bool IsScreenLocked() const;
73
71 ShellAcceleratorController* accelerator_controller() { 74 ShellAcceleratorController* accelerator_controller() {
72 return accelerator_controller_.get(); 75 return accelerator_controller_.get();
73 } 76 }
74 77
75 ShellTooltipManager* tooltip_manager() { 78 ShellTooltipManager* tooltip_manager() {
76 return tooltip_manager_.get(); 79 return tooltip_manager_.get();
77 } 80 }
78 81
79 ShellDelegate* delegate() { return delegate_.get(); } 82 ShellDelegate* delegate() { return delegate_.get(); }
80 Launcher* launcher() { return launcher_.get(); } 83 Launcher* launcher() { return launcher_.get(); }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 scoped_ptr<internal::ShellAcceleratorFilter> accelerator_filter_; 120 scoped_ptr<internal::ShellAcceleratorFilter> accelerator_filter_;
118 121
119 scoped_ptr<ShellTooltipManager> tooltip_manager_; 122 scoped_ptr<ShellTooltipManager> tooltip_manager_;
120 123
121 DISALLOW_COPY_AND_ASSIGN(Shell); 124 DISALLOW_COPY_AND_ASSIGN(Shell);
122 }; 125 };
123 126
124 } // namespace aura_shell 127 } // namespace aura_shell
125 128
126 #endif // UI_AURA_SHELL_SHELL_H_ 129 #endif // UI_AURA_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/aura_shell.gyp ('k') | ui/aura_shell/shell.cc » ('j') | ui/aura_shell/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698