summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 10:06:53 +0000
committermkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 10:06:53 +0000
commitc4324d572c3ab54d729b85affe5b3861733112a7 (patch)
treee2c35c7a6f3e8153e7ff9dfe561ace2a955ccc2a
parent7c57a7a62b5d69c8b0ed4b62590ed55cc04cefa8 (diff)
downloadchromium_src-c4324d572c3ab54d729b85affe5b3861733112a7.zip
chromium_src-c4324d572c3ab54d729b85affe5b3861733112a7.tar.gz
chromium_src-c4324d572c3ab54d729b85affe5b3861733112a7.tar.bz2
Adding a minimal `meta` description to extension API pages.
The actual changes here are to `.../template/api_template.html` and `.../js/api_page_generator.js`. Everything else is just generated from those two files. As a drive-by, this also changes `api_page_generator.js` to allow for more than one `prerenderjs` block in each template. Each should be evaluate in the order in which they're discovered on the page. BUG=105105 TEST= Review URL: http://codereview.chromium.org/8638011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111688 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/docs/bookmarks.html2
-rw-r--r--chrome/common/extensions/docs/browserAction.html2
-rw-r--r--chrome/common/extensions/docs/contentSettings.html2
-rw-r--r--chrome/common/extensions/docs/contextMenus.html2
-rw-r--r--chrome/common/extensions/docs/cookies.html2
-rw-r--r--chrome/common/extensions/docs/examples/api/speechInput/basic.zipbin3450 -> 3634 bytes
-rw-r--r--chrome/common/extensions/docs/experimental.app.html2
-rw-r--r--chrome/common/extensions/docs/experimental.clear.html2
-rw-r--r--chrome/common/extensions/docs/experimental.debugger.html2
-rw-r--r--chrome/common/extensions/docs/experimental.devtools.audits.html2
-rw-r--r--chrome/common/extensions/docs/experimental.devtools.console.html2
-rw-r--r--chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html2
-rw-r--r--chrome/common/extensions/docs/experimental.devtools.network.html2
-rw-r--r--chrome/common/extensions/docs/experimental.devtools.panels.html2
-rw-r--r--chrome/common/extensions/docs/experimental.infobars.html2
-rw-r--r--chrome/common/extensions/docs/experimental.privacy.html2
-rw-r--r--chrome/common/extensions/docs/experimental.speechInput.html2
-rw-r--r--chrome/common/extensions/docs/experimental.storage.html2
-rw-r--r--chrome/common/extensions/docs/experimental.webRequest.html2
-rw-r--r--chrome/common/extensions/docs/extension.html2
-rw-r--r--chrome/common/extensions/docs/fileBrowserHandler.html2
-rw-r--r--chrome/common/extensions/docs/history.html2
-rw-r--r--chrome/common/extensions/docs/i18n.html2
-rw-r--r--chrome/common/extensions/docs/idle.html2
-rw-r--r--chrome/common/extensions/docs/js/api_page_generator.js152
-rw-r--r--chrome/common/extensions/docs/management.html2
-rw-r--r--chrome/common/extensions/docs/omnibox.html2
-rw-r--r--chrome/common/extensions/docs/pageAction.html2
-rw-r--r--chrome/common/extensions/docs/pageCapture.html2
-rw-r--r--chrome/common/extensions/docs/permissions.html2
-rw-r--r--chrome/common/extensions/docs/proxy.html2
-rw-r--r--chrome/common/extensions/docs/samples.json4
-rw-r--r--chrome/common/extensions/docs/tabs.html2
-rw-r--r--chrome/common/extensions/docs/tts.html2
-rw-r--r--chrome/common/extensions/docs/ttsEngine.html2
-rw-r--r--chrome/common/extensions/docs/types.html2
-rw-r--r--chrome/common/extensions/docs/webNavigation.html2
-rw-r--r--chrome/common/extensions/docs/windows.html2
38 files changed, 120 insertions, 106 deletions
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html
index 4fe8dc3..c0b257b 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/bookmarks.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Bookmarks - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.bookmarks module, which is part of the Google Chrome extension APIs."><title>Bookmarks - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
index 94e85c3..c55df39 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/browserAction.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Browser Actions - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.browserAction module, which is part of the Google Chrome extension APIs."><title>Browser Actions - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/contentSettings.html b/chrome/common/extensions/docs/contentSettings.html
index ebbab69..2c04acb 100644
--- a/chrome/common/extensions/docs/contentSettings.html
+++ b/chrome/common/extensions/docs/contentSettings.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Content Settings - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.contentSettings module, which is part of the Google Chrome extension APIs."><title>Content Settings - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/contextMenus.html
index c157d49d..ae9620d 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/contextMenus.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Context Menus - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.contextMenus module, which is part of the Google Chrome extension APIs."><title>Context Menus - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/cookies.html b/chrome/common/extensions/docs/cookies.html
index 8c6309b..bf8a15a 100644
--- a/chrome/common/extensions/docs/cookies.html
+++ b/chrome/common/extensions/docs/cookies.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Cookies - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.cookies module, which is part of the Google Chrome extension APIs."><title>Cookies - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/examples/api/speechInput/basic.zip b/chrome/common/extensions/docs/examples/api/speechInput/basic.zip
index e782bd1..fe80396 100644
--- a/chrome/common/extensions/docs/examples/api/speechInput/basic.zip
+++ b/chrome/common/extensions/docs/examples/api/speechInput/basic.zip
Binary files differ
diff --git a/chrome/common/extensions/docs/experimental.app.html b/chrome/common/extensions/docs/experimental.app.html
index 6e006c3..4664bc4 100644
--- a/chrome/common/extensions/docs/experimental.app.html
+++ b/chrome/common/extensions/docs/experimental.app.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Experimental App APIs - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.app module, which is part of the Google Chrome extension APIs."><title>Experimental App APIs - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.clear.html b/chrome/common/extensions/docs/experimental.clear.html
index ede25de..3fb59186 100644
--- a/chrome/common/extensions/docs/experimental.clear.html
+++ b/chrome/common/extensions/docs/experimental.clear.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.clear - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.clear module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.clear - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.debugger.html b/chrome/common/extensions/docs/experimental.debugger.html
index 0507c28..0ce9df08 100644
--- a/chrome/common/extensions/docs/experimental.debugger.html
+++ b/chrome/common/extensions/docs/experimental.debugger.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.debugger - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.debugger module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.debugger - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.devtools.audits.html b/chrome/common/extensions/docs/experimental.devtools.audits.html
index 4f18da2..cd2bce5 100644
--- a/chrome/common/extensions/docs/experimental.devtools.audits.html
+++ b/chrome/common/extensions/docs/experimental.devtools.audits.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.devtools.audits - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.devtools.audits module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.devtools.audits - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.devtools.console.html b/chrome/common/extensions/docs/experimental.devtools.console.html
index ce7dfb2..0447c01 100644
--- a/chrome/common/extensions/docs/experimental.devtools.console.html
+++ b/chrome/common/extensions/docs/experimental.devtools.console.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.devtools.console
+ <meta name="description" content="Documentation for the chrome.experimental.devtools.console module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.devtools.console
API - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
diff --git a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html b/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
index 30357fd..073045f 100644
--- a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
+++ b/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.devtools.inspectedWindow.* APIs - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.devtools.inspectedWindow module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.devtools.inspectedWindow.* APIs - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.devtools.network.html b/chrome/common/extensions/docs/experimental.devtools.network.html
index 4272cdf..55a3b73 100644
--- a/chrome/common/extensions/docs/experimental.devtools.network.html
+++ b/chrome/common/extensions/docs/experimental.devtools.network.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.devtools.network
+ <meta name="description" content="Documentation for the chrome.experimental.devtools.network module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.devtools.network
API - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
diff --git a/chrome/common/extensions/docs/experimental.devtools.panels.html b/chrome/common/extensions/docs/experimental.devtools.panels.html
index c25de0f..f92067b 100644
--- a/chrome/common/extensions/docs/experimental.devtools.panels.html
+++ b/chrome/common/extensions/docs/experimental.devtools.panels.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.devtools.panels - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.devtools.panels module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.devtools.panels - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.infobars.html b/chrome/common/extensions/docs/experimental.infobars.html
index b07218d..b26a6f8 100644
--- a/chrome/common/extensions/docs/experimental.infobars.html
+++ b/chrome/common/extensions/docs/experimental.infobars.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.infobars - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.infobars module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.infobars - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.privacy.html b/chrome/common/extensions/docs/experimental.privacy.html
index 089c38f..4745e8d 100644
--- a/chrome/common/extensions/docs/experimental.privacy.html
+++ b/chrome/common/extensions/docs/experimental.privacy.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.privacy - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.privacy module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.privacy - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.speechInput.html b/chrome/common/extensions/docs/experimental.speechInput.html
index 2c5727a..b5a9748 100644
--- a/chrome/common/extensions/docs/experimental.speechInput.html
+++ b/chrome/common/extensions/docs/experimental.speechInput.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Speech Input API - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.speechInput module, which is part of the Google Chrome extension APIs."><title>Speech Input API - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.storage.html b/chrome/common/extensions/docs/experimental.storage.html
index 422a088..2cf743b 100644
--- a/chrome/common/extensions/docs/experimental.storage.html
+++ b/chrome/common/extensions/docs/experimental.storage.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.experimental.storage - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.storage module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.storage - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/experimental.webRequest.html b/chrome/common/extensions/docs/experimental.webRequest.html
index 5a3f82f..0fb68c4 100644
--- a/chrome/common/extensions/docs/experimental.webRequest.html
+++ b/chrome/common/extensions/docs/experimental.webRequest.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>WebRequest API - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.experimental.webRequest module, which is part of the Google Chrome extension APIs."><title>WebRequest API - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index 4df53cf..c67fbc0 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.extension - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.extension module, which is part of the Google Chrome extension APIs."><title>chrome.extension - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/fileBrowserHandler.html b/chrome/common/extensions/docs/fileBrowserHandler.html
index 5037c51..570e9d4 100644
--- a/chrome/common/extensions/docs/fileBrowserHandler.html
+++ b/chrome/common/extensions/docs/fileBrowserHandler.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.fileBrowserHandler - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.fileBrowserHandler module, which is part of the Google Chrome extension APIs."><title>chrome.fileBrowserHandler - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/history.html b/chrome/common/extensions/docs/history.html
index 4536df1..24b1e14 100644
--- a/chrome/common/extensions/docs/history.html
+++ b/chrome/common/extensions/docs/history.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.history - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.history module, which is part of the Google Chrome extension APIs."><title>chrome.history - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html
index e78a4b3..3102d0b3 100644
--- a/chrome/common/extensions/docs/i18n.html
+++ b/chrome/common/extensions/docs/i18n.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Internationalization (i18n) - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.i18n module, which is part of the Google Chrome extension APIs."><title>Internationalization (i18n) - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/idle.html b/chrome/common/extensions/docs/idle.html
index 9ed7a7f..33bb87e 100644
--- a/chrome/common/extensions/docs/idle.html
+++ b/chrome/common/extensions/docs/idle.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Idle - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.idle module, which is part of the Google Chrome extension APIs."><title>Idle - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 20a6573..ea91037 100644
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -18,18 +18,18 @@
*
*/
-var API_TEMPLATE = "template/api_template.html";
-var SCHEMA = "../api/extension_api.json";
-var DEVTOOLS_SCHEMA = "../api/devtools_api.json";
+var API_TEMPLATE = 'template/api_template.html';
+var SCHEMA = '../api/extension_api.json';
+var DEVTOOLS_SCHEMA = '../api/devtools_api.json';
var USE_DEVTOOLS_SCHEMA =
/\.devtools[^/]*\.html/.test(location.pathname);
-var API_MODULE_PREFIX = "chrome.";
-var SAMPLES = "samples.json";
+var API_MODULE_PREFIX = 'chrome.';
+var SAMPLES = 'samples.json';
var REQUEST_TIMEOUT = 2000;
-function staticResource(name) { return "static/" + name + ".html"; }
+function staticResource(name) { return 'static/' + name + '.html'; }
-// Base name of this page. (i.e. "tabs", "overview", etc...).
+// Base name of this page. (i.e. 'tabs', 'overview', etc...).
var pageBase;
// Data to feed as context into the template.
@@ -80,29 +80,29 @@ function extend(obj, obj2) {
* render the template from |pageData|.
*/
function renderPage() {
- // The page name minus the ".html" extension.
+ // The page name minus the '.html' extension.
pageBase = document.location.href.match(/\/([^\/]*)\.html/)[1];
if (!pageBase) {
- alert("Empty page name for: " + document.location.href);
+ alert('Empty page name for: ' + document.location.href);
return;
}
- pageName = pageBase.replace(/([A-Z])/g, " $1");
+ pageName = pageBase.replace(/([A-Z])/g, ' $1');
pageName = pageName.substring(0, 1).toUpperCase() + pageName.substring(1);
// Fetch the api template and insert into the <body>.
fetchContent(API_TEMPLATE, function(templateContent) {
- document.getElementsByTagName("body")[0].innerHTML = templateContent;
+ document.getElementsByTagName('body')[0].innerHTML = templateContent;
fetchStatic();
}, function(error) {
- alert("Failed to load " + API_TEMPLATE + ". " + error);
+ alert('Failed to load ' + API_TEMPLATE + '. ' + error);
});
}
function fetchStatic() {
- // Fetch the static content and insert into the "static" <div>.
+ // Fetch the static content and insert into the 'static' <div>.
fetchContent(staticResource(pageBase), function(overviewContent) {
- document.getElementById("static").innerHTML = overviewContent;
+ document.getElementById('static').innerHTML = overviewContent;
fetchSchema();
}, function(error) {
// Not fatal. Some api pages may not have matching static content.
@@ -128,7 +128,7 @@ function fetchSchema() {
schema = schema.concat(JSON.parse(content));
if (++schemas_retrieved < schemas_to_retrieve.length)
return;
- if (pageName.toLowerCase() == "samples") {
+ if (pageName.toLowerCase() == 'samples') {
fetchSamples();
} else {
renderTemplate();
@@ -138,7 +138,7 @@ function fetchSchema() {
for (var i = 0; i < schemas_to_retrieve.length; ++i) {
var schema_path = schemas_to_retrieve[i];
fetchContent(schema_path, onSchemaContent, function(error) {
- alert("Failed to load " + schema_path);
+ alert('Failed to load ' + schema_path);
});
}
}
@@ -164,7 +164,7 @@ function fetchContent(url, onSuccess, onError) {
var xhr = new XMLHttpRequest();
var abortTimerId = window.setTimeout(function() {
xhr.abort();
- console.log("XHR Timed out");
+ console.log('XHR Timed out');
}, REQUEST_TIMEOUT);
function handleError(error) {
@@ -184,18 +184,18 @@ function fetchContent(url, onSuccess, onError) {
window.clearTimeout(abortTimerId);
onSuccess(xhr.responseText);
} else {
- handleError("Failure to fetch content");
+ handleError('Failure to fetch content');
}
}
}
xhr.onerror = handleError;
- xhr.open("GET", url, true);
+ xhr.open('GET', url, true);
xhr.send(null);
} catch(e) {
- console.log("ex: " + e);
- console.error("exception: " + e);
+ console.log('ex: ' + e);
+ console.error('exception: ' + e);
handleError();
}
}
@@ -240,19 +240,32 @@ function renderTemplate() {
* template is rendered, and will therefore not be exposed to the end user
* in the final rendered template.
*/
- var preRender = document.querySelector('script[type="text/prerenderjs"]');
- if (preRender) {
- preRender.parentElement.removeChild(preRender);
- eval(preRender.innerText);
+ var preRender = document.querySelectorAll('script[type="text/prerenderjs"]');
+ for (var i = 0; i < preRender.length; i++) {
+ preRender[i].parentElement.removeChild(preRender[i]);
+ eval(preRender[i].innerText);
}
// Render to template
var input = new JsEvalContext(pageData);
- var output = document.getElementsByTagName("body")[0];
+ var output = document.getElementsByTagName('body')[0];
jstProcess(input, output);
selectCurrentPageOnLeftNav();
+ // Set a `meta` description if the page we're currently generating has a
+ // module name.
+ // TODO(mkwst): Come up with something clever for the other types of pages.
+ if (getModuleName()) {
+ var m = document.createElement('meta');
+ var desc = 'Documentation for the ' + getModuleName() +
+ ' module, which is part of the Google Chrome ' +
+ ' extension APIs.';
+ m.setAttribute('name', 'description');
+ m.setAttribute('content', desc);
+ document.head.appendChild(m);
+ }
+
document.title = getPageTitle();
// Show
if (window.postRender)
@@ -263,11 +276,11 @@ function renderTemplate() {
}
function removeJsTemplateAttributes(root) {
- var jsattributes = ["jscontent", "jsselect", "jsdisplay", "transclude",
- "jsvalues", "jsvars", "jseval", "jsskip", "jstcache",
- "jsinstance"];
+ var jsattributes = ['jscontent', 'jsselect', 'jsdisplay', 'transclude',
+ 'jsvalues', 'jsvars', 'jseval', 'jsskip', 'jstcache',
+ 'jsinstance'];
- var nodes = root.getElementsByTagName("*");
+ var nodes = root.getElementsByTagName('*');
for (var i = 0; i < nodes.length; i++) {
var n = nodes[i]
jsattributes.forEach(function(attributeName) {
@@ -308,13 +321,13 @@ function selectCurrentPageOnLeftNav() {
var pageBase = finalPathPart(document.location.href);
- evalXPathFromId(".//li/a", "gc-toc").select(function(node) {
+ evalXPathFromId('.//li/a', 'gc-toc').select(function(node) {
if (pageBase == finalPathPart(node.href)) {
var parent = node.parentNode;
if (node.firstChild.nodeName == 'DIV') {
- node.firstChild.className = "leftNavSelected";
+ node.firstChild.className = 'leftNavSelected';
} else {
- parent.className = "leftNavSelected";
+ parent.className = 'leftNavSelected';
}
parent.removeChild(node);
parent.insertBefore(node.firstChild, parent.firstChild);
@@ -331,7 +344,7 @@ function selectCurrentPageOnLeftNav() {
function stableAPIs() {
return schema.filter(function(module) {
- return !module.nodoc && module.namespace.indexOf("experimental") < 0;
+ return !module.nodoc && module.namespace.indexOf('experimental') < 0;
}).map(function(module) {
return module.namespace;
}).sort();
@@ -339,7 +352,7 @@ function stableAPIs() {
function experimentalAPIs() {
return schema.filter(function(module) {
- return !module.nodoc && module.namespace.indexOf("experimental") == 0;
+ return !module.nodoc && module.namespace.indexOf('experimental') == 0;
}).map(function(module) {
return module.namespace;
}).sort();
@@ -347,7 +360,7 @@ function experimentalAPIs() {
function devtoolsAPIs() {
return schema.filter(function(module) {
- return !module.nodoc && module.namespace.indexOf("devtools.") !== 0;
+ return !module.nodoc && module.namespace.indexOf('devtools.') !== 0;
}).map(function(module) {
return module.namespace;
}).sort();
@@ -369,15 +382,15 @@ function isFunction(type) {
}
function getTypeRef(type) {
- return type["$ref"];
+ return type['$ref'];
}
function getEnumValues(enumList, type) {
- if (type === "string") {
+ if (type === 'string') {
enumList = enumList.map(function(e) { return '"' + e + '"'});
}
var retval = enumList.join(', ');
- return "[" + retval + "]";
+ return '[' + retval + ']';
}
function showPageTOC() {
@@ -385,16 +398,16 @@ function showPageTOC() {
}
function showSideNav() {
- return getDataFromPageHTML("pageData-showSideNav") != "false";
+ return getDataFromPageHTML('pageData-showSideNav') != 'false';
}
function getStaticTOC() {
- var staticHNodes = evalXPathFromId(".//h2|h3", "static");
+ var staticHNodes = evalXPathFromId('.//h2|h3', 'static');
var retval = [];
var lastH2;
staticHNodes.forEach(function(n, i) {
- var anchorName = n.id || n.nodeName + "-" + i;
+ var anchorName = n.id || n.nodeName + '-' + i;
if (!n.id) {
var a = document.createElement('a');
a.name = anchorName;
@@ -402,7 +415,7 @@ function getStaticTOC() {
}
var dataNode = { name: n.innerHTML, href: anchorName };
- if (n.nodeName == "H2") {
+ if (n.nodeName == 'H2') {
retval.push(dataNode);
lastH2 = dataNode;
lastH2.children = [];
@@ -425,16 +438,16 @@ function substituteTypeRefs(description) {
}
var result = description;
for (var i = 0; i < matches.length; i++) {
- var type = matches[i].split(":")[1];
+ var type = matches[i].split(':')[1];
var page = null;
try {
- page = getTypeRefPage({"$ref": type});
+ page = getTypeRefPage({'$ref': type});
} catch (error) {
- console.log("substituteTypeRefs couldn't find page for type " + type);
+ console.log('substituteTypeRefs couldn\'t find page for type ' + type);
continue;
}
- var replacement = "<a href='" + page + "#type-" + type + "'>" + type +
- "</a>";
+ var replacement = '<a href="' + page + '#type-' + type + '">' + type +
+ '</a>';
result = result.replace(matches[i], replacement);
}
@@ -442,13 +455,13 @@ function substituteTypeRefs(description) {
}
function getTypeRefPage(type) {
- return typeModule[type.$ref].namespace + ".html";
+ return typeModule[type.$ref].namespace + '.html';
}
function getPageName() {
- var pageDataName = getDataFromPageHTML("pageData-name");
+ var pageDataName = getDataFromPageHTML('pageData-name');
// Allow empty string to be explitly set via pageData.
- if (pageDataName == "") {
+ if (pageDataName == '') {
return pageDataName;
}
@@ -457,20 +470,21 @@ function getPageName() {
function getPageTitle() {
var pageName = getPageName();
- var pageTitleSuffix = "Google Chrome Extensions - Google Code";
- if (pageName == "") {
+ var pageTitleSuffix = 'Google Chrome Extensions - Google Code';
+ if (pageName == '') {
return pageTitleSuffix;
}
- return pageName + " - " + pageTitleSuffix;
+ return pageName + ' - ' + pageTitleSuffix;
}
function getModuleName() {
- return API_MODULE_PREFIX + module.namespace;
+ return (module && typeof module.namespace) ?
+ API_MODULE_PREFIX + module.namespace : '';
}
function getFullyQualifiedFunctionName(scope, func) {
- return (getObjectName(scope) || getModuleName()) + "." + func.name;
+ return (getObjectName(scope) || getModuleName()) + '.' + func.name;
}
function getObjectName(typeName) {
@@ -484,7 +498,7 @@ function isExperimentalAPIPage() {
function hasCallback(parameters) {
return (parameters.length > 0 &&
- parameters[parameters.length - 1].type == "function");
+ parameters[parameters.length - 1].type == 'function');
}
function getCallbackParameters(parameters) {
@@ -492,18 +506,18 @@ function getCallbackParameters(parameters) {
}
function getAnchorName(type, name, scope) {
- return type + "-" + (scope ? scope + "-" : "") + name;
+ return type + '-' + (scope ? scope + '-' : '') + name;
}
function shouldExpandObject(object) {
- return (object.type == "object" && object.properties) ||
- (object.type == "array" && object.items && object.items.properties);
+ return (object.type == 'object' && object.properties) ||
+ (object.type == 'array' && object.items && object.items.properties);
}
function getPropertyListFromObject(object) {
var propertyList = [];
var properties = object.properties;
- if (!properties && object.type === "array" && object.items) {
+ if (!properties && object.type === 'array' && object.items) {
properties = object.items.properties;
}
for (var p in properties) {
@@ -528,11 +542,11 @@ function getTypeName(schema) {
typeNames.push(getTypeName(c));
});
- return typeNames.join(" or ");
+ return typeNames.join(' or ');
}
- if (schema.type == "array")
- return "array of " + getTypeName(schema.items);
+ if (schema.type == 'array')
+ return 'array of ' + getTypeName(schema.items);
if (schema.isInstanceOf)
return schema.isInstanceOf;
@@ -542,19 +556,19 @@ function getTypeName(schema) {
function getSignatureString(parameters) {
if (!parameters)
- return "";
+ return '';
var retval = [];
parameters.forEach(function(param, i) {
- retval.push(getTypeName(param) + " " + param.name);
+ retval.push(getTypeName(param) + ' ' + param.name);
});
- return retval.join(", ");
+ return retval.join(', ');
}
function getOptionalSignatureSubstring(parameters) {
if (!parameters)
- return "";
- return ", " + getSignatureString(parameters);
+ return '';
+ return ', ' + getSignatureString(parameters);
}
function sortByName(a, b) {
diff --git a/chrome/common/extensions/docs/management.html b/chrome/common/extensions/docs/management.html
index c6fb5fe..cfc6ff4 100644
--- a/chrome/common/extensions/docs/management.html
+++ b/chrome/common/extensions/docs/management.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Management - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.management module, which is part of the Google Chrome extension APIs."><title>Management - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/omnibox.html b/chrome/common/extensions/docs/omnibox.html
index 8caaa43..b26f63a 100644
--- a/chrome/common/extensions/docs/omnibox.html
+++ b/chrome/common/extensions/docs/omnibox.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Omnibox - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.omnibox module, which is part of the Google Chrome extension APIs."><title>Omnibox - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/pageAction.html
index fdbe75b..89f59b6 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/pageAction.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Page Actions - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.pageAction module, which is part of the Google Chrome extension APIs."><title>Page Actions - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/pageCapture.html b/chrome/common/extensions/docs/pageCapture.html
index 8e2a7a8..c1cfb1f 100644
--- a/chrome/common/extensions/docs/pageCapture.html
+++ b/chrome/common/extensions/docs/pageCapture.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.pageCapture - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.pageCapture module, which is part of the Google Chrome extension APIs."><title>chrome.pageCapture - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/permissions.html b/chrome/common/extensions/docs/permissions.html
index 447e9d0..70b2d4b 100644
--- a/chrome/common/extensions/docs/permissions.html
+++ b/chrome/common/extensions/docs/permissions.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Optional Permissions - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.permissions module, which is part of the Google Chrome extension APIs."><title>Optional Permissions - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/proxy.html b/chrome/common/extensions/docs/proxy.html
index 3fff070..fdb57ac 100644
--- a/chrome/common/extensions/docs/proxy.html
+++ b/chrome/common/extensions/docs/proxy.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Proxy Settings - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.proxy module, which is part of the Google Chrome extension APIs."><title>Proxy Settings - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index 7d13a12..314ff10 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -2165,7 +2165,7 @@
"background.js",
"manifest.json"
],
- "source_hash": "a3e7e6d7c8fee17bd14a56b855d40bca0c10015d",
+ "source_hash": "3fa6d5a3a9cba2fbb1b85001aff396ad57ac9107",
"zip_path": "examples\/api\/speechInput\/basic.zip"
},
{
@@ -2476,4 +2476,4 @@
"zip_path": "examples\/api\/extension\/isAllowedAccess.zip"
}
]
-}
+} \ No newline at end of file
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index aebcc66f..c2943e1 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Tabs - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.tabs module, which is part of the Google Chrome extension APIs."><title>Tabs - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/tts.html b/chrome/common/extensions/docs/tts.html
index a87f86a..15bdc2f 100644
--- a/chrome/common/extensions/docs/tts.html
+++ b/chrome/common/extensions/docs/tts.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.tts - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.tts module, which is part of the Google Chrome extension APIs."><title>chrome.tts - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/ttsEngine.html b/chrome/common/extensions/docs/ttsEngine.html
index d18bb91..5367cab 100644
--- a/chrome/common/extensions/docs/ttsEngine.html
+++ b/chrome/common/extensions/docs/ttsEngine.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>chrome.ttsEngine - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.ttsEngine module, which is part of the Google Chrome extension APIs."><title>chrome.ttsEngine - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/types.html b/chrome/common/extensions/docs/types.html
index cde870a..5707d58 100644
--- a/chrome/common/extensions/docs/types.html
+++ b/chrome/common/extensions/docs/types.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Types - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.types module, which is part of the Google Chrome extension APIs."><title>Types - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/webNavigation.html b/chrome/common/extensions/docs/webNavigation.html
index ade0b0a..24795eb 100644
--- a/chrome/common/extensions/docs/webNavigation.html
+++ b/chrome/common/extensions/docs/webNavigation.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>WebNavigation API - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.webNavigation module, which is part of the Google Chrome extension APIs."><title>WebNavigation API - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index f52f04b..b21bda4 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>Windows - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.windows module, which is part of the Google Chrome extension APIs."><title>Windows - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.