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