Commit 9b504fd5 authored by Dave Schuyler's avatar Dave Schuyler Committed by Commit Bot

[MD settings] fix some typos.

This CL fixes some typos. There's no functional changes.

TBR=stevenjb@chromium.org
(code health)

Bug: None
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ica19cdf06ade268e24e0aeec0efc66ef20b0e9b5
Reviewed-on: https://chromium-review.googlesource.com/806365
Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
Reviewed-by: default avatarDave Schuyler <dschuyler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521540}
parent 11fdd266
...@@ -101,7 +101,7 @@ Polymer({ ...@@ -101,7 +101,7 @@ Polymer({
}, },
/** /**
* @param {boolean} changeChannel Whether the changeChannel button sholud be * @param {boolean} changeChannel Whether the changeChannel button should be
* visible. * visible.
* @param {boolean} changeChannelAndPowerwash Whether the * @param {boolean} changeChannelAndPowerwash Whether the
* changeChannelAndPowerwash button should be visible. * changeChannelAndPowerwash button should be visible.
......
...@@ -35,13 +35,13 @@ cr.define('settings', function() { ...@@ -35,13 +35,13 @@ cr.define('settings', function() {
setLogsUploadPermission(enabled) {} setLogsUploadPermission(enabled) {}
/** /**
* Notfies Chrome that the state of the details section changed. * Notifies Chrome that the state of the details section changed.
* @param {boolean} enabled * @param {boolean} enabled
*/ */
notifyShowDetails(enabled) {} notifyShowDetails(enabled) {}
/** /**
* Notfies Chrome that the "learn more" link was clicked. * Notifies Chrome that the "learn more" link was clicked.
*/ */
notifyLearnMoreClicked() {} notifyLearnMoreClicked() {}
} }
......
...@@ -15,7 +15,7 @@ Polymer({ ...@@ -15,7 +15,7 @@ Polymer({
properties: { properties: {
/** /**
* If time zone auto detectoin is enabled. * If time zone auto detection is enabled.
*/ */
timeZoneAutoDetect: Boolean, timeZoneAutoDetect: Boolean,
......
...@@ -20,7 +20,7 @@ Polymer({ ...@@ -20,7 +20,7 @@ Polymer({
}, },
/** Set to true once changes are saved to avoid a reset/cancel on close. */ /** Set to true once changes are saved to avoid a reset/cancel on close. */
comitted_: Boolean, committed_: Boolean,
}, },
/** /**
...@@ -33,9 +33,9 @@ Polymer({ ...@@ -33,9 +33,9 @@ Polymer({
open: function() { open: function() {
this.keyHandler_ = this.handleKeyEvent_.bind(this); this.keyHandler_ = this.handleKeyEvent_.bind(this);
// We need to attach the event listener to |window|, not |this| so that // We need to attach the event listener to |window|, not |this| so that
// changing focus does not prevent key events from occuring. // changing focus does not prevent key events from occurring.
window.addEventListener('keydown', this.keyHandler_); window.addEventListener('keydown', this.keyHandler_);
this.comitted_ = false; this.committed_ = false;
this.$.dialog.showModal(); this.$.dialog.showModal();
// Don't focus 'reset' by default. 'Tab' will focus 'OK'. // Don't focus 'reset' by default. 'Tab' will focus 'OK'.
this.$$('#reset').blur(); this.$$('#reset').blur();
...@@ -52,13 +52,13 @@ Polymer({ ...@@ -52,13 +52,13 @@ Polymer({
/** @private */ /** @private */
displayIdChanged_: function(newValue, oldValue) { displayIdChanged_: function(newValue, oldValue) {
if (oldValue && !this.comitted_) { if (oldValue && !this.committed_) {
settings.display.systemDisplayApi.overscanCalibrationReset(oldValue); settings.display.systemDisplayApi.overscanCalibrationReset(oldValue);
settings.display.systemDisplayApi.overscanCalibrationComplete(oldValue); settings.display.systemDisplayApi.overscanCalibrationComplete(oldValue);
} }
if (!newValue) if (!newValue)
return; return;
this.comitted_ = false; this.committed_ = false;
settings.display.systemDisplayApi.overscanCalibrationStart(newValue); settings.display.systemDisplayApi.overscanCalibrationStart(newValue);
}, },
...@@ -71,7 +71,7 @@ Polymer({ ...@@ -71,7 +71,7 @@ Polymer({
onSaveTap_: function() { onSaveTap_: function() {
settings.display.systemDisplayApi.overscanCalibrationComplete( settings.display.systemDisplayApi.overscanCalibrationComplete(
this.displayId); this.displayId);
this.comitted_ = true; this.committed_ = true;
this.close(); this.close();
}, },
......
...@@ -33,7 +33,7 @@ Polymer({ ...@@ -33,7 +33,7 @@ Polymer({
/** @private {string} Text for label describing the lid-closed behavior. */ /** @private {string} Text for label describing the lid-closed behavior. */
lidClosedLabel_: String, lidClosedLabel_: String,
/** @private {boolean} Whether the system posesses a lid. */ /** @private {boolean} Whether the system possesses a lid. */
hasLid_: Boolean, hasLid_: Boolean,
/** /**
......
...@@ -1080,7 +1080,7 @@ Polymer({ ...@@ -1080,7 +1080,7 @@ Polymer({
// Arc Vpn does not currently pass IP configuration to ChromeOS. IP address // Arc Vpn does not currently pass IP configuration to ChromeOS. IP address
// property holds an internal IP address Android uses to talk to ChromeOS. // property holds an internal IP address Android uses to talk to ChromeOS.
// TODO(lgcheng@) Show correct IP address when we implement IP configuration // TODO(lgcheng@) Show correct IP address when we implement IP configuration
// correclty. // correctly.
if (this.isArcVpn_(networkProperties)) if (this.isArcVpn_(networkProperties))
return false; return false;
......
...@@ -19,7 +19,7 @@ cr.define('settings', function() { ...@@ -19,7 +19,7 @@ cr.define('settings', function() {
/** @interface */ /** @interface */
class InternetPageBrowserProxy { class InternetPageBrowserProxy {
/** /**
* Shows configuration of connnected external VPN network. * Shows configuration of connected external VPN network.
* @param {string} guid * @param {string} guid
*/ */
showNetworkConfigure(guid) {} showNetworkConfigure(guid) {}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/** /**
* @typedef {{ * @typedef {{
* tetherNostDeviceName: string, * tetherHostDeviceName: string,
* batteryPercentage: number, * batteryPercentage: number,
* connectionStrength: number, * connectionStrength: number,
* isTetherHostCurrentlyOnWifi: boolean * isTetherHostCurrentlyOnWifi: boolean
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/** /**
* @fileoverview settings-startup-url-entry represents a UI component that * @fileoverview settings-startup-url-entry represents a UI component that
* displayes a URL that is loaded during startup. It includes a menu that allows * displays a URL that is loaded during startup. It includes a menu that allows
* the user to edit/remove the entry. * the user to edit/remove the entry.
*/ */
......
...@@ -44,7 +44,7 @@ cr.define('settings', function() { ...@@ -44,7 +44,7 @@ cr.define('settings', function() {
initializeImportDialog() {} initializeImportDialog() {}
/** /**
* Starts importing data for the specificed source browser profile. The C++ * Starts importing data for the specified source browser profile. The C++
* responds with the 'import-data-status-changed' WebUIListener event. * responds with the 'import-data-status-changed' WebUIListener event.
* @param {number} sourceBrowserProfileIndex * @param {number} sourceBrowserProfileIndex
*/ */
......
...@@ -299,7 +299,7 @@ Polymer({ ...@@ -299,7 +299,7 @@ Polymer({
// So that the navigation to the setting page could be finished before the // So that the navigation to the setting page could be finished before the
// sign out if navigateToPreviousRoute() returns synchronously even the // sign out if navigateToPreviousRoute() returns synchronously even the
// browser is closed after the sign out. Otherwise, the navigation will be // browser is closed after the sign out. Otherwise, the navigation will be
// finshed during session restore if the browser is closed before the async // finished during session restore if the browser is closed before the async
// callback executed. // callback executed.
listenOnce(this, 'signout-dialog-closed', () => { listenOnce(this, 'signout-dialog-closed', () => {
this.syncBrowserProxy_.signOut(deleteProfile); this.syncBrowserProxy_.signOut(deleteProfile);
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
--iron-icon-fill-color: var(--google-blue-700); --iron-icon-fill-color: var(--google-blue-700);
} }
/* Put the image in a seperate div with 0 height, otherwise the div will /* Put the image in a separate div with 0 height, otherwise the div will
take the height of the image, leaving us with a row of whitespace when take the height of the image, leaving us with a row of whitespace when
we position the #image to be inside #arc. */ we position the #image to be inside #arc. */
#imageDiv { #imageDiv {
......
...@@ -24,7 +24,7 @@ settings.FingerprintSetupStep = { ...@@ -24,7 +24,7 @@ settings.FingerprintSetupStep = {
var FLASH_DURATION_MS = 300; var FLASH_DURATION_MS = 300;
/** /**
* The amount of millseconds after a successful but not completed scan before a * The amount of milliseconds after a successful but not completed scan before a
* message shows up telling the user to scan their finger again. * message shows up telling the user to scan their finger again.
* @const {number} * @const {number}
*/ */
......
...@@ -148,7 +148,7 @@ Polymer({ ...@@ -148,7 +148,7 @@ Polymer({
}, },
/** /**
* Handles writting the appropriate message to |problemMessage_|. * Handles writing the appropriate message to |problemMessage_|.
* @private * @private
* @param {string} messageId * @param {string} messageId
* @param {chrome.quickUnlockPrivate.CredentialRequirements} requirements * @param {chrome.quickUnlockPrivate.CredentialRequirements} requirements
......
...@@ -298,7 +298,7 @@ Polymer({ ...@@ -298,7 +298,7 @@ Polymer({
onSaveNewPassphraseTap_: function(e) { onSaveNewPassphraseTap_: function(e) {
assert(this.creatingNewPassphrase_); assert(this.creatingNewPassphrase_);
// Ignore events on irrevelant elements or with irrelevant keys. // Ignore events on irrelevant elements or with irrelevant keys.
if (e.target.tagName != 'PAPER-BUTTON' && e.target.tagName != 'PAPER-INPUT') if (e.target.tagName != 'PAPER-BUTTON' && e.target.tagName != 'PAPER-INPUT')
return; return;
if (e.type == 'keypress' && e.key != 'Enter') if (e.type == 'keypress' && e.key != 'Enter')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
/** @fileoverview Handles interprocess communcation for the privacy page. */ /** @fileoverview Handles interprocess communication for the privacy page. */
/** @typedef {{enabled: boolean, managed: boolean}} */ /** @typedef {{enabled: boolean, managed: boolean}} */
var MetricsReporting; var MetricsReporting;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
/** @fileoverview Handles interprocess communcation for the system page. */ /** @fileoverview Handles interprocess communication for the system page. */
cr.define('settings', function() { cr.define('settings', function() {
/** @interface */ /** @interface */
......
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