Index: chrome/common/extensions/docs/apps/app_intents.html |
diff --git a/chrome/common/extensions/docs/apps/app_intents.html b/chrome/common/extensions/docs/apps/app_intents.html |
index 12d23be8cd181634f064b79138cad27a5c46698d..2eba1ee464fec18495b6d2ebcb70634387e52610 100644 |
--- a/chrome/common/extensions/docs/apps/app_intents.html |
+++ b/chrome/common/extensions/docs/apps/app_intents.html |
@@ -261,7 +261,7 @@ feeds, you would add the following to your manifest. |
<p> |
Your application will receive intent payload through the <code>onLaunched</code> event. |
</p> |
-<pre>chrome.experimental.app.onLaunched(function(intent) { |
+<pre>chrome.app.runtime.onLaunched(function(intent) { |
// App Launched |
if(intent.action == "http://webinents.org/view" && |
intent.type == "application/atom+xml") { |
@@ -282,7 +282,7 @@ This will implicity launch your application with an intent payload populated |
with the action set to "http://webintents.org/view", the type set to the |
mime-type of the file and the data as a <code>FileEntry</code> object. |
</p> |
-<pre>chrome.experimental.app.onLaunched(function(intent) { |
+<pre>chrome.app.runtime.onLaunched(function(intent) { |
// App Launched |
var data = intent.data; |
}); |
@@ -296,7 +296,7 @@ mime-type of the file and the data as a <code>FileEntry</code> object. |
file on the disk, |
and you can write data back to it. |
</p> |
-<pre>chrome.experimental.app.onLaunched(function(intent) { |
+<pre>chrome.app.runtime.onLaunched(function(intent) { |
// App Launched |
var data = intent.data; |
if(data instanceof FileEntry) { |
@@ -322,7 +322,7 @@ with the app that invoked them. |
It's easy to send data back to the calling client |
using <code>intent.postResult</code>: |
</p> |
-<pre>chrome.experimental.app.onLaunched(function(intent) { |
+<pre>chrome.app.runtime.onLaunched(function(intent) { |
// App Launched |
console.log(intent.action); |
console.log(intent.type); |
@@ -376,7 +376,7 @@ var onError = function() {}; |
window.navigator.webkitStartActivity(intent, onSuccess, onError); |
</pre> |
<a name="H3-9"></a><h3>Service</h3> |
-<pre>chrome.experimental.app.onLaunched(function(intent) { |
+<pre>chrome.app.runtime.onLaunched(function(intent) { |
// App Launched |
console.log(intent.action); |
console.log(intent.type); |