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

Unified Diff: ash/shell/shell_delegate_impl.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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index cd9e5427f175f360797fa96f2a7e5934c20c8580..1fc782c22588d917a8719ce0acca258218ac2445 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -59,7 +59,8 @@ ShellDelegateImpl::ShellDelegateImpl()
spoken_feedback_enabled_(false),
high_contrast_enabled_(false),
screen_magnifier_enabled_(false),
- screen_magnifier_type_(kDefaultMagnifierType) {
+ screen_magnifier_type_(kDefaultMagnifierType),
+ large_cursor_enabled_(false) {
}
ShellDelegateImpl::~ShellDelegateImpl() {
@@ -170,6 +171,14 @@ MagnifierType ShellDelegateImpl::GetMagnifierType() const {
return screen_magnifier_type_;
}
+void ShellDelegateImpl::SetLargeCursorEnabled(bool enabled) {
+ large_cursor_enabled_ = enabled;
+}
+
+bool ShellDelegateImpl::IsLargeCursorEnabled() const {
+ return large_cursor_enabled_;
+}
+
bool ShellDelegateImpl::ShouldAlwaysShowAccessibilityMenu() const {
return false;
}
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698