| Index: chrome/browser/resources/options2/content_settings.js
|
| diff --git a/chrome/browser/resources/options2/content_settings.js b/chrome/browser/resources/options2/content_settings.js
|
| index 12afd10667c37860c16270e6ad431f4acebf2273..41e32cdb0bd5124f80be8dffaa64a301de7b8d87 100644
|
| --- a/chrome/browser/resources/options2/content_settings.js
|
| +++ b/chrome/browser/resources/options2/content_settings.js
|
| @@ -16,7 +16,8 @@ cr.define('options', function() {
|
| this.activeNavTab = null;
|
| this.sessionRestoreEnabled = false;
|
| this.sessionRestoreSelected = false;
|
| - OptionsPage.call(this, 'content', templateData.contentSettingsPageTabTitle,
|
| + OptionsPage.call(this, 'content',
|
| + loadTimeData.getString('contentSettingsPageTabTitle'),
|
| 'content-settings-page');
|
|
|
| // Keep track of the real value of the "clear on exit" preference. (The UI
|
| @@ -62,7 +63,7 @@ cr.define('options', function() {
|
| '/' + url);
|
| uber.invokeMethodOnParent('setPath', {path: url});
|
| uber.invokeMethodOnParent('setTitle',
|
| - {title: templateData[hash + 'TabTitle']});
|
| + {title: loadTimeData.getString(hash + 'TabTitle')});
|
| };
|
| }
|
|
|
| @@ -85,10 +86,10 @@ cr.define('options', function() {
|
| // Remove from DOM instead of hiding so :last-of-type applies the style
|
| // correctly.
|
| var intentsSection = $('intents-section');
|
| - if (!templateData.enable_web_intents && intentsSection)
|
| + if (!loadTimeData.getBoolean('enable_web_intents') && intentsSection)
|
| intentsSection.parentNode.removeChild(intentsSection);
|
|
|
| - if (templateData.enable_restore_session_state) {
|
| + if (loadTimeData.getBoolean('enable_restore_session_state')) {
|
| this.sessionRestoreEnabled = true;
|
| this.updateSessionRestoreContentSettings();
|
| }
|
|
|