OLD | NEW |
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" |
(...skipping 24 matching lines...) Expand all Loading... |
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; |
38 virtual void RestoreTab() OVERRIDE; | 38 virtual void RestoreTab() OVERRIDE; |
39 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 39 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
40 virtual void ShowKeyboardOverlay() OVERRIDE; | 40 virtual void ShowKeyboardOverlay() OVERRIDE; |
41 virtual void ShowTaskManager() OVERRIDE; | 41 virtual void ShowTaskManager() OVERRIDE; |
42 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 42 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
43 virtual void ToggleSpokenFeedback() OVERRIDE; | 43 virtual void ToggleSpokenFeedback() OVERRIDE; |
44 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 44 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 45 virtual void ToggleHighContrast() OVERRIDE; |
| 46 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 47 virtual void SetScreenMagnifier(const MagnifierType type) OVERRIDE; |
| 48 virtual MagnifierType GetMagnifierType() const OVERRIDE; |
| 49 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
45 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 50 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
46 virtual LauncherDelegate* CreateLauncherDelegate( | 51 virtual LauncherDelegate* CreateLauncherDelegate( |
47 ash::LauncherModel* model) OVERRIDE; | 52 ash::LauncherModel* model) OVERRIDE; |
48 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 53 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
49 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 54 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
50 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 55 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
51 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 56 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
52 virtual void OpenFeedbackPage() OVERRIDE; | 57 virtual void OpenFeedbackPage() OVERRIDE; |
53 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 58 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
54 virtual void HandleMediaNextTrack() OVERRIDE; | 59 virtual void HandleMediaNextTrack() OVERRIDE; |
(...skipping 23 matching lines...) Expand all Loading... |
78 // hasn't been started too. | 83 // hasn't been started too. |
79 void SetUserLoggedIn(bool user_logged_in); | 84 void SetUserLoggedIn(bool user_logged_in); |
80 | 85 |
81 // Sets the internal state that indicates whether the user can lock the | 86 // Sets the internal state that indicates whether the user can lock the |
82 // screen. | 87 // screen. |
83 void SetCanLockScreen(bool can_lock_screen); | 88 void SetCanLockScreen(bool can_lock_screen); |
84 | 89 |
85 bool locked_; | 90 bool locked_; |
86 bool session_started_; | 91 bool session_started_; |
87 bool spoken_feedback_enabled_; | 92 bool spoken_feedback_enabled_; |
| 93 bool high_contrast_enabled_; |
| 94 MagnifierType screen_magnifier_type_; |
88 bool user_logged_in_; | 95 bool user_logged_in_; |
89 bool can_lock_screen_; | 96 bool can_lock_screen_; |
90 int num_exit_requests_; | 97 int num_exit_requests_; |
91 | 98 |
92 scoped_ptr<content::BrowserContext> current_browser_context_; | 99 scoped_ptr<content::BrowserContext> current_browser_context_; |
93 | 100 |
94 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 101 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
95 }; | 102 }; |
96 | 103 |
97 } // namespace test | 104 } // namespace test |
98 } // namespace ash | 105 } // namespace ash |
99 | 106 |
100 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 107 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |