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

Unified Diff: chrome/common/extensions/docs/static/app_lifecycle.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/static/app_lifecycle.html
diff --git a/chrome/common/extensions/docs/static/app_lifecycle.html b/chrome/common/extensions/docs/static/app_lifecycle.html
index 5b330941ea5723148843744e06a8edf9cc65c2b1..3ec12e34e8b60a65c2def44caf480f3bcf5058cd 100644
--- a/chrome/common/extensions/docs/static/app_lifecycle.html
+++ b/chrome/common/extensions/docs/static/app_lifecycle.html
@@ -75,7 +75,7 @@ when your application is launched in any way:
</p>
<pre>
-chrome.experimental.app.onLaunched.addListener(function() {
+chrome.app.runtime.onLaunched.addListener(function() {
// Tell your app what to launch and how.
});
</pre>
@@ -100,7 +100,7 @@ for example, a chat panel.
with a 'shell' window:</p>
<pre>
-chrome.experimental.app.onLaunched.addListener(function() {
+chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('main.html', {
width: 800,
height: 600,
@@ -118,7 +118,7 @@ chrome.experimental.app.onLaunched.addListener(function() {
</p>
<pre>
-chrome.experimental.app.onLaunched.addListener(function() {
+chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
width: 400,
height: 200,
« no previous file with comments | « chrome/common/extensions/docs/static/app_intents.html ('k') | chrome/common/extensions/docs/static/first_app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698