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="extension_command_list.js"></include> | 5 <include src="extension_command_list.js"> |
6 | 6 |
7 cr.define('extensions', function() { | 7 cr.define('extensions', function() { |
8 'use strict'; | 8 'use strict'; |
9 | 9 |
10 // The Extension Commands list object that will be used to show the commands | 10 // The Extension Commands list object that will be used to show the commands |
11 // on the page. | 11 // on the page. |
12 var ExtensionCommandList = options.ExtensionCommandList; | 12 var ExtensionCommandList = options.ExtensionCommandList; |
13 | 13 |
14 /** | 14 /** |
15 * ExtensionCommandsOverlay class | 15 * ExtensionCommandsOverlay class |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 list.classList.add('empty-extension-commands-list'); | 68 list.classList.add('empty-extension-commands-list'); |
69 else | 69 else |
70 list.classList.remove('empty-extension-commands-list'); | 70 list.classList.remove('empty-extension-commands-list'); |
71 } | 71 } |
72 | 72 |
73 // Export | 73 // Export |
74 return { | 74 return { |
75 ExtensionCommandsOverlay: ExtensionCommandsOverlay | 75 ExtensionCommandsOverlay: ExtensionCommandsOverlay |
76 }; | 76 }; |
77 }); | 77 }); |
OLD | NEW |