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

Unified Diff: chrome/common/extensions/docs/server2/templates/articles/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/server2/templates/articles/app_lifecycle.html
diff --git a/chrome/common/extensions/docs/server2/templates/articles/app_lifecycle.html b/chrome/common/extensions/docs/server2/templates/articles/app_lifecycle.html
index 5e8d51b89e4336e5bb254fd2a4504ae6433bfca9..7927cf7b57f720680d1d0116826844c89a15298c 100644
--- a/chrome/common/extensions/docs/server2/templates/articles/app_lifecycle.html
+++ b/chrome/common/extensions/docs/server2/templates/articles/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,

Powered by Google App Engine
This is Rietveld 408576698