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

Unified Diff: chrome/common/extensions/docs/experimental.contentSettings.html

Issue 8352042: Update contentSettings extension API docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/experimental.contentSettings.html
diff --git a/chrome/common/extensions/docs/experimental.cookies.html b/chrome/common/extensions/docs/experimental.contentSettings.html
similarity index 92%
copy from chrome/common/extensions/docs/experimental.cookies.html
copy to chrome/common/extensions/docs/experimental.contentSettings.html
index f2401e7e36b73d53a1912ad40e299ec5c5ff2e11..5f3e19b7b427fff808d229f7be0f22870ebabd9f 100644
--- a/chrome/common/extensions/docs/experimental.cookies.html
+++ b/chrome/common/extensions/docs/experimental.contentSettings.html
@@ -16,7 +16,7 @@
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
- <title>experimental.chrome.cookies - Google Chrome Extensions - Google Code</title></head>
+ <title>experimental.chrome.contentSettings - 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.
@@ -107,6 +107,46 @@
</div>
</dl>
</div>
+
+ <!-- Individual subsections from the table of contents -->
+ <ol>
+ <li id="propertiesTocTemplate">
+ <a href="#properties">Properties</a>
+ <ol>
+ <li>
+ <a href="#property-anchor">propertyName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="methodsTocTemplate">
+ <a>Methods</a>
+ <ol>
+ <li>
+ <a href="#method-anchor">methodName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="eventsTocTemplate">
+ <a>Events</a>
+ <ol>
+ <li>
+ <a href="#event-anchor">eventName</a>
+ </li>
+ </ol>
+ </li>
+ <li id="typesTocTemplate">
+ <a href="#types">Types</a>
+ <ol>
+ <li>
+ <a href="#id-anchor">id</a>
+ <ol>
+ <div></div>
+ <div></div>
+ </ol>
+ </li>
+ </ol>
+ </li>
+ </ol>
</div> <!-- /SUBTEMPLATES -->
<a id="top"></a>
@@ -251,7 +291,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">experimental.chrome.cookies</h1>
+ <h1 class="page_title">experimental.chrome.contentSettings</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
@@ -268,38 +308,10 @@
<li>
<a href="#apiReference">API reference</a>
<ol>
- <li>
- <a href="#properties">Properties</a>
- <ol>
- <li>
- <a href="#property-anchor">propertyName</a>
- </li>
- </ol>
- </li>
- <li>
- <a>Methods</a>
- <ol>
- <li>
- <a href="#method-anchor">methodName</a>
- </li>
- </ol>
- </li>
- <li>
- <a>Events</a>
- <ol>
- <li>
- <a href="#event-anchor">eventName</a>
- </li>
- </ol>
- </li>
- <li>
- <a href="#types">Types</a>
- <ol>
- <li>
- <a href="#id-anchor">id</a>
- </li>
- </ol>
- </li>
+ <div></div>
+ <div></div>
+ <div></div>
+ <div></div>
</ol>
</li>
</ol>
@@ -312,16 +324,16 @@
</p>
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><div id="pageData-name" class="pageData">experimental.chrome.cookies</div>
+ <div id="static"><div id="pageData-name" class="pageData">experimental.chrome.contentSettings</div>
<p>
-The <code>cookies</code> API is no longer experimental;
+The <code>contentSettings</code> API is no longer experimental;
it's supported!
You can read all about it at its new home:
</p>
<blockquote>
-<a href="cookies.html">chrome.cookies</a>
+<a href="contentSettings.html">chrome.contentSettings</a>
</blockquote>
</div>

Powered by Google App Engine
This is Rietveld 408576698