summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 23:21:44 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 23:21:44 +0000
commit0e9e1dc7b36fbc803e21544493e23e1c319f3f69 (patch)
tree3f6dc53f728f5dd753c47a325b9f9a886ae002b4 /chrome/common/extensions/docs/static
parent4bd6a2899b9c1c0f1e20cbd171b8b10694ffabcb (diff)
downloadchromium_src-0e9e1dc7b36fbc803e21544493e23e1c319f3f69.zip
chromium_src-0e9e1dc7b36fbc803e21544493e23e1c319f3f69.tar.gz
chromium_src-0e9e1dc7b36fbc803e21544493e23e1c319f3f69.tar.bz2
Allow "internal" APIs to be specified in extension API schemas, and specify the Declarative API as internal.
BUG= TEST=browser_tests Review URL: https://chromiumcodereview.appspot.com/9309114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static')
-rw-r--r--chrome/common/extensions/docs/static/samples.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/common/extensions/docs/static/samples.html b/chrome/common/extensions/docs/static/samples.html
index 0ae778c..2cd56a3 100644
--- a/chrome/common/extensions/docs/static/samples.html
+++ b/chrome/common/extensions/docs/static/samples.html
@@ -14,10 +14,9 @@
pageData.api_mapping = apiMapping;
pageData.api_modules = [];
schema.forEach(function(mod) {
- if (mod.nodoc) {
- return;
- }
- if (mod.namespace.indexOf('experimental') != -1) {
+ if (mod.nodoc ||
+ mod.internal ||
+ mod.namespace.indexOf('experimental') != -1) {
return;
}
pageData.api_modules.push('chrome.' + mod.namespace);