| 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 /** | 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 '../../api/runtime.json', | 77 '../../api/runtime.json', |
| 78 '../../api/script_badge.json', | 78 '../../api/script_badge.json', |
| 79 '../../api/storage.json', | 79 '../../api/storage.json', |
| 80 '../../api/system_private.json', | 80 '../../api/system_private.json', |
| 81 '../../api/tabs.json', | 81 '../../api/tabs.json', |
| 82 '../../api/test.json', | 82 '../../api/test.json', |
| 83 '../../api/top_sites.json', | 83 '../../api/top_sites.json', |
| 84 '../../api/tts.json', | 84 '../../api/tts.json', |
| 85 '../../api/tts_engine.json', | 85 '../../api/tts_engine.json', |
| 86 '../../api/types.json', | 86 '../../api/types.json', |
| 87 '../../api/wallpaper_private.json', |
| 87 '../../api/web_navigation.json', | 88 '../../api/web_navigation.json', |
| 88 '../../api/web_request.json', | 89 '../../api/web_request.json', |
| 89 '../../api/web_socket_proxy_private.json', | 90 '../../api/web_socket_proxy_private.json', |
| 90 '../../api/webstore.json', | 91 '../../api/webstore.json', |
| 91 '../../api/webstore_private.json', | 92 '../../api/webstore_private.json', |
| 92 '../../api/windows.json', | 93 '../../api/windows.json', |
| 93 ] | 94 ] |
| 94 var PERMISSION_FEATURES = '../../api/_permission_features.json'; | 95 var PERMISSION_FEATURES = '../../api/_permission_features.json'; |
| 95 var DEVTOOLS_SCHEMA = '../../api/devtools_api.json'; | 96 var DEVTOOLS_SCHEMA = '../../api/devtools_api.json'; |
| 96 var USE_DEVTOOLS_SCHEMA = | 97 var USE_DEVTOOLS_SCHEMA = |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 } | 855 } |
| 855 if (a.name > b.name) { | 856 if (a.name > b.name) { |
| 856 return 1; | 857 return 1; |
| 857 } | 858 } |
| 858 return 0; | 859 return 0; |
| 859 } | 860 } |
| 860 | 861 |
| 861 function disableDocs(obj) { | 862 function disableDocs(obj) { |
| 862 return !!obj.nodoc; | 863 return !!obj.nodoc; |
| 863 } | 864 } |
| OLD | NEW |