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

Unified Diff: chrome/common/extensions/docs/static/apps_api_index.html

Issue 10657018: Implement the API index doc for platform apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: f Created 8 years, 6 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/static/apps_api_index.html
diff --git a/chrome/common/extensions/docs/static/apps_api_index.html b/chrome/common/extensions/docs/static/apps_api_index.html
new file mode 100644
index 0000000000000000000000000000000000000000..a3cf6066a2fb3b89dc4968cecc03705d7085eb7f
--- /dev/null
+++ b/chrome/common/extensions/docs/static/apps_api_index.html
@@ -0,0 +1,36 @@
+<div id="pageData-name" class="pageData">chrome.* APIs</div>
+<div id="pageData-showTOC" class="pageData">true</div>
+
+<h2 id="supported">Supported APIs</h2>
+
+<p>
+Packaged apps can call some of the stable APIs from the extension system.
+</p>
+
+<ul>
+ <li jsselect="listChromeAPIs('platform_app', false);"><a jsvalues=".href: $this + '.html'" jscontent="$this" href="bookmarks.html" js>bookmarks</a>
+ </li>
+</ul>
+
+<h2 id="experimental">Experimental APIs</h2>
+
+<p>
+Packaged apps can also use any experimental extension API.
+</p>
+
+<ul>
+ <li jsselect="listChromeAPIs('platform_app', true);"><a jsvalues=".href: $this + '.html'" jscontent="$this" href="bookmarks.html" js>bookmarks</a>
+ </li>
+</ul>
+
+<h2 id="conventions">API conventions</h2>
+
+<p>
+Unless the doc says otherwise,
+methods in the chrome.* APIs are <b>asynchronous</b>:
+they return immediately,
+without waiting for the operation to finish.
+If you need to know the outcome of an operation,
+then you pass a callback function into the method.
+For more information, watch this video:
+</p>
« no previous file with comments | « chrome/common/extensions/docs/static/api_index.html ('k') | chrome/common/extensions/docs/static/experimental.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698