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

Side by Side Diff: chrome/common/extensions/docs/apps/runtime.html

Issue 10833070: Fix the chrome.runtime.onInstalled docs to note it fires for updates as well. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 <h3>Events</h3> 482 <h3>Events</h3>
483 <!-- iterates over all events --> 483 <!-- iterates over all events -->
484 <div class="apiItem"> 484 <div class="apiItem">
485 <a name="event-onInstalled"></a> 485 <a name="event-onInstalled"></a>
486 <h4>onInstalled</h4> 486 <h4>onInstalled</h4>
487 <div class="summary"> 487 <div class="summary">
488 <!-- Note: intentionally longer 80 columns --> 488 <!-- Note: intentionally longer 80 columns -->
489 <span class="subdued">chrome.runtime.</span><span>onInstalled</s pan><span class="subdued">.addListener</span>(function(<span></span>) <span clas s="subdued">{...}</span><span></span>); 489 <span class="subdued">chrome.runtime.</span><span>onInstalled</s pan><span class="subdued">.addListener</span>(function(<span></span>) <span clas s="subdued">{...}</span><span></span>);
490 </div> 490 </div>
491 <div class="description"> 491 <div class="description">
492 <p>Fired when the extension is first installed.</p> 492 <p>Fired when the extension is first installed, and on each upda te to a new version.</p>
493 <!-- LISTENER PARAMETERS --> 493 <!-- LISTENER PARAMETERS -->
494 <!-- EXTRA PARAMETERS --> 494 <!-- EXTRA PARAMETERS -->
495 <!-- LISTENER RETURN VALUE --> 495 <!-- LISTENER RETURN VALUE -->
496 <dl> 496 <dl>
497 </dl> 497 </dl>
498 </div> <!-- /description --> 498 </div> <!-- /description -->
499 <!-- /description --> 499 <!-- /description -->
500 </div><div class="apiItem"> 500 </div><div class="apiItem">
501 <a name="event-onSuspend"></a> 501 <a name="event-onSuspend"></a>
502 <h4>onSuspend</h4> 502 <h4>onSuspend</h4>
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 _uff=0; 711 _uff=0;
712 urchinTracker(); 712 urchinTracker();
713 } 713 }
714 catch(e) {/* urchinTracker not available. */} 714 catch(e) {/* urchinTracker not available. */}
715 </script> 715 </script>
716 <!-- end analytics --> 716 <!-- end analytics -->
717 </div> 717 </div>
718 </div> <!-- /gc-footer --> 718 </div> <!-- /gc-footer -->
719 </div> <!-- /gc-container --> 719 </div> <!-- /gc-container -->
720 </body></html> 720 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/runtime.json ('k') | chrome/common/extensions/docs/extensions/runtime.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698