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

Unified Diff: chrome/common/extensions/docs/apps/app_external.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/app_external.html
diff --git a/chrome/common/extensions/docs/apps/app_external.html b/chrome/common/extensions/docs/apps/app_external.html
index 9dbb60db0445217147d81d727ff0b00c0eb1a395..a1680fb2f03044016942fbdf38d3575cfd9fcef4 100644
--- a/chrome/common/extensions/docs/apps/app_external.html
+++ b/chrome/common/extensions/docs/apps/app_external.html
@@ -352,13 +352,13 @@ one for the main app window that isn't sandboxed,
and one for the sandboxed page:
</p>
<pre>chrome.experimental.app.onLaunched.addListener(function() {
- chrome.appWindow.create('window.html', {
+ chrome.app.window.create('window.html', {
'width': 400,
'height': 400,
'left': 0,
'top': 0
});
- chrome.appWindow.create('sandboxed.html', {
+ chrome.app.window.create('sandboxed.html', {
'width': 400,
'height': 400,
'left': 400,
@@ -395,7 +395,7 @@ opens:
</p>
<pre>var myWin = null;
chrome.experimental.app.onLaunched.addListener(function() {
- chrome.appWindow.create('sandboxed.html', {
+ chrome.app.window.create('sandboxed.html', {
'width': 400,
'height': 400
}, function(win) {
« no previous file with comments | « chrome/common/extensions/docs/apps/appWindow.html ('k') | chrome/common/extensions/docs/apps/app_hardware.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698