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

Side by Side Diff: chrome/browser/resources/options/chromeos/stylus_overlay.js

Issue 2273273003: Update strings for ash palette and rename options/settings files. (Closed)
Patch Set: A few more string changes Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 cr.define('options', function() { 5 cr.define('options', function() {
6 /** 6 /**
7 * Encapsulated handling of the note overlay. 7 * Encapsulated handling of the stylus overlay.
8 * @constructor 8 * @constructor
9 * @extends {options.SettingsDialog} 9 * @extends {options.SettingsDialog}
10 */ 10 */
11 function NoteOverlay() { 11 function StylusOverlay() {
12 options.SettingsDialog.call(this, 'note-overlay', 12 options.SettingsDialog.call(this, 'stylus-overlay',
13 loadTimeData.getString('noteOverlayTabTitle'), 13 loadTimeData.getString('stylusOverlayTabTitle'),
14 'note-overlay', 14 'stylus-overlay',
15 assertInstanceof($('note-confirm'), HTMLButtonElement), 15 assertInstanceof($('stylus-confirm'), HTMLButtonElement),
16 assertInstanceof($('note-cancel'), HTMLButtonElement)); 16 assertInstanceof($('stylus-cancel'), HTMLButtonElement));
17 } 17 }
18 18
19 cr.addSingletonGetter(NoteOverlay); 19 cr.addSingletonGetter(StylusOverlay);
20 20
21 NoteOverlay.prototype = { 21 StylusOverlay.prototype = {
22 __proto__: options.SettingsDialog.prototype, 22 __proto__: options.SettingsDialog.prototype,
23 23
24 /** @override */ 24 /** @override */
25 initializePage: function() { 25 initializePage: function() {
26 options.SettingsDialog.prototype.initializePage.call(this); 26 options.SettingsDialog.prototype.initializePage.call(this);
27 }, 27 },
28 }; 28 };
29 29
30 // Export 30 // Export
31 return { 31 return {
32 NoteOverlay: NoteOverlay 32 StylusOverlay: StylusOverlay
33 }; 33 };
34 }); 34 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/chromeos/stylus_overlay.html ('k') | chrome/browser/resources/options/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698