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 27 matching lines...) Expand all Loading... |
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( | 43 virtual void ToggleSpokenFeedback( |
44 AccessibilityNotificationVisibility notify) OVERRIDE; | 44 AccessibilityNotificationVisibility notify) OVERRIDE; |
45 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 45 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
46 virtual void ToggleHighContrast() OVERRIDE; | 46 virtual void ToggleHighContrast() OVERRIDE; |
47 virtual bool IsHighContrastEnabled() const OVERRIDE; | 47 virtual bool IsHighContrastEnabled() const OVERRIDE; |
48 virtual void SetMagnifier(MagnifierType type) OVERRIDE; | 48 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; |
| 49 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; |
| 50 virtual bool IsMagnifierEnabled() const OVERRIDE; |
49 virtual MagnifierType GetMagnifierType() const OVERRIDE; | 51 virtual MagnifierType GetMagnifierType() const OVERRIDE; |
50 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; | 52 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
51 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 53 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
52 virtual LauncherDelegate* CreateLauncherDelegate( | 54 virtual LauncherDelegate* CreateLauncherDelegate( |
53 ash::LauncherModel* model) OVERRIDE; | 55 ash::LauncherModel* model) OVERRIDE; |
54 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 56 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
55 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 57 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
56 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 58 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
57 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
58 virtual void OpenFeedbackPage() OVERRIDE; | 60 virtual void OpenFeedbackPage() OVERRIDE; |
(...skipping 28 matching lines...) Expand all Loading... |
87 void SetUserLoggedIn(bool user_logged_in); | 89 void SetUserLoggedIn(bool user_logged_in); |
88 | 90 |
89 // Sets the internal state that indicates whether the user can lock the | 91 // Sets the internal state that indicates whether the user can lock the |
90 // screen. | 92 // screen. |
91 void SetCanLockScreen(bool can_lock_screen); | 93 void SetCanLockScreen(bool can_lock_screen); |
92 | 94 |
93 bool locked_; | 95 bool locked_; |
94 bool session_started_; | 96 bool session_started_; |
95 bool spoken_feedback_enabled_; | 97 bool spoken_feedback_enabled_; |
96 bool high_contrast_enabled_; | 98 bool high_contrast_enabled_; |
| 99 bool screen_magnifier_enabled_; |
97 MagnifierType screen_magnifier_type_; | 100 MagnifierType screen_magnifier_type_; |
98 bool user_logged_in_; | 101 bool user_logged_in_; |
99 bool can_lock_screen_; | 102 bool can_lock_screen_; |
100 int num_exit_requests_; | 103 int num_exit_requests_; |
101 | 104 |
102 scoped_ptr<content::BrowserContext> current_browser_context_; | 105 scoped_ptr<content::BrowserContext> current_browser_context_; |
103 | 106 |
104 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 107 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
105 }; | 108 }; |
106 | 109 |
107 } // namespace test | 110 } // namespace test |
108 } // namespace ash | 111 } // namespace ash |
109 | 112 |
110 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 113 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |