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({
},
/**
* @param {boolean} changeChannel Whether the changeChannel button sholud be
* @param {boolean} changeChannel Whether the changeChannel button should be
* visible.
* @param {boolean} changeChannelAndPowerwash Whether the
* changeChannelAndPowerwash button should be visible.
......
......@@ -35,13 +35,13 @@ cr.define('settings', function() {
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
*/
notifyShowDetails(enabled) {}
/**
* Notfies Chrome that the "learn more" link was clicked.
* Notifies Chrome that the "learn more" link was clicked.
*/
notifyLearnMoreClicked() {}
}
......
......@@ -15,7 +15,7 @@ Polymer({
properties: {
/**
* If time zone auto detectoin is enabled.
* If time zone auto detection is enabled.
*/
timeZoneAutoDetect: Boolean,
......
......@@ -20,7 +20,7 @@ Polymer({
},
/** Set to true once changes are saved to avoid a reset/cancel on close. */
comitted_: Boolean,
committed_: Boolean,
},
/**
......@@ -33,9 +33,9 @@ Polymer({
open: function() {
this.keyHandler_ = this.handleKeyEvent_.bind(this);
// 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_);
this.comitted_ = false;
this.committed_ = false;
this.$.dialog.showModal();
// Don't focus 'reset' by default. 'Tab' will focus 'OK'.
this.$$('#reset').blur();
......@@ -52,13 +52,13 @@ Polymer({
/** @private */
displayIdChanged_: function(newValue, oldValue) {
if (oldValue && !this.comitted_) {
if (oldValue && !this.committed_) {
settings.display.systemDisplayApi.overscanCalibrationReset(oldValue);
settings.display.systemDisplayApi.overscanCalibrationComplete(oldValue);
}
if (!newValue)
return;
this.comitted_ = false;
this.committed_ = false;
settings.display.systemDisplayApi.overscanCalibrationStart(newValue);
},
......@@ -71,7 +71,7 @@ Polymer({
onSaveTap_: function() {
settings.display.systemDisplayApi.overscanCalibrationComplete(
this.displayId);
this.comitted_ = true;
this.committed_ = true;
this.close();
},
......
......@@ -33,7 +33,7 @@ Polymer({
/** @private {string} Text for label describing the lid-closed behavior. */
lidClosedLabel_: String,
/** @private {boolean} Whether the system posesses a lid. */
/** @private {boolean} Whether the system possesses a lid. */
hasLid_: Boolean,
/**
......
......@@ -1080,7 +1080,7 @@ Polymer({
// Arc Vpn does not currently pass IP configuration to ChromeOS. IP address
// property holds an internal IP address Android uses to talk to ChromeOS.
// TODO(lgcheng@) Show correct IP address when we implement IP configuration
// correclty.
// correctly.
if (this.isArcVpn_(networkProperties))
return false;
......
......@@ -19,7 +19,7 @@ cr.define('settings', function() {
/** @interface */
class InternetPageBrowserProxy {
/**
* Shows configuration of connnected external VPN network.
* Shows configuration of connected external VPN network.
* @param {string} guid
*/
showNetworkConfigure(guid) {}
......
......@@ -4,7 +4,7 @@
/**
* @typedef {{
* tetherNostDeviceName: string,
* tetherHostDeviceName: string,
* batteryPercentage: number,
* connectionStrength: number,
* isTetherHostCurrentlyOnWifi: boolean
......
......@@ -4,7 +4,7 @@
/**
* @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.
*/
......
......@@ -44,7 +44,7 @@ cr.define('settings', function() {
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.
* @param {number} sourceBrowserProfileIndex
*/
......
......@@ -299,7 +299,7 @@ Polymer({
// So that the navigation to the setting page could be finished before the
// sign out if navigateToPreviousRoute() returns synchronously even the
// 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.
listenOnce(this, 'signout-dialog-closed', () => {
this.syncBrowserProxy_.signOut(deleteProfile);
......
......@@ -38,7 +38,7 @@
--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
we position the #image to be inside #arc. */
#imageDiv {
......
......@@ -24,7 +24,7 @@ settings.FingerprintSetupStep = {
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.
* @const {number}
*/
......
......@@ -148,7 +148,7 @@ Polymer({
},
/**
* Handles writting the appropriate message to |problemMessage_|.
* Handles writing the appropriate message to |problemMessage_|.
* @private
* @param {string} messageId
* @param {chrome.quickUnlockPrivate.CredentialRequirements} requirements
......
......@@ -298,7 +298,7 @@ Polymer({
onSaveNewPassphraseTap_: function(e) {
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')
return;
if (e.type == 'keypress' && e.key != 'Enter')
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// 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}} */
var MetricsReporting;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// 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() {
/** @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