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

Side by Side Diff: chrome/browser/resources/settings/about_page/update_warning_dialog.js

Issue 2834433002: MD Settings: ESLint --fix output, WIP. (Closed)
Patch Set: Relax Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/prefs/prefs.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 'settings-update-warning-dialog' is a component warning the 6 * @fileoverview 'settings-update-warning-dialog' is a component warning the
7 * user about update over mobile data. By clicking 'Continue', the user 7 * user about update over mobile data. By clicking 'Continue', the user
8 * agrees to download update using mobile data. 8 * agrees to download update using mobile data.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 21 matching lines...) Expand all
32 onContinueTap_: function() { 32 onContinueTap_: function() {
33 // TODO(weidongg): implement the real behaviors here. 33 // TODO(weidongg): implement the real behaviors here.
34 this.$.dialog.close(); 34 this.$.dialog.close();
35 }, 35 },
36 36
37 /** 37 /**
38 * @param {string} updateSizeMb Size of the update in megabytes. 38 * @param {string} updateSizeMb Size of the update in megabytes.
39 * @private 39 * @private
40 */ 40 */
41 setUpdateWarningMessage: function(updateSizeMb) { 41 setUpdateWarningMessage: function(updateSizeMb) {
42 this.$$("#update-warning-message").innerHTML = 42 this.$$('#update-warning-message').innerHTML =
43 this.i18n("aboutUpdateWarningMessage", updateSizeMb); 43 this.i18n('aboutUpdateWarningMessage', updateSizeMb);
44 }, 44 },
45 }); 45 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/prefs/prefs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698