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

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

Issue 10828218: Add chrome.runtime.onStartup, which is fired on browser start. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm debug logs 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
« no previous file with comments | « chrome/common/extensions/docs/apps/runtime.html ('k') | chrome/common/extensions/docs/samples.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/extensions/runtime.html
diff --git a/chrome/common/extensions/docs/extensions/runtime.html b/chrome/common/extensions/docs/extensions/runtime.html
index 1990cea3d2cfca15df4129336f668f492a164920..29ef58e6ba53f17e205d95a9841dd8c484ba3061 100644
--- a/chrome/common/extensions/docs/extensions/runtime.html
+++ b/chrome/common/extensions/docs/extensions/runtime.html
@@ -225,6 +225,8 @@
<li>
<a href="#event-onInstalled">onInstalled</a>
</li><li>
+ <a href="#event-onStartup">onStartup</a>
+ </li><li>
<a href="#event-onSuspend">onSuspend</a>
</li><li>
<a href="#event-onSuspendCanceled">onSuspendCanceled</a>
@@ -567,6 +569,22 @@
</div> <!-- /description -->
<!-- /description -->
</div><div class="apiItem">
+ <a name="event-onStartup"></a>
+ <h4>onStartup</h4>
+ <div class="summary">
+ <!-- Note: intentionally longer 80 columns -->
+ <span class="subdued">chrome.runtime.</span><span>onStartup</span><span class="subdued">.addListener</span>(function(<span></span>) <span class="subdued">{...}</span><span></span>);
+ </div>
+ <div class="description">
+ <p>Fired when the browser first starts up.</p>
+ <!-- LISTENER PARAMETERS -->
+ <!-- EXTRA PARAMETERS -->
+ <!-- LISTENER RETURN VALUE -->
+ <dl>
+ </dl>
+ </div> <!-- /description -->
+ <!-- /description -->
+ </div><div class="apiItem">
<a name="event-onSuspend"></a>
<h4>onSuspend</h4>
<div class="summary">
« no previous file with comments | « chrome/common/extensions/docs/apps/runtime.html ('k') | chrome/common/extensions/docs/samples.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698