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

Unified Diff: chrome/common/extensions/docs/apps/app_external.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/app_external.html
diff --git a/chrome/common/extensions/docs/apps/app_external.html b/chrome/common/extensions/docs/apps/app_external.html
index e483cab1f23ca23a120a6da8643d8a509d427b2c..6b49998a1dda24e418443b35275d61c544dbaa6c 100644
--- a/chrome/common/extensions/docs/apps/app_external.html
+++ b/chrome/common/extensions/docs/apps/app_external.html
@@ -350,7 +350,7 @@ Here's a sample that creates two windows,
one for the main app window that isn't sandboxed,
and one for the sandboxed page:
</p>
-<pre>chrome.experimental.app.onLaunched.addListener(function() {
+<pre>chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('window.html', {
'width': 400,
'height': 400,
@@ -393,7 +393,7 @@ that posts a message to the sandboxed page it
opens:
</p>
<pre>var myWin = null;
-chrome.experimental.app.onLaunched.addListener(function() {
+chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('sandboxed.html', {
'width': 400,
'height': 400
« no previous file with comments | « chrome/common/extensions/docs/apps/app.runtime.html ('k') | chrome/common/extensions/docs/apps/app_intents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698