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

Unified Diff: chrome/common/extensions/docs/examples/extensions/calculator/main.js

Issue 10544059: Change the platform app manifest structure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for getDisplayPath, implement restrictions via _manifest_features.json Created 8 years, 6 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/examples/extensions/calculator/main.js
diff --git a/chrome/common/extensions/docs/examples/extensions/calculator/main.js b/chrome/common/extensions/docs/examples/extensions/calculator/main.js
index 4260e0955fa466f62aa8bea7238a3ef39980ee6b..982d326b0484dec5bc2a93711f3e15e5d0fc5809 100644
--- a/chrome/common/extensions/docs/examples/extensions/calculator/main.js
+++ b/chrome/common/extensions/docs/examples/extensions/calculator/main.js
@@ -3,9 +3,7 @@
// found in the LICENSE file.
chrome.experimental.app.onLaunched.addListener(function() {
- chrome.windows.create({
- url: 'calculator.html',
- type: 'shell',
+ chrome.appWindow.create('calculator.html', {
width: 217,
height: 223
});

Powered by Google App Engine
This is Rietveld 408576698