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

Side by Side Diff: chrome/common/extensions/docs/extensions/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
« no previous file with comments | « chrome/common/extensions/docs/apps/runtime.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 <h3>Events</h3> 549 <h3>Events</h3>
550 <!-- iterates over all events --> 550 <!-- iterates over all events -->
551 <div class="apiItem"> 551 <div class="apiItem">
552 <a name="event-onInstalled"></a> 552 <a name="event-onInstalled"></a>
553 <h4>onInstalled</h4> 553 <h4>onInstalled</h4>
554 <div class="summary"> 554 <div class="summary">
555 <!-- Note: intentionally longer 80 columns --> 555 <!-- Note: intentionally longer 80 columns -->
556 <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>); 556 <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>);
557 </div> 557 </div>
558 <div class="description"> 558 <div class="description">
559 <p>Fired when the extension is first installed.</p> 559 <p>Fired when the extension is first installed, and on each upda te to a new version.</p>
560 <!-- LISTENER PARAMETERS --> 560 <!-- LISTENER PARAMETERS -->
561 <!-- EXTRA PARAMETERS --> 561 <!-- EXTRA PARAMETERS -->
562 <!-- LISTENER RETURN VALUE --> 562 <!-- LISTENER RETURN VALUE -->
563 <dl> 563 <dl>
564 </dl> 564 </dl>
565 </div> <!-- /description --> 565 </div> <!-- /description -->
566 <!-- /description --> 566 <!-- /description -->
567 </div><div class="apiItem"> 567 </div><div class="apiItem">
568 <a name="event-onSuspend"></a> 568 <a name="event-onSuspend"></a>
569 <h4>onSuspend</h4> 569 <h4>onSuspend</h4>
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 _uff=0; 769 _uff=0;
770 urchinTracker(); 770 urchinTracker();
771 } 771 }
772 catch(e) {/* urchinTracker not available. */} 772 catch(e) {/* urchinTracker not available. */}
773 </script> 773 </script>
774 <!-- end analytics --> 774 <!-- end analytics -->
775 </div> 775 </div>
776 </div> <!-- /gc-footer --> 776 </div> <!-- /gc-footer -->
777 </div> <!-- /gc-container --> 777 </div> <!-- /gc-container -->
778 </body></html> 778 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/apps/runtime.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698