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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate_views.cc

Issue 1785833002: Add 5 experimental accessibility features on Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change option_name to option-name Created 4 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/accessibility_delegate.h" 9 #include "ash/accessibility_delegate.h"
10 #include "ash/media_delegate.h" 10 #include "ash/media_delegate.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void SetMagnifierEnabled(bool enabled) override {} 88 void SetMagnifierEnabled(bool enabled) override {}
89 89
90 void SetMagnifierType(ui::MagnifierType type) override {} 90 void SetMagnifierType(ui::MagnifierType type) override {}
91 91
92 bool IsMagnifierEnabled() const override { return false; } 92 bool IsMagnifierEnabled() const override { return false; }
93 93
94 void SetAutoclickEnabled(bool enabled) override {} 94 void SetAutoclickEnabled(bool enabled) override {}
95 95
96 bool IsAutoclickEnabled() const override { return false; } 96 bool IsAutoclickEnabled() const override { return false; }
97 97
98 void SetCaretHighlightEnabled(bool enabled) override {}
99
100 bool IsCaretHighlightEnabled() const override { return false; }
101
102 void SetCursorHighlightEnabled(bool enabled) override {}
103
104 bool IsCursorHighlightEnabled() const override { return false; }
105
106 void SetFocusHighlightEnabled(bool enabled) override {}
107
108 bool IsFocusHighlightEnabled() const override { return false; }
109
110 void SetSelectToSpeakEnabled(bool enabled) override {}
111
112 bool IsSelectToSpeakEnabled() const override { return false; }
113
114 void SetSwitchAccessEnabled(bool enabled) override {}
115
116 bool IsSwitchAccessEnabled() const override { return false; }
117
98 ui::MagnifierType GetMagnifierType() const override { 118 ui::MagnifierType GetMagnifierType() const override {
99 return ui::kDefaultMagnifierType; 119 return ui::kDefaultMagnifierType;
100 } 120 }
101 121
102 void SaveScreenMagnifierScale(double scale) override {} 122 void SaveScreenMagnifierScale(double scale) override {}
103 123
104 double GetSavedScreenMagnifierScale() override { 124 double GetSavedScreenMagnifierScale() override {
105 return std::numeric_limits<double>::min(); 125 return std::numeric_limits<double>::min();
106 } 126 }
107 127
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 chrome::NOTIFICATION_PROFILE_ADDED, 260 chrome::NOTIFICATION_PROFILE_ADDED,
241 content::NotificationService::AllSources()); 261 content::NotificationService::AllSources());
242 registrar_.Add(this, 262 registrar_.Add(this,
243 chrome::NOTIFICATION_ASH_SESSION_STARTED, 263 chrome::NOTIFICATION_ASH_SESSION_STARTED,
244 content::NotificationService::AllSources()); 264 content::NotificationService::AllSources());
245 registrar_.Add(this, 265 registrar_.Add(this,
246 chrome::NOTIFICATION_ASH_SESSION_ENDED, 266 chrome::NOTIFICATION_ASH_SESSION_ENDED,
247 content::NotificationService::AllSources()); 267 content::NotificationService::AllSources());
248 #endif 268 #endif
249 } 269 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698