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

Unified Diff: chrome/common/extensions/docs/apps/first_app.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/apps/first_app.html
diff --git a/chrome/common/extensions/docs/apps/first_app.html b/chrome/common/extensions/docs/apps/first_app.html
index 2cf02a00d46ea5aa4c8b9823b6921ca167bd8ef7..3555a5c4207d4cc6a13cd1daf4576b141462bb03 100644
--- a/chrome/common/extensions/docs/apps/first_app.html
+++ b/chrome/common/extensions/docs/apps/first_app.html
@@ -257,7 +257,7 @@ Packaged apps <b>must</b> use
Next create a new file called <code>background.js</code>
with the following content:
</p>
-<pre>chrome.experimental.app.onLaunched.addListener(function() {
+<pre>chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('window.html', {
'width': 400,
'height': 500

Powered by Google App Engine
This is Rietveld 408576698