summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/experimental.privacy.html
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 18:32:02 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 18:32:02 +0000
commit96b1dec333be9ee3cac55e97addee8332eed93de (patch)
treefc31d2d6d3fa3d6443f9fb311d5ee91531c20986 /chrome/common/extensions/docs/experimental.privacy.html
parent26d4accf41d14c363842af2422688246b07aba23 (diff)
downloadchromium_src-96b1dec333be9ee3cac55e97addee8332eed93de.zip
chromium_src-96b1dec333be9ee3cac55e97addee8332eed93de.tar.gz
chromium_src-96b1dec333be9ee3cac55e97addee8332eed93de.tar.bz2
Add a warning when viewing unofficial or non-stable docs.
Here is what it looks like: http://imgur.com/wT1N3,SeZMs#0 http://imgur.com/wT1N3,SeZMs#1 BUG=110992 Review URL: https://chromiumcodereview.appspot.com/9212050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/experimental.privacy.html')
-rw-r--r--chrome/common/extensions/docs/experimental.privacy.html24
1 files changed, 20 insertions, 4 deletions
diff --git a/chrome/common/extensions/docs/experimental.privacy.html b/chrome/common/extensions/docs/experimental.privacy.html
index 2301df8..3e99b20 100644
--- a/chrome/common/extensions/docs/experimental.privacy.html
+++ b/chrome/common/extensions/docs/experimental.privacy.html
@@ -17,10 +17,26 @@
<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.experimental.privacy module, which is part of the Google Chrome extension APIs."><title>chrome.experimental.privacy - Google Chrome Extensions - Google Code</title></head>
- <body> <div id="gc-container" class="labs">
- <div id="devModeWarning">
- You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
- </div>
+ <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