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

Unified Diff: ash/test/test_shell_delegate.cc

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: add tests 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 side-by-side diff with in-line comments
Download patch
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index 6b36f45d2070cbbd22864bc3f8284359a98b7db3..532876ec851a7f44b5202adac74ca45a65f1aea7 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -26,6 +26,7 @@ TestShellDelegate::TestShellDelegate()
high_contrast_enabled_(false),
screen_magnifier_enabled_(false),
screen_magnifier_type_(kDefaultMagnifierType),
+ large_cursor_enabled_(false),
num_exit_requests_(0),
multi_profiles_enabled_(false),
test_session_state_delegate_(NULL) {
@@ -129,6 +130,14 @@ MagnifierType TestShellDelegate::GetMagnifierType() const {
return screen_magnifier_type_;
}
+void TestShellDelegate::SetLargeCursorEnabled(bool enabled) {
+ large_cursor_enabled_ = enabled;
+}
+
+bool TestShellDelegate::IsLargeCursorEnabled() const {
+ return large_cursor_enabled_;
+}
+
bool TestShellDelegate::ShouldAlwaysShowAccessibilityMenu() const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698