| OLD | NEW |
| 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="../../../../ui/webui/resources/js/cr/ui/focus_row.js"> | 5 <include src="../../../../ui/webui/resources/js/cr/ui/focus_row.js"> |
| 6 <include src="../../../../ui/webui/resources/js/cr/ui/focus_grid.js"> | 6 <include src="../../../../ui/webui/resources/js/cr/ui/focus_grid.js"> |
| 7 <include src="../uber/uber_utils.js"> | 7 <include src="../uber/uber_utils.js"> |
| 8 <include src="extension_code.js"> | 8 <include src="extension_code.js"> |
| 9 <include src="extension_commands_overlay.js"> | 9 <include src="extension_commands_overlay.js"> |
| 10 <include src="extension_error_overlay.js"> | 10 <include src="extension_error_overlay.js"> |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 handleExtensionCommandsConfig_: function(e) { | 296 handleExtensionCommandsConfig_: function(e) { |
| 297 this.showExtensionCommandsConfigUi_(); | 297 this.showExtensionCommandsConfigUi_(); |
| 298 }, | 298 }, |
| 299 | 299 |
| 300 /** | 300 /** |
| 301 * Handles the Update Extension Now button. | 301 * Handles the Update Extension Now button. |
| 302 * @param {Event} e Change event. | 302 * @param {Event} e Change event. |
| 303 * @private | 303 * @private |
| 304 */ | 304 */ |
| 305 handleUpdateExtensionNow_: function(e) { | 305 handleUpdateExtensionNow_: function(e) { |
| 306 chrome.send('extensionSettingsAutoupdate'); | 306 chrome.developerPrivate.autoUpdate(); |
| 307 }, | 307 }, |
| 308 | 308 |
| 309 /** | 309 /** |
| 310 * Updates the visibility of the developer controls based on whether the | 310 * Updates the visibility of the developer controls based on whether the |
| 311 * [x] Developer mode checkbox is checked. | 311 * [x] Developer mode checkbox is checked. |
| 312 * @param {boolean} animated Whether to animate any updates. | 312 * @param {boolean} animated Whether to animate any updates. |
| 313 * @private | 313 * @private |
| 314 */ | 314 */ |
| 315 updateDevControlsVisibility_: function(animated) { | 315 updateDevControlsVisibility_: function(animated) { |
| 316 var showDevControls = $('toggle-dev-on').checked; | 316 var showDevControls = $('toggle-dev-on').checked; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 // Export | 443 // Export |
| 444 return { | 444 return { |
| 445 ExtensionSettings: ExtensionSettings | 445 ExtensionSettings: ExtensionSettings |
| 446 }; | 446 }; |
| 447 }); | 447 }); |
| 448 | 448 |
| 449 window.addEventListener('load', function(e) { | 449 window.addEventListener('load', function(e) { |
| 450 document.documentElement.classList.add('loading'); | 450 document.documentElement.classList.add('loading'); |
| 451 extensions.ExtensionSettings.getInstance().initialize(); | 451 extensions.ExtensionSettings.getInstance().initialize(); |
| 452 }); | 452 }); |
| OLD | NEW |