diff options
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 14:22:56 +0000 |
---|---|---|
committer | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 14:22:56 +0000 |
commit | 5c85d5d2eb04d08aa38362889fbc18c89ce68c15 (patch) | |
tree | 4e2feec5872cea989ccae17024633eb2968a3e2e /ash/shell/shell_delegate_impl.cc | |
parent | 519d22910fd5ee9944e988987513277558564246 (diff) | |
download | chromium_src-5c85d5d2eb04d08aa38362889fbc18c89ce68c15.zip chromium_src-5c85d5d2eb04d08aa38362889fbc18c89ce68c15.tar.gz chromium_src-5c85d5d2eb04d08aa38362889fbc18c89ce68c15.tar.bz2 |
A11y: Add the option to always show the a11y tray menu regardless of the state of a11y features
Change summary:
- Add 'const' to ShellDelegate::IsUserLoggedIn()
- Use TrayImageItem::UpdateAfterLoginStatusChange delegate instead of ShellObserver::OnLoginStateChanged()
- Add a pref: kShouldAlwaysShowAccessibilityMenu
- Add a checkbox to chrome://settings
BUG=158287
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/11280236
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/shell_delegate_impl.cc')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index 1d569c8..1edc9d1 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -36,19 +36,19 @@ void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) { launcher_delegate_->set_watcher(watcher); } -bool ShellDelegateImpl::IsUserLoggedIn() { +bool ShellDelegateImpl::IsUserLoggedIn() const { return true; } -bool ShellDelegateImpl::IsSessionStarted() { +bool ShellDelegateImpl::IsSessionStarted() const { return true; } -bool ShellDelegateImpl::IsFirstRunAfterBoot() { +bool ShellDelegateImpl::IsFirstRunAfterBoot() const { return false; } -bool ShellDelegateImpl::CanLockScreen() { +bool ShellDelegateImpl::CanLockScreen() const { return true; } |