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

Unified Diff: chrome/common/extensions/docs/apps/app.runtime.html

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another merge before retrying commit. Created 8 years, 4 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/apps/app.runtime.html
diff --git a/chrome/common/extensions/docs/apps/experimental.app.html b/chrome/common/extensions/docs/apps/app.runtime.html
similarity index 93%
rename from chrome/common/extensions/docs/apps/experimental.app.html
rename to chrome/common/extensions/docs/apps/app.runtime.html
index 26bb78386adf335fd8e0722885d02bbcf2a5d0d1..c3efe8d857285e65ae328e22520296014c6a1dfd 100644
--- a/chrome/common/extensions/docs/apps/experimental.app.html
+++ b/chrome/common/extensions/docs/apps/app.runtime.html
@@ -17,7 +17,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>
- <meta name="description" content="Documentation for the chrome.experimental.app module, which is part of the Google Chrome extension APIs."><title>Experimental App APIs - Google Chrome Extensions - Google Code</title></head>
+ <meta name="description" content="Documentation for the chrome.app.runtime module, which is part of the Google Chrome extension APIs."><title>chrome.app.runtime - Google Chrome Extensions - Google Code</title></head>
<body doc-family="apps"> <link href="../css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="../css/prettify.css" rel="stylesheet" type="text/css">
<link href="../css/shared.css" rel="stylesheet" type="text/css">
@@ -157,14 +157,14 @@
</script>
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">Experimental App APIs</h1>
+ <h1 class="page_title">chrome.app.runtime</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
<h2>Contents</h2>
<ol>
<li>
- <a href="#apiReference">API reference: chrome.experimental.app</a>
+ <a href="#apiReference">API reference: chrome.app.runtime</a>
<ol>
<li>
<a href="#global-events">Events</a>
@@ -181,15 +181,11 @@
<!-- /TABLE OF CONTENTS -->
<!-- Standard content lead-in for experimental API pages -->
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><div id="pageData-name" class="pageData">Experimental App APIs</div>
-<!-- BEGIN AUTHORED CONTENT -->
-<p>The current methods allow applications to generate passive notifications.</p>
-<!-- END AUTHORED CONTENT -->
-</div>
+ <div id="static"></div>
<!-- API PAGE -->
<div class="apiPage">
<a name="apiReference"></a>
- <h2>API reference: chrome.experimental.app</h2>
+ <h2>API reference: chrome.app.runtime</h2>
<!-- PROPERTIES -->
<!-- /apiGroup -->
<!-- METHODS -->
@@ -204,10 +200,9 @@
<h4>onLaunched</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">chrome.experimental.app.</span><span>onLaunched</span><span class="subdued">.addListener</span>(function(<span>object launchData</span>) <span class="subdued">{...}</span><span></span>);
+ <span class="subdued">chrome.app.runtime.</span><span>onLaunched</span><span class="subdued">.addListener</span>(function(<span>object launchData</span>) <span class="subdued">{...}</span><span></span>);
</div>
<div class="description">
- <p>Fired when the app is launched.</p>
<!-- LISTENER PARAMETERS -->
<div>
<h4>Listener parameters</h4>
@@ -230,7 +225,9 @@
</div>
</em>
</dt>
- <dd>Optional data for the launch.</dd>
+ <dd class="todo">
+ Undocumented.
+ </dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
@@ -251,7 +248,9 @@
</div>
</em>
</dt>
- <dd>A WebIntents intent object.</dd>
+ <dd class="todo">
+ Undocumented.
+ </dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
@@ -281,21 +280,21 @@
</div><div>
<div>
<dt>
- <var>type</var>
+ <var>data</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
<span>
- <span>string</span>
+ <span>any</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The MIME type of the data.</dd>
+ <dd>Data associated with the intent.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -304,25 +303,27 @@
</div><div>
<div>
<dt>
- <var>data</var>
+ <var>postFailure</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
<span>
- <span>any</span>
+ <span>function</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Data associated with the intent.</dd>
+ <dd>Callback to be compatible with WebIntents.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
+ <dd>
+ </dd>
</div>
</div><div>
<div>
@@ -341,30 +342,32 @@
</div>
</em>
</dt>
- <dd>Null callback to be compatible with WebIntents.</dd>
+ <dd>Callback to be compatible with WebIntents.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
+ <dd>
+ </dd>
</div>
</div><div>
<div>
<dt>
- <var>postFailure</var>
+ <var>type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
<span>
- <span>function</span>
+ <span>string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Null callback to be compatible with WebIntents.</dd>
+ <dd>The MIME type of the data.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
« no previous file with comments | « chrome/common/extensions/docs/apps/api_index.html ('k') | chrome/common/extensions/docs/apps/app_external.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698