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

Side by Side Diff: chrome/browser/resources/extensions/extensions.js

Issue 298553002: Options: maintain history entries on the parent frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments (try jobs on previous) Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <include src="../uber/uber_utils.js"></include> 5 <include src="../uber/uber_utils.js"></include>
6 <include src="extension_code.js"></include> 6 <include src="extension_code.js"></include>
7 <include src="extension_commands_overlay.js"></include> 7 <include src="extension_commands_overlay.js"></include>
8 <include src="extension_focus_manager.js"></include> 8 <include src="extension_focus_manager.js"></include>
9 <include src="extension_list.js"></include> 9 <include src="extension_list.js"></include>
10 <include src="pack_extension_overlay.js"></include> 10 <include src="pack_extension_overlay.js"></include>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 /** 97 /**
98 * Perform initial setup. 98 * Perform initial setup.
99 */ 99 */
100 initialize: function() { 100 initialize: function() {
101 uber.onContentFrameLoaded(); 101 uber.onContentFrameLoaded();
102 cr.ui.FocusOutlineManager.forDocument(document); 102 cr.ui.FocusOutlineManager.forDocument(document);
103 measureCheckboxStrings(); 103 measureCheckboxStrings();
104 104
105 // Set the title. 105 // Set the title.
106 var title = loadTimeData.getString('extensionSettings'); 106 uber.setTitle(loadTimeData.getString('extensionSettings'));
107 uber.invokeMethodOnParent('setTitle', {title: title});
108 107
109 // This will request the data to show on the page and will get a response 108 // This will request the data to show on the page and will get a response
110 // back in returnExtensionsData. 109 // back in returnExtensionsData.
111 chrome.send('extensionSettingsRequestExtensionsData'); 110 chrome.send('extensionSettingsRequestExtensionsData');
112 111
113 var extensionLoader = extensions.ExtensionLoader.getInstance(); 112 var extensionLoader = extensions.ExtensionLoader.getInstance();
114 113
115 $('toggle-dev-on').addEventListener('change', 114 $('toggle-dev-on').addEventListener('change',
116 this.handleToggleDevMode_.bind(this)); 115 this.handleToggleDevMode_.bind(this));
117 $('dev-controls').addEventListener('webkitTransitionEnd', 116 $('dev-controls').addEventListener('webkitTransitionEnd',
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 434
436 // Export 435 // Export
437 return { 436 return {
438 ExtensionSettings: ExtensionSettings 437 ExtensionSettings: ExtensionSettings
439 }; 438 };
440 }); 439 });
441 440
442 window.addEventListener('load', function(e) { 441 window.addEventListener('load', function(e) {
443 extensions.ExtensionSettings.getInstance().initialize(); 442 extensions.ExtensionSettings.getInstance().initialize();
444 }); 443 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/help/help.js » ('j') | chrome/browser/resources/options/options_page.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698