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

Unified Diff: ash/default_accessibility_delegate.cc

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 2 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/default_accessibility_delegate.h ('k') | ash/magnifier/magnification_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/default_accessibility_delegate.cc
diff --git a/ash/default_accessibility_delegate.cc b/ash/default_accessibility_delegate.cc
index b9ecfa2ee419d82562634daa960ade9d59edfabe..f337a2eb39a3cc51ddd641446acbf76ca32c8bd0 100644
--- a/ash/default_accessibility_delegate.cc
+++ b/ash/default_accessibility_delegate.cc
@@ -12,11 +12,11 @@ DefaultAccessibilityDelegate::DefaultAccessibilityDelegate()
: spoken_feedback_enabled_(false),
high_contrast_enabled_(false),
screen_magnifier_enabled_(false),
- screen_magnifier_type_(kDefaultMagnifierType),
+ screen_magnifier_type_(ui::kDefaultMagnifierType),
large_cursor_enabled_(false),
autoclick_enabled_(false),
virtual_keyboard_enabled_(false),
- accessibility_alert_(A11Y_ALERT_NONE) {
+ accessibility_alert_(ui::A11Y_ALERT_NONE) {
}
DefaultAccessibilityDelegate::~DefaultAccessibilityDelegate() {}
@@ -37,7 +37,7 @@ void DefaultAccessibilityDelegate::SetMagnifierEnabled(bool enabled) {
screen_magnifier_enabled_ = enabled;
}
-void DefaultAccessibilityDelegate::SetMagnifierType(MagnifierType type) {
+void DefaultAccessibilityDelegate::SetMagnifierType(ui::MagnifierType type) {
screen_magnifier_type_ = type;
}
@@ -45,7 +45,7 @@ bool DefaultAccessibilityDelegate::IsMagnifierEnabled() const {
return screen_magnifier_enabled_;
}
-MagnifierType DefaultAccessibilityDelegate::GetMagnifierType() const {
+ui::MagnifierType DefaultAccessibilityDelegate::GetMagnifierType() const {
return screen_magnifier_type_;
}
@@ -90,7 +90,7 @@ void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const {
}
void DefaultAccessibilityDelegate::ToggleSpokenFeedback(
- AccessibilityNotificationVisibility notify) {
+ ui::AccessibilityNotificationVisibility notify) {
spoken_feedback_enabled_ = !spoken_feedback_enabled_;
}
@@ -102,11 +102,12 @@ double DefaultAccessibilityDelegate::GetSavedScreenMagnifierScale() {
}
void DefaultAccessibilityDelegate::TriggerAccessibilityAlert(
- AccessibilityAlert alert) {
+ ui::AccessibilityAlert alert) {
accessibility_alert_ = alert;
}
-AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() {
+ui::AccessibilityAlert
+DefaultAccessibilityDelegate::GetLastAccessibilityAlert() {
return accessibility_alert_;
}
« no previous file with comments | « ash/default_accessibility_delegate.h ('k') | ash/magnifier/magnification_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698