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

Unified Diff: ash/system/tray_accessibility.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/system/tray_accessibility.h ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_accessibility.cc
diff --git a/ash/system/tray_accessibility.cc b/ash/system/tray_accessibility.cc
index 669038d79402565e630f7373a21f250d48bb04c4..b3c09ea176fbc501e3b70146d21b10cde806a713 100644
--- a/ash/system/tray_accessibility.cc
+++ b/ash/system/tray_accessibility.cc
@@ -264,7 +264,7 @@ void AccessibilityDetailedView::OnViewClicked(views::View* sender) {
delegate->IsSpokenFeedbackEnabled() ?
ash::UMA_STATUS_AREA_DISABLE_SPOKEN_FEEDBACK :
ash::UMA_STATUS_AREA_ENABLE_SPOKEN_FEEDBACK);
- delegate->ToggleSpokenFeedback(ash::A11Y_NOTIFICATION_NONE);
+ delegate->ToggleSpokenFeedback(ui::A11Y_NOTIFICATION_NONE);
} else if (sender == high_contrast_view_) {
Shell::GetInstance()->metrics()->RecordUserMetricsAction(
delegate->IsHighContrastEnabled() ?
@@ -407,7 +407,7 @@ void TrayAccessibility::UpdateAfterLoginStatusChange(user::LoginStatus status) {
}
void TrayAccessibility::OnAccessibilityModeChanged(
- AccessibilityNotificationVisibility notify) {
+ ui::AccessibilityNotificationVisibility notify) {
SetTrayIconVisible(GetInitialVisibility());
uint32 accessibility_state = GetAccessibilityState();
@@ -423,7 +423,7 @@ void TrayAccessibility::OnAccessibilityModeChanged(
uint32 being_enabled =
(accessibility_state & ~previous_accessibility_state_) &
(A11Y_SPOKEN_FEEDBACK | A11Y_BRAILLE_DISPLAY_CONNECTED);
- if ((notify == ash::A11Y_NOTIFICATION_SHOW) && being_enabled != A11Y_NONE) {
+ if ((notify == ui::A11Y_NOTIFICATION_SHOW) && being_enabled != A11Y_NONE) {
// Shows popup if |notify| is true and the spoken feedback is being enabled.
request_popup_view_state_ = being_enabled;
PopupDetailedView(kTrayPopupAutoCloseDelayForTextInSeconds, false);
« no previous file with comments | « ash/system/tray_accessibility.h ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698