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

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 11280236: A11y: Add the option to always show the a11y tray menu regardless of the state of a11y features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »
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 #include "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/caps_lock_delegate_stub.h" 7 #include "ash/caps_lock_delegate_stub.h"
8 #include "ash/shell/example_factory.h" 8 #include "ash/shell/example_factory.h"
9 #include "ash/shell/launcher_delegate_impl.h" 9 #include "ash/shell/launcher_delegate_impl.h"
10 #include "ash/shell/context_menu.h" 10 #include "ash/shell/context_menu.h"
(...skipping 18 matching lines...) Expand all
29 29
30 ShellDelegateImpl::~ShellDelegateImpl() { 30 ShellDelegateImpl::~ShellDelegateImpl() {
31 } 31 }
32 32
33 void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) { 33 void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) {
34 watcher_ = watcher; 34 watcher_ = watcher;
35 if (launcher_delegate_) 35 if (launcher_delegate_)
36 launcher_delegate_->set_watcher(watcher); 36 launcher_delegate_->set_watcher(watcher);
37 } 37 }
38 38
39 bool ShellDelegateImpl::IsUserLoggedIn() { 39 bool ShellDelegateImpl::IsUserLoggedIn() const {
40 return true; 40 return true;
41 } 41 }
42 42
43 bool ShellDelegateImpl::IsSessionStarted() { 43 bool ShellDelegateImpl::IsSessionStarted() const {
44 return true; 44 return true;
45 } 45 }
46 46
47 bool ShellDelegateImpl::IsFirstRunAfterBoot() { 47 bool ShellDelegateImpl::IsFirstRunAfterBoot() const {
48 return false; 48 return false;
49 } 49 }
50 50
51 bool ShellDelegateImpl::CanLockScreen() { 51 bool ShellDelegateImpl::CanLockScreen() const {
52 return true; 52 return true;
53 } 53 }
54 54
55 void ShellDelegateImpl::LockScreen() { 55 void ShellDelegateImpl::LockScreen() {
56 ash::shell::CreateLockScreen(); 56 ash::shell::CreateLockScreen();
57 locked_ = true; 57 locked_ = true;
58 ash::Shell::GetInstance()->UpdateShelfVisibility(); 58 ash::Shell::GetInstance()->UpdateShelfVisibility();
59 } 59 }
60 60
61 void ShellDelegateImpl::UnlockScreen() { 61 void ShellDelegateImpl::UnlockScreen() {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 aura::client::StackingClient* ShellDelegateImpl::CreateStackingClient() { 207 aura::client::StackingClient* ShellDelegateImpl::CreateStackingClient() {
208 return new StackingController; 208 return new StackingController;
209 } 209 }
210 210
211 bool ShellDelegateImpl::IsSearchKeyActingAsFunctionKey() const { 211 bool ShellDelegateImpl::IsSearchKeyActingAsFunctionKey() const {
212 return false; 212 return false;
213 } 213 }
214 214
215 } // namespace shell 215 } // namespace shell
216 } // namespace ash 216 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698