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 <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 50 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
51 virtual void ToggleSpokenFeedback( | 51 virtual void ToggleSpokenFeedback( |
52 AccessibilityNotificationVisibility notify) OVERRIDE; | 52 AccessibilityNotificationVisibility notify) OVERRIDE; |
53 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 53 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
54 virtual void ToggleHighContrast() OVERRIDE; | 54 virtual void ToggleHighContrast() OVERRIDE; |
55 virtual bool IsHighContrastEnabled() const OVERRIDE; | 55 virtual bool IsHighContrastEnabled() const OVERRIDE; |
56 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; | 56 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; |
57 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; | 57 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; |
58 virtual bool IsMagnifierEnabled() const OVERRIDE; | 58 virtual bool IsMagnifierEnabled() const OVERRIDE; |
59 virtual MagnifierType GetMagnifierType() const OVERRIDE; | 59 virtual MagnifierType GetMagnifierType() const OVERRIDE; |
| 60 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE; |
| 61 virtual bool IsLargeCursorEnabled() const OVERRIDE; |
60 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; | 62 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
61 virtual void SilenceSpokenFeedback() const OVERRIDE; | 63 virtual void SilenceSpokenFeedback() const OVERRIDE; |
62 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 64 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
63 virtual LauncherDelegate* CreateLauncherDelegate( | 65 virtual LauncherDelegate* CreateLauncherDelegate( |
64 ash::LauncherModel* model) OVERRIDE; | 66 ash::LauncherModel* model) OVERRIDE; |
65 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 67 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
66 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 68 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
67 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 69 virtual CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
68 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 70 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
69 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 71 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
(...skipping 13 matching lines...) Expand all Loading... |
83 | 85 |
84 int num_exit_requests() const { return num_exit_requests_; } | 86 int num_exit_requests() const { return num_exit_requests_; } |
85 | 87 |
86 TestSessionStateDelegate* test_session_state_delegate(); | 88 TestSessionStateDelegate* test_session_state_delegate(); |
87 | 89 |
88 private: | 90 private: |
89 bool spoken_feedback_enabled_; | 91 bool spoken_feedback_enabled_; |
90 bool high_contrast_enabled_; | 92 bool high_contrast_enabled_; |
91 bool screen_magnifier_enabled_; | 93 bool screen_magnifier_enabled_; |
92 MagnifierType screen_magnifier_type_; | 94 MagnifierType screen_magnifier_type_; |
| 95 bool large_cursor_enabled_; |
93 int num_exit_requests_; | 96 int num_exit_requests_; |
94 bool multi_profiles_enabled_; | 97 bool multi_profiles_enabled_; |
95 | 98 |
96 scoped_ptr<content::BrowserContext> current_browser_context_; | 99 scoped_ptr<content::BrowserContext> current_browser_context_; |
97 | 100 |
98 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 101 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
99 | 102 |
100 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 103 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
101 }; | 104 }; |
102 | 105 |
103 } // namespace test | 106 } // namespace test |
104 } // namespace ash | 107 } // namespace ash |
105 | 108 |
106 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 109 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |