Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: chrome/common/extensions/docs/js/api_page_generator.js

Issue 10834298: Remove devtools docs apps docs (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/docs/apps/api_index.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 }).sort(); 543 }).sort();
544 544
545 if (packageType == 'platform_app') { 545 if (packageType == 'platform_app') {
546 result = result.filter(function(item) { 546 result = result.filter(function(item) {
547 return [ 547 return [
548 "browserAction", "extension", "fileBrowserHandler", "fontSettings", 548 "browserAction", "extension", "fileBrowserHandler", "fontSettings",
549 "input.ime", "omnibox", "pageAction", "scriptBadge", "windows", 549 "input.ime", "omnibox", "pageAction", "scriptBadge", "windows",
550 "experimental.devtools.audits", "experimental.devtools.console", 550 "experimental.devtools.audits", "experimental.devtools.console",
551 "experimental.discovery", "experimental.infobars", 551 "experimental.discovery", "experimental.infobars",
552 "experimental.keybinding", "experimental.offscreenTabs", 552 "experimental.keybinding", "experimental.offscreenTabs",
553 "experimental.processes", "experimental.speechInput" 553 "experimental.processes", "experimental.speechInput",
554 "devtools.inspectedWindow", "devtools.panels", "devtools.network"
554 ].indexOf(item) == -1; 555 ].indexOf(item) == -1;
555 }); 556 });
556 } 557 }
557 558
558 return result; 559 return result;
559 } 560 }
560 561
561 function getDataFromPageHTML(id) { 562 function getDataFromPageHTML(id) {
562 var node = document.getElementById(id); 563 var node = document.getElementById(id);
563 if (!node) 564 if (!node)
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 } 854 }
854 if (a.name > b.name) { 855 if (a.name > b.name) {
855 return 1; 856 return 1;
856 } 857 }
857 return 0; 858 return 0;
858 } 859 }
859 860
860 function disableDocs(obj) { 861 function disableDocs(obj) {
861 return !!obj.nodoc; 862 return !!obj.nodoc;
862 } 863 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/apps/api_index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698