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

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

Issue 16175004: Large Cursor: Add the toggle menuitem to a11y menu in uber tray (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test failure on win Created 7 years, 6 months 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 <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
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
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_
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