Chromium Code Reviews| Index: chrome/browser/resources/options/language_dictionary_overlay.js |
| diff --git a/chrome/browser/resources/options/language_dictionary_overlay.js b/chrome/browser/resources/options/language_dictionary_overlay.js |
| index 6315299556907c85c7e124a47330e90f342a7790..32f6aa2d8b7460743486e9568a8c43f76953fe08 100644 |
| --- a/chrome/browser/resources/options/language_dictionary_overlay.js |
| +++ b/chrome/browser/resources/options/language_dictionary_overlay.js |
| @@ -5,15 +5,16 @@ |
| cr.define('options', function() { |
| /** @const */ var DictionaryWordsList = |
| options.dictionary_words.DictionaryWordsList; |
| - /** @const */ var OptionsPage = options.OptionsPage; |
| + /** @const */ var Page = cr.ui.pageManager.Page; |
| + /** @const */ var PageManager = cr.ui.pageManager.PageManager; |
| /** |
| * Adding and removing words in custom spelling dictionary. |
| * @constructor |
| - * @extends {options.OptionsPage} |
| + * @extends {cr.ui.Page} |
| */ |
| function EditDictionaryOverlay() { |
| - OptionsPage.call(this, 'editDictionary', |
| + Page.call(this, 'editDictionary', |
|
Dan Beam
2014/07/30 01:00:02
:'(
michaelpg
2014/07/30 21:42:19
:-D
|
| loadTimeData.getString('languageDictionaryOverlayPage'), |
| 'language-dictionary-overlay-page'); |
| } |
| @@ -21,7 +22,7 @@ cr.define('options', function() { |
| cr.addSingletonGetter(EditDictionaryOverlay); |
| EditDictionaryOverlay.prototype = { |
| - __proto__: OptionsPage.prototype, |
| + __proto__: Page.prototype, |
| /** |
| * A list of words in the dictionary. |
| @@ -49,7 +50,7 @@ cr.define('options', function() { |
| * @override |
| */ |
| initializePage: function() { |
| - OptionsPage.prototype.initializePage.call(this); |
| + Page.prototype.initializePage.call(this); |
| this.wordList_ = $('language-dictionary-overlay-word-list'); |
| DictionaryWordsList.decorate(this.wordList_); |
| @@ -72,7 +73,7 @@ cr.define('options', function() { |
| 'language-dictionary-overlay-no-matches'); |
| $('language-dictionary-overlay-done-button').onclick = function(e) { |
| - OptionsPage.closeOverlay(); |
| + PageManager.closeOverlay(); |
| }; |
| }, |