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

Unified Diff: chrome/common/extensions/docs/apps/first_app.html

Issue 10659021: Move chrome.appWindow to chrome.app.window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 5 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 8e4314a2b4d5cf5147453d4d5e7af6ff69d41aa1..ddcb701617d95d00052941e65c835fc1a66f9202 100644
--- a/chrome/common/extensions/docs/apps/first_app.html
+++ b/chrome/common/extensions/docs/apps/first_app.html
@@ -243,7 +243,7 @@ describes this manifest in detail):
"scripts": ["background.js"]
}
},
- "permissions": ["experimental", "appWindow"],
+ "permissions": ["experimental", "app.window"],
"icons": { "16": "calculator-16.png", "128": "calculator-128.png" }
}
</pre>
@@ -258,7 +258,7 @@ Next create a new file called <code>background.js</code>
with the following content:
</p>
<pre>chrome.experimental.app.onLaunched.addListener(function() {
- chrome.appWindow.create('window.html', {
+ chrome.app.window.create('window.html', {
'width': 400,
'height': 500
});
« no previous file with comments | « chrome/common/extensions/docs/apps/fileSystem.html ('k') | chrome/common/extensions/docs/extensions/appWindow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698