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

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

Issue 10543158: Do not toggle Applist with Search key press when accessibility is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace shell { 13 namespace shell {
14 14
15 class LauncherDelegateImpl; 15 class LauncherDelegateImpl;
16 class WindowWatcher; 16 class WindowWatcher;
17 17
18 class ShellDelegateImpl : public ash::ShellDelegate { 18 class ShellDelegateImpl : public ash::ShellDelegate {
19 public: 19 public:
20 ShellDelegateImpl(); 20 ShellDelegateImpl();
21 virtual ~ShellDelegateImpl(); 21 virtual ~ShellDelegateImpl();
22 22
23 void SetWatcher(WindowWatcher* watcher); 23 void SetWatcher(WindowWatcher* watcher);
24 24
25 virtual bool IsUserLoggedIn() OVERRIDE; 25 virtual bool IsUserLoggedIn() OVERRIDE;
26 virtual void LockScreen() OVERRIDE; 26 virtual void LockScreen() OVERRIDE;
27 virtual void UnlockScreen() OVERRIDE; 27 virtual void UnlockScreen() OVERRIDE;
28 virtual bool IsScreenLocked() const OVERRIDE; 28 virtual bool IsScreenLocked() const OVERRIDE;
29 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
Zachary Kuznia 2012/06/14 10:02:22 This duplicates "IsInAccessibilityMode()" in ash/s
Yusuke Sato 2012/06/14 11:41:40 Thanks! Done.
29 virtual void Shutdown() OVERRIDE; 30 virtual void Shutdown() OVERRIDE;
30 virtual void Exit() OVERRIDE; 31 virtual void Exit() OVERRIDE;
31 virtual void NewTab() OVERRIDE; 32 virtual void NewTab() OVERRIDE;
32 virtual void NewWindow(bool incognito) OVERRIDE; 33 virtual void NewWindow(bool incognito) OVERRIDE;
33 virtual void OpenFileManager(bool as_dialog) OVERRIDE; 34 virtual void OpenFileManager(bool as_dialog) OVERRIDE;
34 virtual void OpenCrosh() OVERRIDE; 35 virtual void OpenCrosh() OVERRIDE;
35 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; 36 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE;
36 virtual void RestoreTab() OVERRIDE; 37 virtual void RestoreTab() OVERRIDE;
37 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; 38 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE;
38 virtual void ShowKeyboardOverlay() OVERRIDE; 39 virtual void ShowKeyboardOverlay() OVERRIDE;
(...skipping 18 matching lines...) Expand all
57 58
58 bool locked_; 59 bool locked_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 61 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
61 }; 62 };
62 63
63 } // namespace shell 64 } // namespace shell
64 } // namespace ash 65 } // namespace ash
65 66
66 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 67 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698