OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
6 * @fileoverview This file is the controller for generating extension | 6 * @fileoverview This file is the controller for generating extension |
7 * doc pages. | 7 * doc pages. |
8 * | 8 * |
9 * It expects to have available via XHR (relative path): | 9 * It expects to have available via XHR (relative path): |
10 * 1) API_TEMPLATE which is the main template for the api pages. | 10 * 1) API_TEMPLATE which is the main template for the api pages. |
(...skipping 24 matching lines...) Expand all Loading... |
35 '../api/experimental.clear.json', | 35 '../api/experimental.clear.json', |
36 '../api/experimental.debugger.json', | 36 '../api/experimental.debugger.json', |
37 '../api/experimental.downloads.json', | 37 '../api/experimental.downloads.json', |
38 '../api/experimental.infobars.json', | 38 '../api/experimental.infobars.json', |
39 '../api/experimental.input.ime.json', | 39 '../api/experimental.input.ime.json', |
40 '../api/experimental.input.ui.json', | 40 '../api/experimental.input.ui.json', |
41 '../api/experimental.input.virtualKeyboard.json', | 41 '../api/experimental.input.virtualKeyboard.json', |
42 '../api/experimental.privacy.json', | 42 '../api/experimental.privacy.json', |
43 '../api/experimental.processes.json', | 43 '../api/experimental.processes.json', |
44 '../api/experimental.rlz.json', | 44 '../api/experimental.rlz.json', |
45 '../api/experimental.sidebar.json', | |
46 '../api/experimental.socket.json', | 45 '../api/experimental.socket.json', |
47 '../api/experimental.speechInput.json', | 46 '../api/experimental.speechInput.json', |
48 '../api/experimental.storage.json', | 47 '../api/experimental.storage.json', |
49 '../api/experimental.topSites.json', | 48 '../api/experimental.topSites.json', |
50 '../api/extension.json', | 49 '../api/extension.json', |
51 '../api/fileBrowserHandler.json', | 50 '../api/fileBrowserHandler.json', |
52 '../api/fileBrowserPrivate.json', | 51 '../api/fileBrowserPrivate.json', |
53 '../api/history.json', | 52 '../api/history.json', |
54 '../api/i18n.json', | 53 '../api/i18n.json', |
55 '../api/idle.json', | 54 '../api/idle.json', |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 | 627 |
629 function sortByName(a, b) { | 628 function sortByName(a, b) { |
630 if (a.name < b.name) { | 629 if (a.name < b.name) { |
631 return -1; | 630 return -1; |
632 } | 631 } |
633 if (a.name > b.name) { | 632 if (a.name > b.name) { |
634 return 1; | 633 return 1; |
635 } | 634 } |
636 return 0; | 635 return 0; |
637 } | 636 } |
OLD | NEW |