| 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="drag_and_drop_handler.js"> | 8 // <include src="drag_and_drop_handler.js"> |
| 9 // <include src="extension_code.js"> | 9 // <include src="extension_code.js"> |
| 10 // <include src="extension_commands_overlay.js"> | 10 // <include src="extension_commands_overlay.js"> |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 var style = document.createElement('style'); | 451 var style = document.createElement('style'); |
| 452 style.type = 'text/css'; | 452 style.type = 'text/css'; |
| 453 style.textContent = | 453 style.textContent = |
| 454 '.enable-checkbox-text {' + | 454 '.enable-checkbox-text {' + |
| 455 ' min-width: ' + (pxWidth - trashWidth) + 'px;' + | 455 ' min-width: ' + (pxWidth - trashWidth) + 'px;' + |
| 456 '}' + | 456 '}' + |
| 457 '#dev-toggle span {' + | 457 '#dev-toggle span {' + |
| 458 ' min-width: ' + pxWidth + 'px;' + | 458 ' min-width: ' + pxWidth + 'px;' + |
| 459 '}'; | 459 '}'; |
| 460 document.querySelector('head').appendChild(style); | 460 document.querySelector('head').appendChild(style); |
| 461 }; | 461 } |
| 462 | 462 |
| 463 // Export | 463 // Export |
| 464 return { | 464 return { |
| 465 ExtensionSettings: ExtensionSettings | 465 ExtensionSettings: ExtensionSettings |
| 466 }; | 466 }; |
| 467 }); | 467 }); |
| 468 | 468 |
| 469 window.addEventListener('load', function(e) { | 469 window.addEventListener('load', function(e) { |
| 470 extensions.ExtensionSettings.getInstance().initialize(); | 470 extensions.ExtensionSettings.getInstance().initialize(); |
| 471 }); | 471 }); |
| OLD | NEW |