Index: chrome/browser/resources/options/chromeos/stylus_overlay.js |
diff --git a/chrome/browser/resources/options/chromeos/note_overlay.js b/chrome/browser/resources/options/chromeos/stylus_overlay.js |
similarity index 52% |
rename from chrome/browser/resources/options/chromeos/note_overlay.js |
rename to chrome/browser/resources/options/chromeos/stylus_overlay.js |
index c1d826511ba6ed780cd0063fbfdd86366a037397..49359190bacebf82fe1c5e8dd638b2b4757c3a63 100644 |
--- a/chrome/browser/resources/options/chromeos/note_overlay.js |
+++ b/chrome/browser/resources/options/chromeos/stylus_overlay.js |
@@ -4,21 +4,21 @@ |
cr.define('options', function() { |
/** |
- * Encapsulated handling of the note overlay. |
+ * Encapsulated handling of the stylus overlay. |
* @constructor |
* @extends {options.SettingsDialog} |
*/ |
- function NoteOverlay() { |
- options.SettingsDialog.call(this, 'note-overlay', |
- loadTimeData.getString('noteOverlayTabTitle'), |
- 'note-overlay', |
- assertInstanceof($('note-confirm'), HTMLButtonElement), |
- assertInstanceof($('note-cancel'), HTMLButtonElement)); |
+ function StylusOverlay() { |
+ options.SettingsDialog.call(this, 'stylus-overlay', |
+ loadTimeData.getString('stylusOverlayTabTitle'), |
+ 'stylus-overlay', |
+ assertInstanceof($('stylus-confirm'), HTMLButtonElement), |
+ assertInstanceof($('stylus-cancel'), HTMLButtonElement)); |
} |
- cr.addSingletonGetter(NoteOverlay); |
+ cr.addSingletonGetter(StylusOverlay); |
- NoteOverlay.prototype = { |
+ StylusOverlay.prototype = { |
__proto__: options.SettingsDialog.prototype, |
/** @override */ |
@@ -29,6 +29,6 @@ cr.define('options', function() { |
// Export |
return { |
- NoteOverlay: NoteOverlay |
+ StylusOverlay: StylusOverlay |
}; |
}); |