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

Unified Diff: ash/system/chromeos/power/tray_power.cc

Issue 697903002: Fix some minor typos related to the word "accessibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix an error of the chromeos build. Created 6 years, 1 month 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/ash_chromeos_strings.grdp ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/tray_power.cc
diff --git a/ash/system/chromeos/power/tray_power.cc b/ash/system/chromeos/power/tray_power.cc
index 3b9a367beac473997740c238ce15940536e2e951..d5d410c8d660a49c62c6442ae585d49604b64290 100644
--- a/ash/system/chromeos/power/tray_power.cc
+++ b/ash/system/chromeos/power/tray_power.cc
@@ -77,7 +77,7 @@ class PowerTrayView : public views::ImageView {
void SetupNotifyBadCharger() {
// Poll with a shorter duration timer to notify the charger issue
// for the first time after the charger dialog is displayed.
- spring_charger_accessility_timer_.Start(
+ spring_charger_accessibility_timer_.Start(
FROM_HERE, base::TimeDelta::FromSeconds(
kSpringChargerAccessibilityTimerFirstTimeNotifyInSeconds),
this, &PowerTrayView::NotifyChargerIssue);
@@ -95,26 +95,26 @@ class PowerTrayView : public views::ImageView {
if (!Shell::GetInstance()->system_tray_delegate()->
IsSpringChargerReplacementDialogVisible()) {
- spring_charger_accessility_timer_.Stop();
+ spring_charger_accessibility_timer_.Stop();
return;
}
- accessible_name_ = ui::ResourceBundle::GetSharedInstance().
- GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILTY_NOTIFICATION);
+ accessible_name_ = ui::ResourceBundle::GetSharedInstance().
+ GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILITY_NOTIFICATION);
NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
++spring_charger_spoken_notification_count_;
if (spring_charger_spoken_notification_count_ == 1) {
// After notify the charger issue for the first time, repeat the
// notification with a longer duration timer.
- spring_charger_accessility_timer_.Stop();
- spring_charger_accessility_timer_.Start(
+ spring_charger_accessibility_timer_.Stop();
+ spring_charger_accessibility_timer_.Start(
FROM_HERE, base::TimeDelta::FromMinutes(
kSpringChargerAccessibilityTimerRepeatInMinutes),
this, &PowerTrayView::NotifyChargerIssue);
} else if (spring_charger_spoken_notification_count_ >=
kMaxSpringChargerAccessibilityNotifyCount) {
- spring_charger_accessility_timer_.Stop();
+ spring_charger_accessibility_timer_.Stop();
}
}
@@ -124,7 +124,7 @@ class PowerTrayView : public views::ImageView {
// notification has been spoken.
int spring_charger_spoken_notification_count_;
- base::RepeatingTimer<PowerTrayView> spring_charger_accessility_timer_;
+ base::RepeatingTimer<PowerTrayView> spring_charger_accessibility_timer_;
DISALLOW_COPY_AND_ASSIGN(PowerTrayView);
};
« no previous file with comments | « ash/ash_chromeos_strings.grdp ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698