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

Side by Side Diff: ash/test/test_shell_delegate.h

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/system/tray_accessibility.cc ('k') | ash/test/test_shell_delegate.cc » ('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 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_
7 7
8 #include "ash/shell_delegate.h" 8 #include "ash/shell_delegate.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace test { 13 namespace test {
14 14
15 class AshTestBase; 15 class AshTestBase;
16 16
17 class TestShellDelegate : public ShellDelegate { 17 class TestShellDelegate : public ShellDelegate {
18 public: 18 public:
19 TestShellDelegate(); 19 TestShellDelegate();
20 virtual ~TestShellDelegate(); 20 virtual ~TestShellDelegate();
21 21
22 // Overridden from ShellDelegate: 22 // Overridden from ShellDelegate:
23 virtual bool IsUserLoggedIn() OVERRIDE; 23 virtual bool IsUserLoggedIn() const OVERRIDE;
24 virtual bool IsSessionStarted() OVERRIDE; 24 virtual bool IsSessionStarted() const OVERRIDE;
25 virtual bool IsFirstRunAfterBoot() OVERRIDE; 25 virtual bool IsFirstRunAfterBoot() const OVERRIDE;
26 virtual bool CanLockScreen() const OVERRIDE;
26 virtual void LockScreen() OVERRIDE; 27 virtual void LockScreen() OVERRIDE;
27 virtual bool CanLockScreen() OVERRIDE;
28 virtual void UnlockScreen() OVERRIDE; 28 virtual void UnlockScreen() OVERRIDE;
29 virtual bool IsScreenLocked() const OVERRIDE; 29 virtual bool IsScreenLocked() const OVERRIDE;
30 virtual void Shutdown() OVERRIDE; 30 virtual void Shutdown() OVERRIDE;
31 virtual void Exit() OVERRIDE; 31 virtual void Exit() OVERRIDE;
32 virtual void NewTab() OVERRIDE; 32 virtual void NewTab() OVERRIDE;
33 virtual void NewWindow(bool incognito) OVERRIDE; 33 virtual void NewWindow(bool incognito) OVERRIDE;
34 virtual void ToggleMaximized() OVERRIDE; 34 virtual void ToggleMaximized() OVERRIDE;
35 virtual void OpenFileManager(bool as_dialog) OVERRIDE; 35 virtual void OpenFileManager(bool as_dialog) OVERRIDE;
36 virtual void OpenCrosh() OVERRIDE; 36 virtual void OpenCrosh() OVERRIDE;
37 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; 37 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 scoped_ptr<content::BrowserContext> current_browser_context_; 105 scoped_ptr<content::BrowserContext> current_browser_context_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 107 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
108 }; 108 };
109 109
110 } // namespace test 110 } // namespace test
111 } // namespace ash 111 } // namespace ash
112 112
113 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 113 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray_accessibility.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698