summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs')
-rw-r--r--chrome/common/extensions/docs/apps/bookmarks.html2286
-rwxr-xr-xchrome/common/extensions/docs/build/build.py58
-rw-r--r--chrome/common/extensions/docs/build/generator.html21
-rw-r--r--chrome/common/extensions/docs/extensions/a11y.html (renamed from chrome/common/extensions/docs/a11y.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/alarms.html (renamed from chrome/common/extensions/docs/alarms.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/api_index.html (renamed from chrome/common/extensions/docs/api_index.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/api_other.html (renamed from chrome/common/extensions/docs/api_other.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/appWindow.html (renamed from chrome/common/extensions/docs/appWindow.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/apps.html (renamed from chrome/common/extensions/docs/apps.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/autoupdate.html (renamed from chrome/common/extensions/docs/autoupdate.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/background_pages.html (renamed from chrome/common/extensions/docs/background_pages.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/bookmarks.html (renamed from chrome/common/extensions/docs/bookmarks.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/browserAction.html (renamed from chrome/common/extensions/docs/browserAction.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/browsingData.html (renamed from chrome/common/extensions/docs/browsingData.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/contentSecurityPolicy.html (renamed from chrome/common/extensions/docs/contentSecurityPolicy.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/contentSettings.html (renamed from chrome/common/extensions/docs/contentSettings.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/content_scripts.html (renamed from chrome/common/extensions/docs/content_scripts.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/contextMenus.html (renamed from chrome/common/extensions/docs/contextMenus.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/cookies.html (renamed from chrome/common/extensions/docs/cookies.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/crx.html (renamed from chrome/common/extensions/docs/crx.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/debugger.html (renamed from chrome/common/extensions/docs/debugger.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/declarativeWebRequest.html (renamed from chrome/common/extensions/docs/declarativeWebRequest.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/devguide.html (renamed from chrome/common/extensions/docs/devguide.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/devtools.html (renamed from chrome/common/extensions/docs/devtools.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/devtools.inspectedWindow.html (renamed from chrome/common/extensions/docs/devtools.inspectedWindow.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/devtools.network.html (renamed from chrome/common/extensions/docs/devtools.network.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/devtools.panels.html (renamed from chrome/common/extensions/docs/devtools.panels.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/docs.html (renamed from chrome/common/extensions/docs/docs.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/downloads.html (renamed from chrome/common/extensions/docs/downloads.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/event_pages.html (renamed from chrome/common/extensions/docs/event_pages.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/events.html (renamed from chrome/common/extensions/docs/events.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.alarms.html (renamed from chrome/common/extensions/docs/experimental.alarms.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.app.html (renamed from chrome/common/extensions/docs/experimental.app.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.bluetooth.html (renamed from chrome/common/extensions/docs/experimental.bluetooth.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.browsingData.html (renamed from chrome/common/extensions/docs/experimental.browsingData.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.contentSettings.html (renamed from chrome/common/extensions/docs/experimental.contentSettings.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.contextMenus.html (renamed from chrome/common/extensions/docs/experimental.contextMenus.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.cookies.html (renamed from chrome/common/extensions/docs/experimental.cookies.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.debugger.html (renamed from chrome/common/extensions/docs/experimental.debugger.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.audits.html (renamed from chrome/common/extensions/docs/experimental.devtools.audits.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.console.html (renamed from chrome/common/extensions/docs/experimental.devtools.console.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.html (renamed from chrome/common/extensions/docs/experimental.devtools.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.inspectedWindow.html (renamed from chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.network.html (renamed from chrome/common/extensions/docs/experimental.devtools.network.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.panels.html (renamed from chrome/common/extensions/docs/experimental.devtools.panels.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.devtools.resources.html (renamed from chrome/common/extensions/docs/experimental.devtools.resources.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.discovery.html (renamed from chrome/common/extensions/docs/experimental.discovery.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.dns.html (renamed from chrome/common/extensions/docs/experimental.dns.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.fontSettings.html (renamed from chrome/common/extensions/docs/experimental.fontSettings.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.history.html (renamed from chrome/common/extensions/docs/experimental.history.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.html (renamed from chrome/common/extensions/docs/experimental.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.identity.html (renamed from chrome/common/extensions/docs/experimental.identity.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.idltest.html (renamed from chrome/common/extensions/docs/experimental.idltest.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.infobars.html (renamed from chrome/common/extensions/docs/experimental.infobars.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.input.ime.html (renamed from chrome/common/extensions/docs/experimental.input.ime.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.inputUI.html (renamed from chrome/common/extensions/docs/experimental.inputUI.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.keybinding.html (renamed from chrome/common/extensions/docs/experimental.keybinding.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.mediaGalleries.html (renamed from chrome/common/extensions/docs/experimental.mediaGalleries.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.offscreenTabs.html (renamed from chrome/common/extensions/docs/experimental.offscreenTabs.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.privacy.html (renamed from chrome/common/extensions/docs/experimental.privacy.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.processes.html (renamed from chrome/common/extensions/docs/experimental.processes.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.record.html (renamed from chrome/common/extensions/docs/experimental.record.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.serial.html (renamed from chrome/common/extensions/docs/experimental.serial.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.socket.html (renamed from chrome/common/extensions/docs/experimental.socket.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.speechInput.html (renamed from chrome/common/extensions/docs/experimental.speechInput.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.storage.html (renamed from chrome/common/extensions/docs/experimental.storage.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.usb.html (renamed from chrome/common/extensions/docs/experimental.usb.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.webInspector.audits.html (renamed from chrome/common/extensions/docs/experimental.webInspector.audits.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.webInspector.html (renamed from chrome/common/extensions/docs/experimental.webInspector.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.webInspector.panels.html (renamed from chrome/common/extensions/docs/experimental.webInspector.panels.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.webInspector.resources.html (renamed from chrome/common/extensions/docs/experimental.webInspector.resources.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/experimental.webRequest.html (renamed from chrome/common/extensions/docs/experimental.webRequest.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/extension.html (renamed from chrome/common/extensions/docs/extension.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/external_extensions.html (renamed from chrome/common/extensions/docs/external_extensions.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/faq.html (renamed from chrome/common/extensions/docs/faq.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/fileBrowserHandler.html (renamed from chrome/common/extensions/docs/fileBrowserHandler.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/fileSystem.html (renamed from chrome/common/extensions/docs/fileSystem.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/getstarted.html (renamed from chrome/common/extensions/docs/getstarted.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/history.html (renamed from chrome/common/extensions/docs/history.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/hosting.html (renamed from chrome/common/extensions/docs/hosting.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/i18n-messages.html (renamed from chrome/common/extensions/docs/i18n-messages.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/i18n.html (renamed from chrome/common/extensions/docs/i18n.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/idle.html (renamed from chrome/common/extensions/docs/idle.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/index.html (renamed from chrome/common/extensions/docs/index.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/input.ime.html (renamed from chrome/common/extensions/docs/input.ime.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/management.html (renamed from chrome/common/extensions/docs/management.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/manifest.html (renamed from chrome/common/extensions/docs/manifest.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/manifestVersion.html (renamed from chrome/common/extensions/docs/manifestVersion.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/match_patterns.html (renamed from chrome/common/extensions/docs/match_patterns.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/messaging.html (renamed from chrome/common/extensions/docs/messaging.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/notifications.html (renamed from chrome/common/extensions/docs/notifications.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/npapi.html (renamed from chrome/common/extensions/docs/npapi.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/omnibox.html (renamed from chrome/common/extensions/docs/omnibox.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/options.html (renamed from chrome/common/extensions/docs/options.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/override.html (renamed from chrome/common/extensions/docs/override.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/overview.html (renamed from chrome/common/extensions/docs/overview.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/packaging.html (renamed from chrome/common/extensions/docs/packaging.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/pageAction.html (renamed from chrome/common/extensions/docs/pageAction.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/pageCapture.html (renamed from chrome/common/extensions/docs/pageCapture.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/permission_warnings.html (renamed from chrome/common/extensions/docs/permission_warnings.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/permissions.html (renamed from chrome/common/extensions/docs/permissions.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/privacy.html (renamed from chrome/common/extensions/docs/privacy.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/proxy.html (renamed from chrome/common/extensions/docs/proxy.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/runtime.html (renamed from chrome/common/extensions/docs/runtime.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/samples.html (renamed from chrome/common/extensions/docs/samples.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/storage.html (renamed from chrome/common/extensions/docs/storage.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tabs.html (renamed from chrome/common/extensions/docs/tabs.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/test.html (renamed from chrome/common/extensions/docs/test.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/themes.html (renamed from chrome/common/extensions/docs/themes.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/topSites.html (renamed from chrome/common/extensions/docs/topSites.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tts.html (renamed from chrome/common/extensions/docs/tts.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/ttsEngine.html (renamed from chrome/common/extensions/docs/ttsEngine.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tut_analytics.html (renamed from chrome/common/extensions/docs/tut_analytics.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tut_debugging.html (renamed from chrome/common/extensions/docs/tut_debugging.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tut_oauth.html (renamed from chrome/common/extensions/docs/tut_oauth.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/tutorials.html (renamed from chrome/common/extensions/docs/tutorials.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/types.html (renamed from chrome/common/extensions/docs/types.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/webNavigation.html (renamed from chrome/common/extensions/docs/webNavigation.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/webRequest.html (renamed from chrome/common/extensions/docs/webRequest.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/webstore.html (renamed from chrome/common/extensions/docs/webstore.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/whats_new.html (renamed from chrome/common/extensions/docs/whats_new.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/windows.html (renamed from chrome/common/extensions/docs/windows.html)1
-rw-r--r--chrome/common/extensions/docs/extensions/xhr.html (renamed from chrome/common/extensions/docs/xhr.html)1
-rw-r--r--chrome/common/extensions/docs/js/api_page_generator.js14
-rw-r--r--chrome/common/extensions/docs/template/api_template_apps.html606
-rw-r--r--chrome/common/extensions/docs/template/page_shell.html1
126 files changed, 3057 insertions, 49 deletions
diff --git a/chrome/common/extensions/docs/apps/bookmarks.html b/chrome/common/extensions/docs/apps/bookmarks.html
new file mode 100644
index 0000000..568ba8b
--- /dev/null
+++ b/chrome/common/extensions/docs/apps/bookmarks.html
@@ -0,0 +1,2286 @@
+<!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
+ 1) The <head> information in this page is significant, should be uniform
+ across api docs and should be edited only with knowledge of the
+ templating mechanism.
+ 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
+ browser, it will be re-generated from the template, json schema and
+ authored overview content.
+ 4) The <body>.innerHTML is also generated by an offline step so that this
+ page may easily be indexed by search engines.
+--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href="../">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
+ <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
+ <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js">
+ </script>
+ <script type="text/javascript" src="../../../../third_party/json_minify/minify-sans-regexp.js">
+ </script>
+ <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>
+ <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="devModeWarning" class="displayModeWarning">
+ 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.
+ </div>
+ <div id="branchWarning" class="displayModeWarning">
+ <span>WARNING: This is the <span id="branchName">BETA</span> documentation.
+ It may not work with the stable release of Chrome.</span>
+ <select id="branchChooser">
+ <option>Choose a different version...
+ </option><option value="">Stable
+ </option><option value="beta">Beta
+ </option><option value="dev">Dev
+ </option><option value="trunk">Trunk
+ </option></select>
+ </div>
+ <div id="unofficialWarning" class="displayModeWarning">
+ <span>WARNING: This is unofficial documentation. It may not work with the
+ current release of Chrome.</span>
+ <button id="goToOfficialDocs">Go to the official docs</button>
+ </div>
+ <div id="gc-container" class="labs">
+ <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
+ <!-- In particular, sub-templates that recurse, must be used by allowing
+ jstemplate to make a copy of the template in this section which
+ are not operated on by way of the jsskip="true" -->
+ <!-- /SUBTEMPLATES -->
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
+ <!-- API HEADER -->
+ <table id="header" width="100%" cellspacing="0" border="0">
+ <tbody><tr>
+ <td valign="middle"><a href="http://code.google.com/"><img src="images/chrome_logo.gif" alt="Google Code" style="border:0; margin:0;"></a></td>
+ <td valign="middle" width="100%" style="padding-left:0.6em;">
+ <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
+ <div id="gsc-search-box">
+ <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
+ <input type="hidden" name="ie" value="UTF-8">
+ <input id="gsc-search-input" type="text" name="q" value="" size="55">
+ <button class="gsc-search-button" type="submit" name="sa">
+ <img class="gsc-search-button-lens" src="images/search.png" alt="Search">
+ </button>
+ <br>
+ <span class="greytext">e.g. "page action" or "tabs"</span>
+ </div>
+ </form>
+ <script type="text/javascript" src="https://www.google.com/jsapi"></script>
+ <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
+ <script type="text/javascript" src="https://www.google.com/coop/cse/t13n?form=cse&amp;t13n_langs=en"></script>
+ <script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse&amp;lang=en"></script>
+ </td>
+ </tr>
+ </tbody></table>
+ <div id="codesiteContent" class="">
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Packaged Apps</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="app_landing.html" title="Packaged Apps home page">Home</a>
+ </li>
+ <li id="docs_link">
+ <a href="about_apps.html" title="Official Packaged apps documentation">Docs</a>
+ </li>
+ <li id="samples_link">
+ <a href="app_samples.html" title="Sample apps (with source code)">Samples</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a>
+ </li>
+ <li id="so_link">
+ <a href="http://stackoverflow.com/questions/tagged/google-chrome-extension" title="[google-chrome-extension] tag on Stack Overflow">Questions?</a>
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
+ <div class="g-section g-tpl-170">
+ <!-- SIDENAV -->
+ <div class="g-unit g-first" id="gc-toc">
+ <ul>
+ <li><h2>Getting Started</h2>
+ <ul>
+ <li><a href="about_apps.html">What Are Packaged Apps?</a></li>
+ <li><a href="app_architecture.html">Understand the Architecture</a></li>
+ <li><a href="first_app.html">Create Your First App</a></li>
+ </ul>
+ </li>
+ <li><h2>Developing</h2>
+ <ul>
+ <li><a href="develop_apps.html">Before You Start</a></li>
+ <li>The Fundamentals
+ <ul>
+ <li><a href="app_lifecycle.html">Manage App Lifecycle</a></li>
+ <li><a href="app_storage.html">Manage Data</a></li>
+ <li><a href="offline_apps.html">Offline First</a></li>
+ <li><a href="app_external.html">Embed Content</a></li>
+ </ul>
+ </li>
+ <li>Security &amp; Privacy
+ <ul>
+ <li><a href="app_security.html">About Security &amp; Privacy</a></li>
+ <li><a href="app_identity.html">Identify User</a></li>
+ <li><a href="app_permissions.html">Manage User Permissions</a></li>
+ <li><a href="app_csp">Comply with CSP</a></li>
+ </ul>
+ </li>
+ <li>Advanced Technologies
+ <ul>
+ <li><a href="app_network.html">Communicate across Network</a></li>
+ <li><a href="app_hardware.html">Access Hardware Devices</a></li>
+ <li><a href="app_intents.html">Connect Apps with Web Intents</a></li>
+ </ul>
+ </li>
+ <li><a href="app_frameworks.html">Recommended Frameworks</a></li>
+ </ul>
+ </li>
+ <li><h2>Deploying</h2>
+ <ul>
+ <li><a href="publish_app.html">Publish</a></li>
+ <li><a href="sell_app.html">Sell</a></li>
+ </ul>
+ </li>
+ <li><h2>Reference</h2>
+ <ul>
+ <li><a href="manifest.html">Manifest Files</a></li>
+ <li><a href="api_index.html">Chrome JavaScript APIs</a></li>
+ <li><a href="experimental.html">Experimental APIs</a></li>
+ <li><a href="api_other.html">Supported Libraries</a></li>
+ <li><a href="app_deprecated.html">Disabled Web Features</a></li>
+ </ul>
+ </li>
+ <li><h2><a href="app_samples.html">Samples</a></h2></li>
+ </ul>
+ </div>
+ <script>
+ initToggles();
+ </script>
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title">Bookmarks</h1>
+ </div>
+ <!-- TABLE OF CONTENTS -->
+ <div id="toc">
+ <h2>Contents</h2>
+ <ol>
+ <li>
+ <a href="#manifest">Manifest</a>
+ <ol>
+ </ol>
+ </li><li>
+ <a href="#description">Objects and properties</a>
+ <ol>
+ </ol>
+ </li><li>
+ <a href="#overview-examples">Examples</a>
+ <ol>
+ </ol>
+ </li>
+ <li>
+ <a href="#apiReference">API reference: chrome.bookmarks</a>
+ <ol>
+ <li>
+ <a href="#global-methods">Methods</a>
+ <ol>
+ <li>
+ <a href="#method-create">create</a>
+ </li><li>
+ <a href="#method-get">get</a>
+ </li><li>
+ <a href="#method-getChildren">getChildren</a>
+ </li><li>
+ <a href="#method-getRecent">getRecent</a>
+ </li><li>
+ <a href="#method-getSubTree">getSubTree</a>
+ </li><li>
+ <a href="#method-getTree">getTree</a>
+ </li><li>
+ <a href="#method-move">move</a>
+ </li><li>
+ <a href="#method-remove">remove</a>
+ </li><li>
+ <a href="#method-removeTree">removeTree</a>
+ </li><li>
+ <a href="#method-search">search</a>
+ </li><li>
+ <a href="#method-update">update</a>
+ </li>
+ </ol>
+ </li>
+ <li>
+ <a href="#global-events">Events</a>
+ <ol>
+ <li>
+ <a href="#event-onChanged">onChanged</a>
+ </li><li>
+ <a href="#event-onChildrenReordered">onChildrenReordered</a>
+ </li><li>
+ <a href="#event-onCreated">onCreated</a>
+ </li><li>
+ <a href="#event-onImportBegan">onImportBegan</a>
+ </li><li>
+ <a href="#event-onImportEnded">onImportEnded</a>
+ </li><li>
+ <a href="#event-onMoved">onMoved</a>
+ </li><li>
+ <a href="#event-onRemoved">onRemoved</a>
+ </li>
+ </ol>
+ </li>
+ <li>
+ <a href="#types">Types</a>
+ <ol>
+ <li>
+ <a href="#type-BookmarkTreeNode">BookmarkTreeNode</a>
+ <ol>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </div>
+ <!-- /TABLE OF CONTENTS -->
+ <!-- Standard content lead-in for experimental API pages -->
+ <!-- STATIC CONTENT PLACEHOLDER -->
+ <div id="static"><div id="pageData-name" class="pageData">Bookmarks</div>
+<!-- BEGIN AUTHORED CONTENT -->
+<p id="classSummary">
+Use the <code>chrome.bookmarks</code> module to create, organize,
+and otherwise manipulate bookmarks.
+Also see <a href="override.html">Override Pages</a>,
+which you can use to create a custom Bookmark Manager page.
+</p>
+<img src="images/bookmarks.png" width="210" height="147" alt="Clicking the star adds a bookmark">
+<h2 id="manifest">Manifest</h2>
+<p>You must declare the "bookmarks" permission
+in the <a href="manifest.html">extension manifest</a>
+to use the bookmarks API.
+For example:</p>
+<pre>{
+ "name": "My extension",
+ ...
+ <b>"permissions": [
+ "bookmarks"
+ ]</b>,
+ ...
+}</pre>
+<h2 id="description">Objects and properties</h2>
+<p>
+Bookmarks are organized in a tree,
+where each node in the tree
+is either a bookmark or a folder
+(sometimes called a <em>group</em>).
+Each node in the tree
+is represented by a
+<a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a> object.
+</p>
+<p>
+<code>BookmarkTreeNode</code> properties
+are used throughout the <code>chrome.bookmarks</code> API.
+For example, when you call
+<a href="#method-create"><code>create()</code></a>,
+you pass in the new node's parent (<code>parentId</code>),
+and, optionally, the node's
+<code>index</code>, <code>title</code>, and <code>url</code> properties.
+See <a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a>
+for information about the properties a node can have.
+</p>
+<p class="note"><b>Note:</b> You cannot use this API to add or remove entries
+in the root folder. You also cannot rename, move, or remove the special
+"Bookmarks Bar" and "Other Bookmarks" folders.</p>
+<h2 id="overview-examples">Examples</h2>
+<p>
+The following code creates a folder with the title "Extension bookmarks".
+The first argument to <code>create()</code> specifies properties
+for the new folder.
+The second argument defines a function
+to be executed after the folder is created.
+</p>
+<pre>chrome.bookmarks.create({'parentId': bookmarkBar.id,
+ 'title': 'Extension bookmarks'},
+ function(newFolder) {
+ console.log("added folder: " + newFolder.title);
+});
+</pre>
+<p>
+The next snippet creates a bookmark pointing to
+the developer documentation for extensions.
+Since nothing bad will happen if creating the bookmark fails,
+this code doesn't bother to define a callback function.
+</p>
+<pre>chrome.bookmarks.create({'parentId': extensionsFolderId,
+ 'title': 'Extensions doc',
+ 'url': 'http://code.google.com/chrome/extensions'});
+</pre>
+<p>
+For an example of using this API, see the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/bookmarks/basic/">basic bookmarks sample</a>.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
+</p>
+<!-- END AUTHORED CONTENT -->
+</div>
+ <!-- API PAGE -->
+ <div class="apiPage">
+ <a name="apiReference"></a>
+ <h2>API reference: chrome.bookmarks</h2>
+ <!-- PROPERTIES -->
+ <!-- /apiGroup -->
+ <!-- METHODS -->
+ <div id="methodsTemplate" class="apiGroup">
+ <a name="global-methods"></a>
+ <h3>Methods</h3>
+ <!-- iterates over all functions -->
+ <div class="apiItem">
+ <a name="method-create"></a> <!-- method-anchor -->
+ <h4>create</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.create</span>(<span class="null"><span>object</span>
+ <var><span>bookmark</span></var></span><span class="optional"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Creates a bookmark or folder under the specified parentId. If url is NULL or missing, it will be a folder.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>bookmark</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>parentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>Defaults to the Other Bookmarks folder.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>index</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>title</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>url</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-get"></a> <!-- method-anchor -->
+ <h4>get</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.get</span>(<span class="null"><span>string or array of string</span>
+ <var><span>idOrIdList</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Retrieves the specified BookmarkTreeNode(s).</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>idOrIdList</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string or array of string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>A single string-valued id, or an array of string-valued ids</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-getChildren"></a> <!-- method-anchor -->
+ <h4>getChildren</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.getChildren</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Retrieves the children of the specified BookmarkTreeNode id.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-getRecent"></a> <!-- method-anchor -->
+ <h4>getRecent</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.getRecent</span>(<span class="null"><span>integer</span>
+ <var><span>numberOfItems</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Retrieves the recently added bookmarks.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>numberOfItems</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The maximum number of items to return.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-getSubTree"></a> <!-- method-anchor -->
+ <h4>getSubTree</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.getSubTree</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Retrieves part of the Bookmarks hierarchy, starting at the specified node.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The ID of the root of the subtree to retrieve.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-getTree"></a> <!-- method-anchor -->
+ <h4>getTree</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.getTree</span>(<span class="null"><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Retrieves the entire Bookmarks hierarchy.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-move"></a> <!-- method-anchor -->
+ <h4>move</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.move</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="null"><span>, </span><span>object</span>
+ <var><span>destination</span></var></span><span class="optional"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Moves the specified BookmarkTreeNode to the provided location.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>destination</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>parentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>index</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-remove"></a> <!-- method-anchor -->
+ <h4>remove</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.remove</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Removes a bookmark or an empty bookmark folder.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-removeTree"></a> <!-- method-anchor -->
+ <h4>removeTree</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.removeTree</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Recursively removes a bookmark folder.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-search"></a> <!-- method-anchor -->
+ <h4>search</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.search</span>(<span class="null"><span>string</span>
+ <var><span>query</span></var></span><span class="null"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Searches for BookmarkTreeNodes matching the given query.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>query</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div><div class="apiItem">
+ <a name="method-update"></a> <!-- method-anchor -->
+ <h4>update</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span>chrome.bookmarks.update</span>(<span class="null"><span>string</span>
+ <var><span>id</span></var></span><span class="null"><span>, </span><span>object</span>
+ <var><span>changes</span></var></span><span class="optional"><span>, </span><span>function</span>
+ <var><span>callback</span></var></span>)</div>
+ <div class="description">
+ <p>Updates the properties of a bookmark or folder. Specify only the properties that you want to change; unspecified properties will be left unchanged. <b>Note:</b> Currently, only 'title' and 'url' are supported.</p>
+ <!-- PARAMETERS -->
+ <h4>Parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>changes</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>title</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>url</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>callback</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>function</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ <!-- RETURNS -->
+ <dl>
+ </dl>
+ <!-- CALLBACK -->
+ <!-- MIN_VERSION -->
+ </div> <!-- /description -->
+ </div> <!-- /apiItem -->
+ </div> <!-- /apiGroup -->
+ <!-- EVENTS -->
+ <div id="eventsTemplate" class="apiGroup">
+ <a name="global-events"></a>
+ <h3>Events</h3>
+ <!-- iterates over all events -->
+ <div class="apiItem">
+ <a name="event-onChanged"></a>
+ <h4>onChanged</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onChanged</span><span class="subdued">.addListener</span>(function(<span>string id, object changeInfo</span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark or folder changes. <b>Note:</b> Currently, only title and url changes trigger this.</p>
+ <!-- LISTENER PARAMETERS -->
+ <div>
+ <h4>Listener parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>changeInfo</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>title</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>url</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </div>
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onChildrenReordered"></a>
+ <h4>onChildrenReordered</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onChildrenReordered</span><span class="subdued">.addListener</span>(function(<span>string id, object reorderInfo</span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when the children of a folder have changed their order due to the order being sorted in the UI. This is not called as a result of a move().</p>
+ <!-- LISTENER PARAMETERS -->
+ <div>
+ <h4>Listener parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>reorderInfo</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>childIds</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>
+ array of <span><span>
+ <span>
+ <span>string</span>
+ </span>
+ </span></span>
+ </span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </div>
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onCreated"></a>
+ <h4>onCreated</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onCreated</span><span class="subdued">.addListener</span>(function(<span>string id, BookmarkTreeNode bookmark</span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark or folder is created.</p>
+ <!-- LISTENER PARAMETERS -->
+ <div>
+ <h4>Listener parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>bookmark</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <a href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </div>
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onImportBegan"></a>
+ <h4>onImportBegan</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onImportBegan</span><span class="subdued">.addListener</span>(function(<span></span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark import session is begun. Expensive observers should ignore handleCreated updates until onImportEnded is fired. Observers should still handle other notifications immediately.</p>
+ <!-- LISTENER PARAMETERS -->
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onImportEnded"></a>
+ <h4>onImportEnded</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onImportEnded</span><span class="subdued">.addListener</span>(function(<span></span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark import session is ended.</p>
+ <!-- LISTENER PARAMETERS -->
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onMoved"></a>
+ <h4>onMoved</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onMoved</span><span class="subdued">.addListener</span>(function(<span>string id, object moveInfo</span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark or folder is moved to a different parent folder.</p>
+ <!-- LISTENER PARAMETERS -->
+ <div>
+ <h4>Listener parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>moveInfo</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>parentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>index</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>oldParentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>oldIndex</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </div>
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
+ <a name="event-onRemoved"></a>
+ <h4>onRemoved</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.bookmarks.</span><span>onRemoved</span><span class="subdued">.addListener</span>(function(<span>string id, object removeInfo</span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when a bookmark or folder is removed. When a folder is removed recursively, a single notification is fired for the folder, and none for its contents.</p>
+ <!-- LISTENER PARAMETERS -->
+ <div>
+ <h4>Listener parameters</h4>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>removeInfo</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>parentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>index</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd class="todo">
+ Undocumented.
+ </dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </div>
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div> <!-- /apiItem -->
+ </div> <!-- /apiGroup -->
+ <!-- TYPES -->
+ <div class="apiGroup">
+ <a name="types"></a>
+ <h3 id="types">Types</h3>
+ <!-- iterates over all types -->
+ <div class="apiItem">
+ <a name="type-BookmarkTreeNode"></a>
+ <h4>BookmarkTreeNode</h4>
+ <div>
+ <dt>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>object</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>A node (either a bookmark or a folder) in the bookmark tree. Child nodes are ordered within their parent folder.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <dd>
+ <dl>
+ <div>
+ <div>
+ <dt>
+ <var>id</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The unique identifier for the node. IDs are unique within the current profile, and they remain valid even after the browser is restarted.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>parentId</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The <code>id</code> of the parent folder. Omitted for the root node.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>index</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>integer</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The 0-based position of this node within its parent folder.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>url</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The URL navigated to when a user clicks the bookmark. Omitted for folders.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>title</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The text displayed for the node.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>dateAdded</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>number</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>When this node was created, in milliseconds since the epoch (<code>new Date(dateAdded)</code>).</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>dateGroupModified</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>number</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>When the contents of this folder last changed, in milliseconds since the epoch.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>children</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>
+ array of <span><span>
+ <span>
+ <a href="bookmarks.html#type-BookmarkTreeNode">BookmarkTreeNode</a>
+ </span>
+ </span></span>
+ </span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>An ordered list of children of this node.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div>
+ </dl>
+ </dd>
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div> <!-- /apiItem -->
+ </div> <!-- /apiGroup -->
+ </div> <!-- /apiPage -->
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" --="">
+ <div class="text">
+ <p>
+ Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
+ the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
+ Attribution 3.0 License</a>, and code samples are licensed under the
+ <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
+ </p>
+ <p>
+ ©2011 Google
+ </p>
+<!-- begin analytics -->
+<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script src="https://www.google-analytics.com/ga.js" type="text/javascript"></script>
+<script type="text/javascript">
+ // chrome doc tracking
+ try {
+ var engdocs = _gat._getTracker("YT-10763712-2");
+ engdocs._trackPageview();
+ } catch(err) {}
+ // code.google.com site-wide tracking
+ try {
+ _uacct="UA-18071-1";
+ _uanchor=1;
+ _uff=0;
+ urchinTracker();
+ }
+ catch(e) {/* urchinTracker not available. */}
+</script>
+<!-- end analytics -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
+</body></html>
diff --git a/chrome/common/extensions/docs/build/build.py b/chrome/common/extensions/docs/build/build.py
index d08f1d1..0fa7c0a 100755
--- a/chrome/common/extensions/docs/build/build.py
+++ b/chrome/common/extensions/docs/build/build.py
@@ -48,22 +48,26 @@ from directory import Sample
from directory import ApiManifest
from directory import SamplesManifest
-def RenderPages(names, dump_render_tree):
- """
- Calls DumpRenderTree .../generator.html?<names> and writes the
- results to .../docs/<name>.html
- """
- if not names:
- raise Exception("RenderPage called with empty names param")
+def RenderPages(family, dump_render_tree, single_page_name):
+ output_dir = os.path.join(_base_dir, family)
+ names = set(os.path.splitext(name)[0] for name in os.listdir(output_dir)
+ if not name.startswith(".") and name.endswith(".html"))
+
+ # Allow the user to render a single page if they want
+ if single_page_name:
+ if single_page_name in names:
+ names = [single_page_name]
+ else:
+ return []
generator_url = "file:" + urllib.pathname2url(_generator_html)
- generator_url += "?" + ",".join(names)
+ generator_url += "?" + family + "|" + ",".join(names)
# Start with a fresh copy of page shell for each file.
# Save the current contents so that we can look for changes later.
originals = {}
for name in names:
- input_file = _base_dir + "/" + name + ".html"
+ input_file = os.path.join(output_dir, name + ".html")
if (os.path.isfile(input_file)):
originals[name] = open(input_file, 'rb').read()
@@ -110,7 +114,7 @@ def RenderPages(names, dump_render_tree):
result = result.replace(' style=""', '')
# Remove page_shell
- input_file = _base_dir + "/" + name + ".html"
+ input_file = os.path.join(output_dir, name + ".html")
os.remove(input_file)
# Write output
@@ -165,12 +169,6 @@ def FindDumpRenderTree():
"To specify a path to DumpRenderTree use "
"--dump-render-tree-path")
-def GetStaticFileNames():
- static_files = os.listdir(_static_dir)
- return set(os.path.splitext(file_name)[0]
- for file_name in static_files
- if file_name.endswith(".html") and not file_name.startswith("."))
-
def main():
# Prevent windows from using cygwin python.
if (sys.platform == "cygwin"):
@@ -198,23 +196,6 @@ def main():
api_manifest = ApiManifest(_extension_api_json_schemas,
_extension_api_idl_schemas)
- # Read static file names
- static_names = GetStaticFileNames()
-
- # Read module names
- module_names = api_manifest.getModuleNames()
-
- # All pages to generate
- page_names = static_names | module_names
-
- # Allow the user to render a single page if they want
- if options.page_name:
- if options.page_name in page_names:
- page_names = [options.page_name]
- else:
- raise Exception("--page-name argument must be one of %s." %
- ', '.join(sorted(page_names)))
-
# Write temporary JSON files based on the IDL inputs
api_manifest.generateJSONFromIDL()
@@ -224,13 +205,14 @@ def main():
# Write zipped versions of the samples listed in the manifest to the
# filesystem, unless the user has disabled it
+ modified_files = []
if options.zips:
- modified_zips = samples_manifest.writeZippedSamples()
- else:
- modified_zips = []
+ modified_files.extend(samples_manifest.writeZippedSamples())
- modified_files = RenderPages(page_names, dump_render_tree)
- modified_files.extend(modified_zips)
+ doc_families = ["extensions", "apps"]
+ for family in doc_families:
+ modified_files.extend(
+ RenderPages(family, dump_render_tree, options.page_name))
if len(modified_files) == 0:
print "Output files match existing files. No changes made."
diff --git a/chrome/common/extensions/docs/build/generator.html b/chrome/common/extensions/docs/build/generator.html
index 0700d49..d5f09bf 100644
--- a/chrome/common/extensions/docs/build/generator.html
+++ b/chrome/common/extensions/docs/build/generator.html
@@ -2,20 +2,22 @@
<head>
<script>
var childFrame;
+var family;
var pages;
var currentPage;
var result = {};
function init() {
- if (!window.layoutTestController) {
- alert("window.layoutTestController not defined.");
- return;
+ if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+ } else {
+ console.error("No layout test controller");
}
-
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
- pages = window.location.search.substring(1).split(",");
+ var queryString = window.location.search.substring(1).split("|");
+ family = queryString[0];
+ pages = queryString[1].split(",");
if (!pages.length) {
alert("please specify which pages to generate via " +
"?<page> ... ie. generator.html?tabs,bookmarks,cookies,...");
@@ -30,7 +32,7 @@ function init() {
function next() {
currentPage = pages.shift();
- childFrame.src = "../" + currentPage + ".html?regenerate";
+ childFrame.src = "../" + family + "/" + currentPage + ".html?regenerate";
}
var count = 0;
@@ -45,7 +47,8 @@ function done() {
"#BEGIN" + JSON.stringify(result) + "#END");
preNode.appendChild(textNode);
document.getElementsByTagName("body")[0].appendChild(preNode);
- layoutTestController.notifyDone();
+ if (window.layoutTestController)
+ layoutTestController.notifyDone();
}
}
</script>
diff --git a/chrome/common/extensions/docs/a11y.html b/chrome/common/extensions/docs/extensions/a11y.html
index c777453..965d46f 100644
--- a/chrome/common/extensions/docs/a11y.html
+++ b/chrome/common/extensions/docs/extensions/a11y.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/alarms.html b/chrome/common/extensions/docs/extensions/alarms.html
index 262af6e..4b2f9d0 100644
--- a/chrome/common/extensions/docs/alarms.html
+++ b/chrome/common/extensions/docs/extensions/alarms.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/api_index.html b/chrome/common/extensions/docs/extensions/api_index.html
index 664634f..2057ad8 100644
--- a/chrome/common/extensions/docs/api_index.html
+++ b/chrome/common/extensions/docs/extensions/api_index.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/extensions/api_other.html
index 638a816..f6ca42b 100644
--- a/chrome/common/extensions/docs/api_other.html
+++ b/chrome/common/extensions/docs/extensions/api_other.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/appWindow.html b/chrome/common/extensions/docs/extensions/appWindow.html
index d04929e..5b4c95c 100644
--- a/chrome/common/extensions/docs/appWindow.html
+++ b/chrome/common/extensions/docs/extensions/appWindow.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/apps.html b/chrome/common/extensions/docs/extensions/apps.html
index 2b0fe6a..68c8057 100644
--- a/chrome/common/extensions/docs/apps.html
+++ b/chrome/common/extensions/docs/extensions/apps.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/autoupdate.html b/chrome/common/extensions/docs/extensions/autoupdate.html
index 2279c2d..10eea0f 100644
--- a/chrome/common/extensions/docs/autoupdate.html
+++ b/chrome/common/extensions/docs/extensions/autoupdate.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/background_pages.html b/chrome/common/extensions/docs/extensions/background_pages.html
index ddc64f3..2204d51 100644
--- a/chrome/common/extensions/docs/background_pages.html
+++ b/chrome/common/extensions/docs/extensions/background_pages.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/extensions/bookmarks.html
index 4be2e906..4be2a00 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/extensions/bookmarks.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/extensions/browserAction.html
index 96e87f9..8e942d7 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/extensions/browserAction.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/browsingData.html b/chrome/common/extensions/docs/extensions/browsingData.html
index 3c04f3d..d0b2368 100644
--- a/chrome/common/extensions/docs/browsingData.html
+++ b/chrome/common/extensions/docs/extensions/browsingData.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/contentSecurityPolicy.html b/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
index f0d6156..f2907a0 100644
--- a/chrome/common/extensions/docs/contentSecurityPolicy.html
+++ b/chrome/common/extensions/docs/extensions/contentSecurityPolicy.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/contentSettings.html b/chrome/common/extensions/docs/extensions/contentSettings.html
index 0e14665..dee166f 100644
--- a/chrome/common/extensions/docs/contentSettings.html
+++ b/chrome/common/extensions/docs/extensions/contentSettings.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/extensions/content_scripts.html
index 64b3c88..8bc9e47 100644
--- a/chrome/common/extensions/docs/content_scripts.html
+++ b/chrome/common/extensions/docs/extensions/content_scripts.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/extensions/contextMenus.html
index 5ad0a16..e792556 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/extensions/contextMenus.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/cookies.html b/chrome/common/extensions/docs/extensions/cookies.html
index 0320cf0..421d2a8 100644
--- a/chrome/common/extensions/docs/cookies.html
+++ b/chrome/common/extensions/docs/extensions/cookies.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/crx.html b/chrome/common/extensions/docs/extensions/crx.html
index 3c2f395..026a7de 100644
--- a/chrome/common/extensions/docs/crx.html
+++ b/chrome/common/extensions/docs/extensions/crx.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/debugger.html b/chrome/common/extensions/docs/extensions/debugger.html
index ad440c3..406bda8 100644
--- a/chrome/common/extensions/docs/debugger.html
+++ b/chrome/common/extensions/docs/extensions/debugger.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/declarativeWebRequest.html b/chrome/common/extensions/docs/extensions/declarativeWebRequest.html
index 01b9f7d..6ccb10e 100644
--- a/chrome/common/extensions/docs/declarativeWebRequest.html
+++ b/chrome/common/extensions/docs/extensions/declarativeWebRequest.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/extensions/devguide.html
index 6f65d5c..0c18648 100644
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/extensions/devguide.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/devtools.html b/chrome/common/extensions/docs/extensions/devtools.html
index f35827e..d315dd7 100644
--- a/chrome/common/extensions/docs/devtools.html
+++ b/chrome/common/extensions/docs/extensions/devtools.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/devtools.inspectedWindow.html b/chrome/common/extensions/docs/extensions/devtools.inspectedWindow.html
index 2f148ca..4e9966b 100644
--- a/chrome/common/extensions/docs/devtools.inspectedWindow.html
+++ b/chrome/common/extensions/docs/extensions/devtools.inspectedWindow.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/devtools.network.html b/chrome/common/extensions/docs/extensions/devtools.network.html
index 0b8a93490..0944802 100644
--- a/chrome/common/extensions/docs/devtools.network.html
+++ b/chrome/common/extensions/docs/extensions/devtools.network.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/devtools.panels.html b/chrome/common/extensions/docs/extensions/devtools.panels.html
index 6e0345c..2f03167 100644
--- a/chrome/common/extensions/docs/devtools.panels.html
+++ b/chrome/common/extensions/docs/extensions/devtools.panels.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/docs.html b/chrome/common/extensions/docs/extensions/docs.html
index 4abe2ab..b54a9d9 100644
--- a/chrome/common/extensions/docs/docs.html
+++ b/chrome/common/extensions/docs/extensions/docs.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/downloads.html b/chrome/common/extensions/docs/extensions/downloads.html
index cea1266c..ec51871 100644
--- a/chrome/common/extensions/docs/downloads.html
+++ b/chrome/common/extensions/docs/extensions/downloads.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/event_pages.html b/chrome/common/extensions/docs/extensions/event_pages.html
index fad587a..bc538c3 100644
--- a/chrome/common/extensions/docs/event_pages.html
+++ b/chrome/common/extensions/docs/extensions/event_pages.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/extensions/events.html
index d19c7b5..239bd85 100644
--- a/chrome/common/extensions/docs/events.html
+++ b/chrome/common/extensions/docs/extensions/events.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.alarms.html b/chrome/common/extensions/docs/extensions/experimental.alarms.html
index 994bee2..476b90f 100644
--- a/chrome/common/extensions/docs/experimental.alarms.html
+++ b/chrome/common/extensions/docs/extensions/experimental.alarms.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.app.html b/chrome/common/extensions/docs/extensions/experimental.app.html
index 3fe0f4c..4dc8da1 100644
--- a/chrome/common/extensions/docs/experimental.app.html
+++ b/chrome/common/extensions/docs/extensions/experimental.app.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.bluetooth.html b/chrome/common/extensions/docs/extensions/experimental.bluetooth.html
index d0c7654..de62478 100644
--- a/chrome/common/extensions/docs/experimental.bluetooth.html
+++ b/chrome/common/extensions/docs/extensions/experimental.bluetooth.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.browsingData.html b/chrome/common/extensions/docs/extensions/experimental.browsingData.html
index 57c6340..5735d4f 100644
--- a/chrome/common/extensions/docs/experimental.browsingData.html
+++ b/chrome/common/extensions/docs/extensions/experimental.browsingData.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.contentSettings.html b/chrome/common/extensions/docs/extensions/experimental.contentSettings.html
index d5e83da..da98755 100644
--- a/chrome/common/extensions/docs/experimental.contentSettings.html
+++ b/chrome/common/extensions/docs/extensions/experimental.contentSettings.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.contextMenus.html b/chrome/common/extensions/docs/extensions/experimental.contextMenus.html
index d8df29c..4e4d294 100644
--- a/chrome/common/extensions/docs/experimental.contextMenus.html
+++ b/chrome/common/extensions/docs/extensions/experimental.contextMenus.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.cookies.html b/chrome/common/extensions/docs/extensions/experimental.cookies.html
index 1ce93f0..9b98a5b 100644
--- a/chrome/common/extensions/docs/experimental.cookies.html
+++ b/chrome/common/extensions/docs/extensions/experimental.cookies.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.debugger.html b/chrome/common/extensions/docs/extensions/experimental.debugger.html
index aef185a..6b50090 100644
--- a/chrome/common/extensions/docs/experimental.debugger.html
+++ b/chrome/common/extensions/docs/extensions/experimental.debugger.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.audits.html b/chrome/common/extensions/docs/extensions/experimental.devtools.audits.html
index 908ed0a..082c426 100644
--- a/chrome/common/extensions/docs/experimental.devtools.audits.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.audits.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.console.html b/chrome/common/extensions/docs/extensions/experimental.devtools.console.html
index 0e4a179..e37282f 100644
--- a/chrome/common/extensions/docs/experimental.devtools.console.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.console.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.html b/chrome/common/extensions/docs/extensions/experimental.devtools.html
index dc9a476..e0ff86d 100644
--- a/chrome/common/extensions/docs/experimental.devtools.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html b/chrome/common/extensions/docs/extensions/experimental.devtools.inspectedWindow.html
index f4468cd..311ed06 100644
--- a/chrome/common/extensions/docs/experimental.devtools.inspectedWindow.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.inspectedWindow.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.network.html b/chrome/common/extensions/docs/extensions/experimental.devtools.network.html
index b9387f8..1e99fad 100644
--- a/chrome/common/extensions/docs/experimental.devtools.network.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.network.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.panels.html b/chrome/common/extensions/docs/extensions/experimental.devtools.panels.html
index 601469f..d04c743 100644
--- a/chrome/common/extensions/docs/experimental.devtools.panels.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.panels.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.devtools.resources.html b/chrome/common/extensions/docs/extensions/experimental.devtools.resources.html
index 2a0f5af..09214d3 100644
--- a/chrome/common/extensions/docs/experimental.devtools.resources.html
+++ b/chrome/common/extensions/docs/extensions/experimental.devtools.resources.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.discovery.html b/chrome/common/extensions/docs/extensions/experimental.discovery.html
index c190bc0..4e97e84 100644
--- a/chrome/common/extensions/docs/experimental.discovery.html
+++ b/chrome/common/extensions/docs/extensions/experimental.discovery.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.dns.html b/chrome/common/extensions/docs/extensions/experimental.dns.html
index cd399c3..dc44727 100644
--- a/chrome/common/extensions/docs/experimental.dns.html
+++ b/chrome/common/extensions/docs/extensions/experimental.dns.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.fontSettings.html b/chrome/common/extensions/docs/extensions/experimental.fontSettings.html
index a934baf..2582cb5 100644
--- a/chrome/common/extensions/docs/experimental.fontSettings.html
+++ b/chrome/common/extensions/docs/extensions/experimental.fontSettings.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.history.html b/chrome/common/extensions/docs/extensions/experimental.history.html
index bc1dbcb..4028650 100644
--- a/chrome/common/extensions/docs/experimental.history.html
+++ b/chrome/common/extensions/docs/extensions/experimental.history.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.html b/chrome/common/extensions/docs/extensions/experimental.html
index 933d041..87b7662 100644
--- a/chrome/common/extensions/docs/experimental.html
+++ b/chrome/common/extensions/docs/extensions/experimental.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.identity.html b/chrome/common/extensions/docs/extensions/experimental.identity.html
index 8808c2c..5a4175b 100644
--- a/chrome/common/extensions/docs/experimental.identity.html
+++ b/chrome/common/extensions/docs/extensions/experimental.identity.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.idltest.html b/chrome/common/extensions/docs/extensions/experimental.idltest.html
index f9b56b3..b61cd954 100644
--- a/chrome/common/extensions/docs/experimental.idltest.html
+++ b/chrome/common/extensions/docs/extensions/experimental.idltest.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.infobars.html b/chrome/common/extensions/docs/extensions/experimental.infobars.html
index 27b1186..63317ab 100644
--- a/chrome/common/extensions/docs/experimental.infobars.html
+++ b/chrome/common/extensions/docs/extensions/experimental.infobars.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.input.ime.html b/chrome/common/extensions/docs/extensions/experimental.input.ime.html
index dc2d57b..99b8054 100644
--- a/chrome/common/extensions/docs/experimental.input.ime.html
+++ b/chrome/common/extensions/docs/extensions/experimental.input.ime.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.inputUI.html b/chrome/common/extensions/docs/extensions/experimental.inputUI.html
index 43714a3..1192c94 100644
--- a/chrome/common/extensions/docs/experimental.inputUI.html
+++ b/chrome/common/extensions/docs/extensions/experimental.inputUI.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.keybinding.html b/chrome/common/extensions/docs/extensions/experimental.keybinding.html
index 6d820a9..d111c8e 100644
--- a/chrome/common/extensions/docs/experimental.keybinding.html
+++ b/chrome/common/extensions/docs/extensions/experimental.keybinding.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.mediaGalleries.html b/chrome/common/extensions/docs/extensions/experimental.mediaGalleries.html
index dcd9504..69c719e 100644
--- a/chrome/common/extensions/docs/experimental.mediaGalleries.html
+++ b/chrome/common/extensions/docs/extensions/experimental.mediaGalleries.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.offscreenTabs.html b/chrome/common/extensions/docs/extensions/experimental.offscreenTabs.html
index 2d4c4cb..669e149 100644
--- a/chrome/common/extensions/docs/experimental.offscreenTabs.html
+++ b/chrome/common/extensions/docs/extensions/experimental.offscreenTabs.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.privacy.html b/chrome/common/extensions/docs/extensions/experimental.privacy.html
index 0c0170b..c27eaf9 100644
--- a/chrome/common/extensions/docs/experimental.privacy.html
+++ b/chrome/common/extensions/docs/extensions/experimental.privacy.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.processes.html b/chrome/common/extensions/docs/extensions/experimental.processes.html
index 4053e5f..687f32a 100644
--- a/chrome/common/extensions/docs/experimental.processes.html
+++ b/chrome/common/extensions/docs/extensions/experimental.processes.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.record.html b/chrome/common/extensions/docs/extensions/experimental.record.html
index 6de4052..70fb8b61 100644
--- a/chrome/common/extensions/docs/experimental.record.html
+++ b/chrome/common/extensions/docs/extensions/experimental.record.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.serial.html b/chrome/common/extensions/docs/extensions/experimental.serial.html
index c69bdc5..ba0f2f6 100644
--- a/chrome/common/extensions/docs/experimental.serial.html
+++ b/chrome/common/extensions/docs/extensions/experimental.serial.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.socket.html b/chrome/common/extensions/docs/extensions/experimental.socket.html
index fe1d6db..541d0b9 100644
--- a/chrome/common/extensions/docs/experimental.socket.html
+++ b/chrome/common/extensions/docs/extensions/experimental.socket.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.speechInput.html b/chrome/common/extensions/docs/extensions/experimental.speechInput.html
index 9909c9b..8400c3c 100644
--- a/chrome/common/extensions/docs/experimental.speechInput.html
+++ b/chrome/common/extensions/docs/extensions/experimental.speechInput.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.storage.html b/chrome/common/extensions/docs/extensions/experimental.storage.html
index 028d7d8..668660b 100644
--- a/chrome/common/extensions/docs/experimental.storage.html
+++ b/chrome/common/extensions/docs/extensions/experimental.storage.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.usb.html b/chrome/common/extensions/docs/extensions/experimental.usb.html
index 169d60b..31ee5b4 100644
--- a/chrome/common/extensions/docs/experimental.usb.html
+++ b/chrome/common/extensions/docs/extensions/experimental.usb.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.webInspector.audits.html b/chrome/common/extensions/docs/extensions/experimental.webInspector.audits.html
index ff61504..1d0a020 100644
--- a/chrome/common/extensions/docs/experimental.webInspector.audits.html
+++ b/chrome/common/extensions/docs/extensions/experimental.webInspector.audits.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.webInspector.html b/chrome/common/extensions/docs/extensions/experimental.webInspector.html
index a635d7a..17bfaea 100644
--- a/chrome/common/extensions/docs/experimental.webInspector.html
+++ b/chrome/common/extensions/docs/extensions/experimental.webInspector.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.webInspector.panels.html b/chrome/common/extensions/docs/extensions/experimental.webInspector.panels.html
index 75beaa1..bd104f4 100644
--- a/chrome/common/extensions/docs/experimental.webInspector.panels.html
+++ b/chrome/common/extensions/docs/extensions/experimental.webInspector.panels.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.webInspector.resources.html b/chrome/common/extensions/docs/extensions/experimental.webInspector.resources.html
index 1d978d4..790567d 100644
--- a/chrome/common/extensions/docs/experimental.webInspector.resources.html
+++ b/chrome/common/extensions/docs/extensions/experimental.webInspector.resources.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/experimental.webRequest.html b/chrome/common/extensions/docs/extensions/experimental.webRequest.html
index d560b79..5929bc7 100644
--- a/chrome/common/extensions/docs/experimental.webRequest.html
+++ b/chrome/common/extensions/docs/extensions/experimental.webRequest.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extensions/extension.html
index ccf4cfa..8544f39 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extensions/extension.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/external_extensions.html b/chrome/common/extensions/docs/extensions/external_extensions.html
index 632549f..f6433f5 100644
--- a/chrome/common/extensions/docs/external_extensions.html
+++ b/chrome/common/extensions/docs/extensions/external_extensions.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/faq.html b/chrome/common/extensions/docs/extensions/faq.html
index 565f1be..e75fc3e 100644
--- a/chrome/common/extensions/docs/faq.html
+++ b/chrome/common/extensions/docs/extensions/faq.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/fileBrowserHandler.html b/chrome/common/extensions/docs/extensions/fileBrowserHandler.html
index 2f360c6..1cb4abc 100644
--- a/chrome/common/extensions/docs/fileBrowserHandler.html
+++ b/chrome/common/extensions/docs/extensions/fileBrowserHandler.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/fileSystem.html b/chrome/common/extensions/docs/extensions/fileSystem.html
index c9f8923..885d99b 100644
--- a/chrome/common/extensions/docs/fileSystem.html
+++ b/chrome/common/extensions/docs/extensions/fileSystem.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/extensions/getstarted.html
index 983d45b..6fa1b89 100644
--- a/chrome/common/extensions/docs/getstarted.html
+++ b/chrome/common/extensions/docs/extensions/getstarted.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/history.html b/chrome/common/extensions/docs/extensions/history.html
index 14f1317..b21517a 100644
--- a/chrome/common/extensions/docs/history.html
+++ b/chrome/common/extensions/docs/extensions/history.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/hosting.html b/chrome/common/extensions/docs/extensions/hosting.html
index 0a24590..980454ee 100644
--- a/chrome/common/extensions/docs/hosting.html
+++ b/chrome/common/extensions/docs/extensions/hosting.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/i18n-messages.html b/chrome/common/extensions/docs/extensions/i18n-messages.html
index 92f66e1..2b1724f 100644
--- a/chrome/common/extensions/docs/i18n-messages.html
+++ b/chrome/common/extensions/docs/extensions/i18n-messages.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/extensions/i18n.html
index 1816654..e310064 100644
--- a/chrome/common/extensions/docs/i18n.html
+++ b/chrome/common/extensions/docs/extensions/i18n.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/idle.html b/chrome/common/extensions/docs/extensions/idle.html
index a25057c..0d4d4b6 100644
--- a/chrome/common/extensions/docs/idle.html
+++ b/chrome/common/extensions/docs/extensions/idle.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/extensions/index.html
index 7b98a3b..9e0fcb7 100644
--- a/chrome/common/extensions/docs/index.html
+++ b/chrome/common/extensions/docs/extensions/index.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/input.ime.html b/chrome/common/extensions/docs/extensions/input.ime.html
index c91c88e..e0737bf 100644
--- a/chrome/common/extensions/docs/input.ime.html
+++ b/chrome/common/extensions/docs/extensions/input.ime.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/management.html b/chrome/common/extensions/docs/extensions/management.html
index b99345b..bf392b2 100644
--- a/chrome/common/extensions/docs/management.html
+++ b/chrome/common/extensions/docs/extensions/management.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/extensions/manifest.html
index f24174a..27f01db 100644
--- a/chrome/common/extensions/docs/manifest.html
+++ b/chrome/common/extensions/docs/extensions/manifest.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/manifestVersion.html b/chrome/common/extensions/docs/extensions/manifestVersion.html
index e32d1f8..14ce2e9 100644
--- a/chrome/common/extensions/docs/manifestVersion.html
+++ b/chrome/common/extensions/docs/extensions/manifestVersion.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/extensions/match_patterns.html
index b6bec72..9642eed 100644
--- a/chrome/common/extensions/docs/match_patterns.html
+++ b/chrome/common/extensions/docs/extensions/match_patterns.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/extensions/messaging.html
index c335b44..71eadb5 100644
--- a/chrome/common/extensions/docs/messaging.html
+++ b/chrome/common/extensions/docs/extensions/messaging.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/notifications.html b/chrome/common/extensions/docs/extensions/notifications.html
index ae596ed..b910eb7 100644
--- a/chrome/common/extensions/docs/notifications.html
+++ b/chrome/common/extensions/docs/extensions/notifications.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/npapi.html b/chrome/common/extensions/docs/extensions/npapi.html
index 65a0510..ec55f1d 100644
--- a/chrome/common/extensions/docs/npapi.html
+++ b/chrome/common/extensions/docs/extensions/npapi.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/omnibox.html b/chrome/common/extensions/docs/extensions/omnibox.html
index 895b687..79da741 100644
--- a/chrome/common/extensions/docs/omnibox.html
+++ b/chrome/common/extensions/docs/extensions/omnibox.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/options.html b/chrome/common/extensions/docs/extensions/options.html
index da12128..20d698d 100644
--- a/chrome/common/extensions/docs/options.html
+++ b/chrome/common/extensions/docs/extensions/options.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/override.html b/chrome/common/extensions/docs/extensions/override.html
index 59e8dda..ebf4fd6 100644
--- a/chrome/common/extensions/docs/override.html
+++ b/chrome/common/extensions/docs/extensions/override.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/extensions/overview.html
index f4b64f3..58af869 100644
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/extensions/overview.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/extensions/packaging.html
index cfbced9..d50b876 100644
--- a/chrome/common/extensions/docs/packaging.html
+++ b/chrome/common/extensions/docs/extensions/packaging.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/extensions/pageAction.html
index 6f2378b..717ff51 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/extensions/pageAction.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/pageCapture.html b/chrome/common/extensions/docs/extensions/pageCapture.html
index f9d7858..04175da 100644
--- a/chrome/common/extensions/docs/pageCapture.html
+++ b/chrome/common/extensions/docs/extensions/pageCapture.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/permission_warnings.html b/chrome/common/extensions/docs/extensions/permission_warnings.html
index 0d44052..c6d0bc7 100644
--- a/chrome/common/extensions/docs/permission_warnings.html
+++ b/chrome/common/extensions/docs/extensions/permission_warnings.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/permissions.html b/chrome/common/extensions/docs/extensions/permissions.html
index 88db8b1..83b4bfc 100644
--- a/chrome/common/extensions/docs/permissions.html
+++ b/chrome/common/extensions/docs/extensions/permissions.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/privacy.html b/chrome/common/extensions/docs/extensions/privacy.html
index c4adb018..e88e638 100644
--- a/chrome/common/extensions/docs/privacy.html
+++ b/chrome/common/extensions/docs/extensions/privacy.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/proxy.html b/chrome/common/extensions/docs/extensions/proxy.html
index ee2cb4c5..7a0fbce 100644
--- a/chrome/common/extensions/docs/proxy.html
+++ b/chrome/common/extensions/docs/extensions/proxy.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/runtime.html b/chrome/common/extensions/docs/extensions/runtime.html
index 20e69f7..4040388 100644
--- a/chrome/common/extensions/docs/runtime.html
+++ b/chrome/common/extensions/docs/extensions/runtime.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/samples.html b/chrome/common/extensions/docs/extensions/samples.html
index 1f28ec7..51052d31 100644
--- a/chrome/common/extensions/docs/samples.html
+++ b/chrome/common/extensions/docs/extensions/samples.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/storage.html b/chrome/common/extensions/docs/extensions/storage.html
index 5342be9..13da085 100644
--- a/chrome/common/extensions/docs/storage.html
+++ b/chrome/common/extensions/docs/extensions/storage.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/extensions/tabs.html
index 7c9075f..fd94afb 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/extensions/tabs.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/test.html b/chrome/common/extensions/docs/extensions/test.html
index 5b49843..1bf53e0 100644
--- a/chrome/common/extensions/docs/test.html
+++ b/chrome/common/extensions/docs/extensions/test.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/themes.html b/chrome/common/extensions/docs/extensions/themes.html
index febae1c..d8707b3a 100644
--- a/chrome/common/extensions/docs/themes.html
+++ b/chrome/common/extensions/docs/extensions/themes.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/topSites.html b/chrome/common/extensions/docs/extensions/topSites.html
index c64f922..e31df82 100644
--- a/chrome/common/extensions/docs/topSites.html
+++ b/chrome/common/extensions/docs/extensions/topSites.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tts.html b/chrome/common/extensions/docs/extensions/tts.html
index 2059393..f289454 100644
--- a/chrome/common/extensions/docs/tts.html
+++ b/chrome/common/extensions/docs/extensions/tts.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/ttsEngine.html b/chrome/common/extensions/docs/extensions/ttsEngine.html
index d438589..b52cb50 100644
--- a/chrome/common/extensions/docs/ttsEngine.html
+++ b/chrome/common/extensions/docs/extensions/ttsEngine.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tut_analytics.html b/chrome/common/extensions/docs/extensions/tut_analytics.html
index 17bb5c5..f575c08 100644
--- a/chrome/common/extensions/docs/tut_analytics.html
+++ b/chrome/common/extensions/docs/extensions/tut_analytics.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tut_debugging.html b/chrome/common/extensions/docs/extensions/tut_debugging.html
index 78b168f1..1cbf25d 100644
--- a/chrome/common/extensions/docs/tut_debugging.html
+++ b/chrome/common/extensions/docs/extensions/tut_debugging.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tut_oauth.html b/chrome/common/extensions/docs/extensions/tut_oauth.html
index a603a68..93b721b 100644
--- a/chrome/common/extensions/docs/tut_oauth.html
+++ b/chrome/common/extensions/docs/extensions/tut_oauth.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/tutorials.html b/chrome/common/extensions/docs/extensions/tutorials.html
index 5314b17..cd48ca4 100644
--- a/chrome/common/extensions/docs/tutorials.html
+++ b/chrome/common/extensions/docs/extensions/tutorials.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/types.html b/chrome/common/extensions/docs/extensions/types.html
index 400631c..4d0b0bf 100644
--- a/chrome/common/extensions/docs/types.html
+++ b/chrome/common/extensions/docs/extensions/types.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/webNavigation.html b/chrome/common/extensions/docs/extensions/webNavigation.html
index 12573bf..8f6e902 100644
--- a/chrome/common/extensions/docs/webNavigation.html
+++ b/chrome/common/extensions/docs/extensions/webNavigation.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/webRequest.html b/chrome/common/extensions/docs/extensions/webRequest.html
index 1d56bc5..a9842fa 100644
--- a/chrome/common/extensions/docs/webRequest.html
+++ b/chrome/common/extensions/docs/extensions/webRequest.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/webstore.html b/chrome/common/extensions/docs/extensions/webstore.html
index 51d08f4..7d8ca52 100644
--- a/chrome/common/extensions/docs/webstore.html
+++ b/chrome/common/extensions/docs/extensions/webstore.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/whats_new.html b/chrome/common/extensions/docs/extensions/whats_new.html
index 5ffab9d..d55a189 100644
--- a/chrome/common/extensions/docs/whats_new.html
+++ b/chrome/common/extensions/docs/extensions/whats_new.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/extensions/windows.html
index 81b1b16..93e328c 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/extensions/windows.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/extensions/xhr.html
index c562d80..247c15e 100644
--- a/chrome/common/extensions/docs/xhr.html
+++ b/chrome/common/extensions/docs/extensions/xhr.html
@@ -8,6 +8,7 @@
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <base href=../>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 9d42222..b4079d84 100644
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -18,7 +18,8 @@
*
*/
-var API_TEMPLATE = 'template/api_template.html';
+var API_TEMPLATE_EXTENSIONS = 'template/api_template.html';
+var API_TEMPLATE_APPS = 'template/api_template_apps.html';
var MODULE_SCHEMAS = [
'../api/alarms.json', // autogenerated
'../api/bookmarks.json',
@@ -159,8 +160,17 @@ function renderPage() {
pageName = pageBase.replace(/([A-Z])/g, ' $1');
pageName = pageName.substring(0, 1).toUpperCase() + pageName.substring(1);
+ // TODO(aa): Ugh, this is horrible. FIXME.
+ var docFamily = location.pathname.split("/");
+ docFamily = docFamily[docFamily.length - 2];
+ if (docFamily != "extensions" && docFamily != "apps")
+ docFamily = "";
+
+ var apiTemplate = docFamily == "extensions" ?
+ API_TEMPLATE_EXTENSIONS : API_TEMPLATE_APPS;
+
// Fetch the api template and insert into the <body>.
- fetchContent(API_TEMPLATE, function(templateContent) {
+ fetchContent(apiTemplate, function(templateContent) {
document.getElementsByTagName('body')[0].innerHTML = templateContent;
fetchStatic();
}, function(error) {
diff --git a/chrome/common/extensions/docs/template/api_template_apps.html b/chrome/common/extensions/docs/template/api_template_apps.html
new file mode 100644
index 0000000..4174a05
--- /dev/null
+++ b/chrome/common/extensions/docs/template/api_template_apps.html
@@ -0,0 +1,606 @@
+ <div id="devModeWarning" class="displayModeWarning">
+ 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.
+ </div>
+ <div id="branchWarning" class="displayModeWarning">
+ <span>WARNING: This is the <span id="branchName">BETA</span> documentation.
+ It may not work with the stable release of Chrome.</span>
+ <select id='branchChooser'>
+ <option>Choose a different version...
+ <option value="">Stable
+ <option value="beta">Beta
+ <option value="dev">Dev
+ <option value="trunk">Trunk
+ </select>
+ </div>
+ <div id="unofficialWarning" class="displayModeWarning">
+ <span>WARNING: This is unofficial documentation. It may not work with the
+ current release of Chrome.</span>
+ <button id="goToOfficialDocs">Go to the official docs</button>
+ </div>
+ <div id="gc-container" class="labs">
+ <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
+ <!-- In particular, sub-templates that recurse, must be used by allowing
+ jstemplate to make a copy of the template in this section which
+ are not operated on by way of the jsskip="true" -->
+ <div jsskip="true" style="display:none">
+
+ <!-- VALUE -->
+ <div id="valueTemplate">
+ <dt>
+ <var jsdisplay="$this.name" jscontent="$this.name">paramName</var>
+ <em>
+
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional" jsdisplay="optional">optional</span>
+ <span class="enum" jsdisplay="$this.enum">enumerated</span>
+ <span id="typeTemplate">
+ <code jsdisplay="hasPrimitiveValue($this)" jscontent="getPrimitiveValue($this)">value</code>
+ <span jsdisplay="!hasPrimitiveValue($this) && getTypeRef($this)">
+ <a jsvalues=".href: getTypeRefPage($this) + '#type-' + getTypeRef($this)"
+ jscontent="getTypeRef($this)"> Type</a>
+ </span>
+ <span jsdisplay="!hasPrimitiveValue($this) && !getTypeRef($this)">
+ <span jsdisplay="isArray($this)">
+ array of <span jsselect="items"><span transclude="typeTemplate"></span></span>
+ </span>
+ <span jsdisplay="!isArray($this)" jscontent="getTypeName($this)">paramType</span>
+ <span jsdisplay="!isArray($this) && $this.enum" jscontent="getEnumValues($this.enum, type);"></span>
+ </span>
+ </span>
+ )
+ </div>
+
+ </em>
+ </dt>
+ <dd class="todo" jsdisplay="!$this.description">
+ Undocumented.
+ </dd>
+ <dd jsdisplay="$this.description"
+ jsvalues=".innerHTML:substituteTypeRefs($this.description)">
+ Description of this parameter from the json schema.
+ </dd>
+ <dd jsdisplay="$this.min_version">
+ This parameter was added in version
+ <b><span jscontent="$this.min_version"></span></b>.
+ You must omit this parameter in earlier versions,
+ and you may omit it in any version. If you require this
+ parameter, the manifest key
+ <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
+ can ensure that your extension won't be run in an earlier browser version.
+ </dd>
+
+ <!-- OBJECT PROPERTIES -->
+ <dd jsdisplay="shouldExpandObject($this)">
+ <dl>
+ <div jsselect="getPropertyListFromObject($this)">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+ </dd>
+
+ <!-- OBJECT METHODS -->
+ <dd jsdisplay="$this.type === 'object' &&
+ filterDocumented($this.functions).length > 0"
+ jsvalues="$scope:id">
+ <div transclude="methodsTemplate"></div>
+ </dd>
+
+ <!-- OBJECT EVENT FIELDS -->
+ <dd jsdisplay="$this.type === 'object' &&
+ filterDocumented($this.events).length > 0"
+ jsvalues="$scope:id">
+ <div transclude="eventsTemplate"></div>
+ </dd>
+
+ <!-- FUNCTION PARAMETERS -->
+ <dd jsdisplay="isFunction($this) && $this.parameters &&
+ $this.name != 'callback'">
+ <div transclude="functionParametersTemplate"></div>
+ </dd>
+
+ </div> <!-- /VALUE -->
+
+ <div id="conditionAndActionTemplate">
+ <dt>
+ <a jsvalues=".href: typeModule[$this].namespace + '.html#type-' + $this"
+ jscontent="$this">condition name</a>
+ </dt>
+ <dd class="todo" jsdisplay="!typeModule[$this].description">
+ Undocumented.
+ </dd>
+ <dd jsdisplay="getDescription($this)"
+ jsvalues=".innerHTML:substituteTypeRefs(getDescription($this))">
+ Description of this parameter from the json schema.
+ </dd>
+ </div>
+
+ <div id="functionParametersTemplate" jsdisplay="$this.parameters.length > 0">
+ <h5>Parameters</h5>
+ <dl>
+ <div jsselect="$this.parameters">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+ </div>
+
+ <!-- Individual subsections from the table of contents -->
+ <ol>
+ <li id="propertiesTocTemplate" jsdisplay="$this.properties">
+ <a href="#properties">Properties</a>
+ <ol>
+ <li jsselect="getPropertyListFromObject($this)">
+ <a jscontent="name"
+ jsvalues=".href:'#property-' + name"
+ href="#property-anchor">propertyName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="methodsTocTemplate" jsdisplay="filterDocumented(functions).length > 0">
+ <a jsvalues=".href:'#' + getAnchorName('global', 'methods', $type)">Methods</a>
+ <ol>
+ <li jsselect="filterDocumented(functions).sort(sortByName)">
+ <a jscontent="name"
+ jsvalues=".href:'#' + getAnchorName('method', name, $type)"
+ href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="eventsTocTemplate" jsdisplay="filterDocumented(events).length > 0">
+ <a jsvalues=".href:'#' + getAnchorName('global', 'events', $type)">Events</a>
+ <ol>
+ <li jsselect="filterDocumented(events).sort(sortByName)">
+ <a jscontent="name"
+ jsvalues=".href:'#' + getAnchorName('event', name, $type)"
+ href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="typesTocTemplate" jsdisplay="filterDocumented(types).length > 0">
+ <a href="#types">Types</a>
+ <ol>
+ <li jsselect="filterDocumented(types).sort(sortByName)">
+ <a jscontent="id"
+ jsvalues=".href:'#type-' + id"
+ href="#id-anchor">id</a>
+ <ol jsvalues="$type:id">
+ <div transclude="methodsTocTemplate"></div>
+ <div transclude="eventsTocTemplate"></div>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
+ </div> <!-- /SUBTEMPLATES -->
+
+ <a id="top"></a>
+ <div id="skipto">
+ <a href="#gc-pagecontent">Skip to page content</a>
+ <a href="#gc-toc">Skip to main navigation</a>
+ </div>
+ <!-- API HEADER -->
+ <table id="header" width="100%" cellspacing="0" border="0">
+ <tr>
+ <td valign="middle"
+ ><a href="http://code.google.com/"><img src="images/chrome_logo.gif" alt="Google Code"
+ style="border:0; margin:0;"
+ ></a></td>
+ <td valign="middle" width="100%" style="padding-left:0.6em;">
+ <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
+ <div id="gsc-search-box">
+ <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" />
+ <input type="hidden" name="ie" value="UTF-8" />
+ <input id="gsc-search-input" type="text" name="q" value="" size="55" />
+ <button class="gsc-search-button" type="submit" name="sa">
+ <img class="gsc-search-button-lens" src="images/search.png" alt="Search">
+ </button>
+ <br>
+ <span class="greytext">e.g. "page action" or "tabs"</span>
+ </div>
+ </form>
+
+ <script type="text/javascript" src="https://www.google.com/jsapi"></script>
+ <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
+ <script type="text/javascript" src="https://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script>
+ <script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
+ </td>
+ </tr>
+ </table>
+
+ <div id="codesiteContent" jsvalues=".className: showSideNav() ? '' : 'hideSideNav'">
+
+ <a id="gc-topnav-anchor"></a>
+ <div id="gc-topnav">
+ <h1>Packaged Apps</h1>
+ <ul id="home" class="gc-topnav-tabs">
+ <li id="home_link">
+ <a href="app_landing.html" title="Packaged Apps home page">Home</a>
+ </li>
+ <li id="docs_link">
+ <a href="about_apps.html" title="Official Packaged apps documentation">Docs</a>
+ </li>
+ <li id="samples_link">
+ <a href="app_samples.html" title="Sample apps (with source code)">Samples</a>
+ </li>
+ <li id="group_link">
+ <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a>
+ </li>
+ <li id="so_link">
+ <a href="http://stackoverflow.com/questions/tagged/google-chrome-extension" title="[google-chrome-extension] tag on Stack Overflow">Questions?</a>
+ </li>
+ </ul>
+ </div> <!-- end gc-topnav -->
+
+ <div class="g-section g-tpl-170">
+ <!-- SIDENAV -->
+ <div class="g-unit g-first" id="gc-toc" jsdisplay="showSideNav()">
+ <ul>
+ <li><h2>Getting Started</h2>
+ <ul>
+ <li><a href="about_apps.html">What Are Packaged Apps?</a></li>
+ <li><a href="app_architecture.html">Understand the Architecture</a></li>
+ <li><a href="first_app.html">Create Your First App</a></li>
+ </ul>
+ </li>
+ <li><h2>Developing</h2>
+ <ul>
+ <li><a href="develop_apps.html">Before You Start</a></li>
+ <li>The Fundamentals
+ <ul>
+ <li><a href="app_lifecycle.html">Manage App Lifecycle</a></li>
+ <li><a href="app_storage.html">Manage Data</a></li>
+ <li><a href="offline_apps.html">Offline First</a></li>
+ <li><a href="app_external.html">Embed Content</a></li>
+ </ul>
+ </li>
+ <li>Security &amp; Privacy
+ <ul>
+ <li><a href="app_security.html">About Security &amp; Privacy</a></li>
+ <li><a href="app_identity.html">Identify User</a></li>
+ <li><a href="app_permissions.html">Manage User Permissions</a></li>
+ <li><a href="app_csp">Comply with CSP</a></li>
+ </ul>
+ </li>
+ <li>Advanced Technologies
+ <ul>
+ <li><a href="app_network.html">Communicate across Network</a></li>
+ <li><a href="app_hardware.html">Access Hardware Devices</a></li>
+ <li><a href="app_intents.html">Connect Apps with Web Intents</a></li>
+ </ul>
+ </li>
+ <li><a href="app_frameworks.html">Recommended Frameworks</a></li>
+ </ul>
+ </li>
+ <li><h2>Deploying</h2>
+ <ul>
+ <li><a href="publish_app.html">Publish</a></li>
+ <li><a href="sell_app.html">Sell</a></li>
+ </ul>
+ </li>
+ <li><h2>Reference</h2>
+ <ul>
+ <li><a href="manifest.html">Manifest Files</a></li>
+ <li><a href="api_index.html">Chrome JavaScript APIs</a></li>
+ <li><a href="experimental.html">Experimental APIs</a></li>
+ <li><a href="api_other.html">Supported Libraries</a></li>
+ <li><a href="app_deprecated.html">Disabled Web Features</a></li>
+ </ul>
+ </li>
+ <li><h2><a href="app_samples.html">Samples</a></h2></li>
+ </ul>
+ </div>
+ <script>
+ initToggles();
+ </script>
+
+ <div class="g-unit" id="gc-pagecontent">
+ <div id="pageTitle">
+ <h1 class="page_title" jscontent="getPageName()">chrome.apiname</h1>
+ </div>
+ <!-- TABLE OF CONTENTS -->
+ <div id="toc" jsdisplay="showPageTOC()">
+ <h2>Contents</h2>
+ <ol>
+ <li jsselect="getStaticTOC()">
+ <a jscontent="name"
+ jsvalues=".href:'#' + href">h2Name</a>
+ <ol>
+ <li jsselect="$this.children">
+ <a jscontent="name"
+ jsvalues=".href:'#' + href">h3Name</a>
+ </li>
+ </ol>
+ </li>
+ <li jsselect="apiDefinition" jsvalues="$type:''">
+ <a href="#apiReference" jscontent="'API reference: ' + getModuleName()">API reference</a>
+ <ol>
+ <div transclude="propertiesTocTemplate"></div>
+ <div transclude="methodsTocTemplate"></div>
+ <div transclude="eventsTocTemplate"></div>
+ <div transclude="typesTocTemplate"></div>
+ </ol>
+ </li>
+ </ol>
+ </div>
+ <!-- /TABLE OF CONTENTS -->
+
+ <!-- Standard content lead-in for experimental API pages -->
+ <p jsdisplay="isExperimentalAPIPage();" id="classSummary">
+ For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page.
+ </p>
+
+ <p jsdisplay="!isPermittedOnChannel('stable');" class="warning">
+ <!-- Standard content lead-in for APIs that are not yet available on
+ the stable channel. -->
+ <em>Warning:</em> This API is still under development. It is only
+ available for Chrome users on the
+ <span jsdisplay="isPermittedOnChannel('beta');">
+ <strong>dev</strong> and <strong>beta</strong>
+ <a href="http://www.chromium.org/getting-involved/dev-channel">early
+ release channels</a>.</span>
+ <span jsdisplay="!isPermittedOnChannel('beta');">
+ <strong>dev</strong>
+ <a href="http://www.chromium.org/getting-involved/dev-channel">early
+ release channel</a>.</span>
+ <a href="TODO">Learn more</a>.
+ </p>
+
+ <!-- STATIC CONTENT PLACEHOLDER -->
+ <div id="static"></div>
+
+ <!-- API PAGE -->
+ <div class="apiPage" jsselect="apiDefinition" jsvalues="$scope:''">
+ <a name="apiReference"></a>
+ <h2 jscontent="'API reference: ' + getModuleName()">API reference: chrome.apiname </h2>
+
+ <!-- PROPERTIES -->
+ <div jsdisplay="$this.properties" class="apiGroup">
+ <a name="properties"></a>
+ <h3 id="properties">Properties</h3>
+
+ <div jsselect="getPropertyListFromObject($this)">
+ <a jsvalues=".name:'property-' + name"></a>
+ <h4 jscontent="name">getLastError</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span jscontent="getModuleName() + '.'">chrome.extension</span><span jscontent="$this.name">lastError</span>
+ </div>
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+
+ </div> <!-- /apiGroup -->
+
+ <!-- METHODS -->
+ <div id="methodsTemplate" class="apiGroup"
+ jsdisplay="filterDocumented($this.functions).length > 0">
+ <a jsvalues=".name:getAnchorName('global', 'methods', $scope)"></a>
+ <h3 jscontent="$scope ? 'Methods of ' + $scope : 'Methods'">Methods</h3>
+
+ <!-- iterates over all functions -->
+ <div class="apiItem" jsselect="filterDocumented(functions).sort(sortByName)">
+ <a jsvalues=".name:getAnchorName('method', name, $scope)"></a> <!-- method-anchor -->
+ <h4 jscontent="name">method name</h4>
+
+ <div class="summary"><span jsdisplay="returns" jscontent="getTypeName(returns)">void</span>
+ <!-- Note: intentionally longer 80 columns -->
+ <span jscontent="getFullyQualifiedFunctionName($scope, $this)">chrome.module.methodName</span>(<span jsselect="filterDocumented(parameters)" jsvalues="class:optional ? 'optional' : ''"><span jsdisplay="$index">, </span><span jscontent="getTypeName($this)"></span>
+ <var><span jscontent="$this.name"></span></var></span>)</div>
+
+ <div class="description">
+ <p class="todo" jsdisplay="!description">Undocumented.</p>
+ <p jsdisplay="description" jsvalues=".innerHTML:description">
+ A description from the json schema def of the function goes here.
+ </p>
+
+ <!-- PARAMETERS -->
+ <h4 jsdisplay="$this.parameters && filterDocumented($this.parameters).length > 0">Parameters</h4>
+ <dl>
+ <div jsselect="filterDocumented(parameters)">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+
+ <!-- RETURNS -->
+ <h4 jsdisplay="returns">Returns</h4>
+ <dl>
+ <div jsselect="returns">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+
+ <!-- CALLBACK -->
+ <div jsdisplay="hasCallback(parameters)">
+ <div jsselect="getCallbackParameters(parameters)">
+ <h4>Callback function</h4>
+ <p jsdisplay="!$this.optional">
+ The callback <em>parameter</em> should specify a function
+ that looks like this:
+ </p>
+ <p jsdisplay="$this.optional">
+ If you specify the <em>callback</em> parameter, it should
+ specify a function that looks like this:
+ </p>
+
+ <!-- Note: intentionally longer 80 columns -->
+ <pre>function(<span jscontent="getSignatureString(parameters)">Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
+ <dl>
+ <div jsselect="parameters">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+ </div>
+ </div>
+
+ <!-- MIN_VERSION -->
+ <p jsdisplay="min_version" >
+ This function was added in version <b><span jscontent="$this.min_version"></span></b>.
+ If you require this function, the manifest key
+ <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
+ can ensure that your extension won't be run in an earlier browser version.
+ </p>
+ </div> <!-- /description -->
+
+ </div> <!-- /apiItem -->
+
+ </div> <!-- /apiGroup -->
+
+ <!-- EVENTS -->
+ <div id="eventsTemplate" class="apiGroup"
+ jsdisplay="filterDocumented($this.events).length > 0">
+ <a jsvalues=".name:getAnchorName('global', 'events', $scope)"></a>
+ <h3 jscontent="$scope ? 'Events of ' + $scope : 'Events'">Events</h3>
+ <!-- iterates over all events -->
+ <div class="apiItem" jsselect="filterDocumented($this.events).sort(sortByName)">
+ <a jsvalues=".name:getAnchorName('event', name, $scope)"></a>
+ <h4 jscontent="name">event name</h4>
+
+ <div class="summary" jsdisplay="!($this.options && $this.options.supportsListeners === false)">
+ <!-- Note: intentionally longer 80 columns -->
+ <span jscontent="(getObjectName($scope) || getModuleName()) + '.'" class="subdued">chrome.bookmarks</span><span jscontent="name">onEvent</span><span class="subdued">.addListener</span>(function(<span jscontent="getSignatureString($this.parameters)">Type param1, Type param2</span>) <span class="subdued">{...}</span><span jscontent="getOptionalSignatureSubstring($this.extraParameters)">, Type opt_param1, Type opt_param2</span>);
+ </div>
+
+ <div class="description" jsdisplay="!($this.options && $this.options.supportsListeners === false)">
+ <p class="todo" jsdisplay="!description">Undocumented.</p>
+ <p jsdisplay="description" jsvalues=".innerHTML:description">
+ A description from the json schema def of the event goes here.
+ </p>
+
+ <!-- LISTENER PARAMETERS -->
+ <div jsdisplay="parameters && parameters.length > 0">
+ <h4>Listener parameters</h4>
+ <dl>
+ <div jsselect="parameters">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+ </div>
+
+ <!-- EXTRA PARAMETERS -->
+ <div jsdisplay="extraParameters && extraParameters.length > 0">
+ <h4>Extra parameters to addListener</h4>
+ <dl>
+ <div jsselect="extraParameters">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+ </div>
+
+ <!-- LISTENER RETURN VALUE -->
+ <h4 jsdisplay="returns">Listener returns</h4>
+ <dl>
+ <div jsselect="returns">
+ <div transclude="valueTemplate">
+ </div>
+ </div>
+ </dl>
+
+ </div> <!-- /description -->
+
+ <div class="summary" jsdisplay="$this.options && $this.options.supportsRules === true">
+ <span jscontent="(getObjectName($scope) || getModuleName()) + '.'" class="subdued">chrome.bookmarks</span><span jscontent="name">onEvent</span><span class="subdued">.addRules</span>(...);
+ </div>
+
+ <div class="description" jsdisplay="$this.options && $this.options.supportsRules === true">
+ <p class="todo" jsdisplay="!description">Undocumented.</p>
+ <p jsdisplay="description" jsvalues=".innerHTML:description">
+ A description from the json schema def of the event goes here.
+ </p>
+
+ <p>See <a href="declarative.html#method-addRules"><code>chrome.declarative.addRules()</code></a>.
+ </p>
+
+ <!-- CONDITIONS -->
+ <div jsdisplay="options && options.conditions && options.conditions.length > 0">
+ <h4>Supported conditions</h4>
+ <dl>
+ <div jsselect="options.conditions">
+ <div transclude="conditionAndActionTemplate">
+ </div>
+ </div>
+ </dl>
+ </div> <!-- /conditions -->
+
+ <!-- ACTIONS -->
+ <div jsdisplay="options && options.actions && options.actions.length > 0">
+ <h4>Supported actions</h4>
+ <dl>
+ <div jsselect="options.actions">
+ <div transclude="conditionAndActionTemplate">
+ </div>
+ </div>
+ </dl>
+ </div> <!-- /actions -->
+ </div> <!-- /description -->
+
+ </div> <!-- /apiItem -->
+
+ </div> <!-- /apiGroup -->
+
+ <!-- TYPES -->
+ <div jsdisplay="filterDocumented(types).length > 0" class="apiGroup">
+ <a name="types"></a>
+ <h3 id="types">Types</h3>
+
+ <!-- iterates over all types -->
+ <div jsselect="filterDocumented(types).sort(sortByName)" class="apiItem">
+ <a jsvalues=".name:'type-' + id"></a>
+ <h4 jscontent="id">type name</h4>
+
+ <div transclude="valueTemplate">
+ </div>
+
+ </div> <!-- /apiItem -->
+
+ </div> <!-- /apiGroup -->
+
+ </div> <!-- /apiPage -->
+ </div> <!-- /gc-pagecontent -->
+ </div> <!-- /g-section -->
+ </div> <!-- /codesiteContent -->
+ <div id="gc-footer" -->
+ <div class="text">
+ <p>
+ Except as otherwise <a
+ href="http://code.google.com/policies.html#restrictions">noted</a>,
+ the content of this page is licensed under the <a rel="license"
+ href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
+ Attribution 3.0 License</a>, and code samples are licensed under the
+ <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
+ </p>
+ <p>
+ &copy;2011 Google
+ </p>
+
+<!-- begin analytics -->
+<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script src="https://www.google-analytics.com/ga.js" type="text/javascript"></script>
+
+<script type="text/javascript">
+ // chrome doc tracking
+ try {
+ var engdocs = _gat._getTracker("YT-10763712-2");
+ engdocs._trackPageview();
+ } catch(err) {}
+
+ // code.google.com site-wide tracking
+ try {
+ _uacct="UA-18071-1";
+ _uanchor=1;
+ _uff=0;
+ urchinTracker();
+ }
+ catch(e) {/* urchinTracker not available. */}
+</script>
+<!-- end analytics -->
+ </div>
+ </div> <!-- /gc-footer -->
+ </div> <!-- /gc-container -->
diff --git a/chrome/common/extensions/docs/template/page_shell.html b/chrome/common/extensions/docs/template/page_shell.html
index 2aaf387..616f855 100644
--- a/chrome/common/extensions/docs/template/page_shell.html
+++ b/chrome/common/extensions/docs/template/page_shell.html
@@ -11,6 +11,7 @@
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
+ <base href="../">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">