Commit e8f9c11c authored by sungmann.cho's avatar sungmann.cho Committed by Commit bot

Fix some minor typos related to the word "accessibility".

BUG=none
TBR=asargent

Review URL: https://codereview.chromium.org/697903002

Cr-Commit-Position: refs/heads/master@{#302528}
parent 9dfb808f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
Your Chromebook may not charge while it is turned on. Your Chromebook may not charge while it is turned on.
</message> </message>
<message name="IDS_CHARGER_REPLACEMENT_ACCESSIBILTY_NOTIFICATION" desc="The notification string used in accessibility to tell user to contact Google for replacing the possible bad charger."> <message name="IDS_CHARGER_REPLACEMENT_ACCESSIBILITY_NOTIFICATION" desc="The notification string used in accessibility to tell user to contact Google for replacing the possible bad charger.">
You may have a bad charger. If you live in the US, please call 866-628-1371 in order to receive help and a replacement. If you live in the UK, please call 0800-026-0613. If you live in Ireland, please call 1-800-832-664. If you live in Canada, please call 866-628-1372. If you live in Australia, please call 1-800-067-460. You may have a bad charger. If you live in the US, please call 866-628-1371 in order to receive help and a replacement. If you live in the UK, please call 0800-026-0613. If you live in Ireland, please call 1-800-832-664. If you live in Canada, please call 866-628-1372. If you live in Australia, please call 1-800-067-460.
</message> </message>
......
...@@ -77,7 +77,7 @@ class PowerTrayView : public views::ImageView { ...@@ -77,7 +77,7 @@ class PowerTrayView : public views::ImageView {
void SetupNotifyBadCharger() { void SetupNotifyBadCharger() {
// Poll with a shorter duration timer to notify the charger issue // Poll with a shorter duration timer to notify the charger issue
// for the first time after the charger dialog is displayed. // 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( FROM_HERE, base::TimeDelta::FromSeconds(
kSpringChargerAccessibilityTimerFirstTimeNotifyInSeconds), kSpringChargerAccessibilityTimerFirstTimeNotifyInSeconds),
this, &PowerTrayView::NotifyChargerIssue); this, &PowerTrayView::NotifyChargerIssue);
...@@ -95,26 +95,26 @@ class PowerTrayView : public views::ImageView { ...@@ -95,26 +95,26 @@ class PowerTrayView : public views::ImageView {
if (!Shell::GetInstance()->system_tray_delegate()-> if (!Shell::GetInstance()->system_tray_delegate()->
IsSpringChargerReplacementDialogVisible()) { IsSpringChargerReplacementDialogVisible()) {
spring_charger_accessility_timer_.Stop(); spring_charger_accessibility_timer_.Stop();
return; return;
} }
accessible_name_ = ui::ResourceBundle::GetSharedInstance(). accessible_name_ = ui::ResourceBundle::GetSharedInstance().
GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILTY_NOTIFICATION); GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILITY_NOTIFICATION);
NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true); NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
++spring_charger_spoken_notification_count_; ++spring_charger_spoken_notification_count_;
if (spring_charger_spoken_notification_count_ == 1) { if (spring_charger_spoken_notification_count_ == 1) {
// After notify the charger issue for the first time, repeat the // After notify the charger issue for the first time, repeat the
// notification with a longer duration timer. // notification with a longer duration timer.
spring_charger_accessility_timer_.Stop(); spring_charger_accessibility_timer_.Stop();
spring_charger_accessility_timer_.Start( spring_charger_accessibility_timer_.Start(
FROM_HERE, base::TimeDelta::FromMinutes( FROM_HERE, base::TimeDelta::FromMinutes(
kSpringChargerAccessibilityTimerRepeatInMinutes), kSpringChargerAccessibilityTimerRepeatInMinutes),
this, &PowerTrayView::NotifyChargerIssue); this, &PowerTrayView::NotifyChargerIssue);
} else if (spring_charger_spoken_notification_count_ >= } else if (spring_charger_spoken_notification_count_ >=
kMaxSpringChargerAccessibilityNotifyCount) { kMaxSpringChargerAccessibilityNotifyCount) {
spring_charger_accessility_timer_.Stop(); spring_charger_accessibility_timer_.Stop();
} }
} }
...@@ -124,7 +124,7 @@ class PowerTrayView : public views::ImageView { ...@@ -124,7 +124,7 @@ class PowerTrayView : public views::ImageView {
// notification has been spoken. // notification has been spoken.
int spring_charger_spoken_notification_count_; 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); DISALLOW_COPY_AND_ASSIGN(PowerTrayView);
}; };
......
...@@ -34,7 +34,7 @@ class ASH_EXPORT AccessibilityObserver { ...@@ -34,7 +34,7 @@ class ASH_EXPORT AccessibilityObserver {
public: public:
virtual ~AccessibilityObserver() {} virtual ~AccessibilityObserver() {}
// Notifies when accessibilty mode changes. // Notifies when accessibility mode changes.
virtual void OnAccessibilityModeChanged( virtual void OnAccessibilityModeChanged(
ui::AccessibilityNotificationVisibility notify) = 0; ui::AccessibilityNotificationVisibility notify) = 0;
}; };
......
...@@ -2021,7 +2021,7 @@ Press any key to continue exploring. ...@@ -2021,7 +2021,7 @@ Press any key to continue exploring.
<message name="IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED"> <message name="IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED">
Failed to disconnect and unpair from "<ph name="DEVICE_NAME">%1<ex>Nexus S</ex></ph>". Failed to disconnect and unpair from "<ph name="DEVICE_NAME">%1<ex>Nexus S</ex></ph>".
</message> </message>
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION" desc="In the settings tab, this text explains the accessibiliy features."> <message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION" desc="In the settings tab, this text explains the accessibility features.">
Enable accessibility features to make your device easier to use. Enable accessibility features to make your device easier to use.
</message> </message>
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SETTINGS" desc="Text of the link to open ChromeVox settings."> <message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SETTINGS" desc="Text of the link to open ChromeVox settings.">
......
...@@ -666,7 +666,7 @@ IN_PROC_BROWSER_TEST_P(AccessibilityManagerUserTypeTest, BrailleWhenLoggedIn) { ...@@ -666,7 +666,7 @@ IN_PROC_BROWSER_TEST_P(AccessibilityManagerUserTypeTest, BrailleWhenLoggedIn) {
EXPECT_TRUE(IsBrailleImeActive()); EXPECT_TRUE(IsBrailleImeActive());
} }
IN_PROC_BROWSER_TEST_F(AccessibilityManagerTest, AcessibilityMenuVisibility) { IN_PROC_BROWSER_TEST_F(AccessibilityManagerTest, AccessibilityMenuVisibility) {
// Log in. // Log in.
user_manager::UserManager::Get()->UserLoggedIn( user_manager::UserManager::Get()->UserLoggedIn(
kTestUserName, kTestUserName, true); kTestUserName, kTestUserName, true);
......
...@@ -160,7 +160,7 @@ PDFScriptingAPI.prototype = { ...@@ -160,7 +160,7 @@ PDFScriptingAPI.prototype = {
* Creates a PDF viewer with a scripting interface. This is basically 1) an * Creates a PDF viewer with a scripting interface. This is basically 1) an
* iframe which is navigated to the PDF viewer extension and 2) a scripting * iframe which is navigated to the PDF viewer extension and 2) a scripting
* interface which provides access to various features of the viewer for use * interface which provides access to various features of the viewer for use
* by print preview and accessbility. * by print preview and accessibility.
* @param {string} src the source URL of the PDF to load initially. * @param {string} src the source URL of the PDF to load initially.
* @return {HTMLIFrameElement} the iframe element containing the PDF viewer. * @return {HTMLIFrameElement} the iframe element containing the PDF viewer.
*/ */
......
...@@ -64,7 +64,7 @@ class ScreenlockBridge { ...@@ -64,7 +64,7 @@ class ScreenlockBridge {
// shown with the icon. // shown with the icon.
void SetTooltip(const base::string16& tooltip, bool autoshow); void SetTooltip(const base::string16& tooltip, bool autoshow);
// Sets the accessiblity label of the icon. If this attribute is not // Sets the accessibility label of the icon. If this attribute is not
// provided, then the tooltip will be used. // provided, then the tooltip will be used.
void SetAriaLabel(const base::string16& aria_label); void SetAriaLabel(const base::string16& aria_label);
......
...@@ -24,7 +24,7 @@ namespace { ...@@ -24,7 +24,7 @@ namespace {
// This class will test the language options settings. // This class will test the language options settings.
// This test is part of the interactive_ui_tests isntead of browser_tests // This test is part of the interactive_ui_tests isntead of browser_tests
// because it is necessary to emulate pushing a button in order to properly // because it is necessary to emulate pushing a button in order to properly
// test accessiblity. // test accessibility.
class LanguageOptionsWebUITest : public InProcessBrowserTest { class LanguageOptionsWebUITest : public InProcessBrowserTest {
public: public:
LanguageOptionsWebUITest() {} LanguageOptionsWebUITest() {}
......
...@@ -38,7 +38,7 @@ namespace automationInternal { ...@@ -38,7 +38,7 @@ namespace automationInternal {
long nodeIdToClear; long nodeIdToClear;
// A vector of nodes to update according to the rules described in // A vector of nodes to update according to the rules described in
// ui/accesibility/ax_tree_update.h. // ui/accessibility/ax_tree_update.h.
AXNodeData[] nodes; AXNodeData[] nodes;
}; };
......
...@@ -1361,7 +1361,7 @@ NSDictionary* attributeToMethodNameMap = nil; ...@@ -1361,7 +1361,7 @@ NSDictionary* attributeToMethodNameMap = nil;
return NO; return NO;
} }
// Returns whether or not this object should be ignored in the accessibilty // Returns whether or not this object should be ignored in the accessibility
// tree. // tree.
- (BOOL)accessibilityIsIgnored { - (BOOL)accessibilityIsIgnored {
if (!browserAccessibility_) if (!browserAccessibility_)
...@@ -1370,7 +1370,7 @@ NSDictionary* attributeToMethodNameMap = nil; ...@@ -1370,7 +1370,7 @@ NSDictionary* attributeToMethodNameMap = nil;
return [self isIgnored]; return [self isIgnored];
} }
// Performs the given accessibilty action on the webkit accessibility object // Performs the given accessibility action on the webkit accessibility object
// that backs this object. // that backs this object.
- (void)accessibilityPerformAction:(NSString*)action { - (void)accessibilityPerformAction:(NSString*)action {
if (!browserAccessibility_) if (!browserAccessibility_)
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
}, },
"a11ymode": { "a11ymode": {
"type": "boolean", "type": "boolean",
"description": "True if accessbility virtual keyboard is enabled." "description": "True if accessibility virtual keyboard is enabled."
}, },
"experimental": { "experimental": {
"type": "boolean", "type": "boolean",
......
...@@ -368,7 +368,7 @@ Polymer('kb-keyboard', { ...@@ -368,7 +368,7 @@ Polymer('kb-keyboard', {
* Otherwise, the keyboard layout for 'text' type will be loaded. * Otherwise, the keyboard layout for 'text' type will be loaded.
*/ */
inputTypeChanged: function() { inputTypeChanged: function() {
// Disable layout switching at accessbility mode. // Disable layout switching at accessibility mode.
if (this.config && this.config.a11ymode) if (this.config && this.config.a11ymode)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment