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

Unified Diff: chrome/common/extensions/docs/examples/extensions/calculator/manifest.json

Issue 9969087: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 8 years, 9 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/manifest.json
diff --git a/chrome/common/extensions/docs/examples/extensions/calculator/manifest.json b/chrome/common/extensions/docs/examples/extensions/calculator/manifest.json
index 2d6023fbc112ba91f181ae84cbe934fdffb28744..1c0f18bf6414d796da3c5a5f1581cf5feed5980d 100644
--- a/chrome/common/extensions/docs/examples/extensions/calculator/manifest.json
+++ b/chrome/common/extensions/docs/examples/extensions/calculator/manifest.json
@@ -3,15 +3,16 @@
"description": "Add numbers. Now includes subtraction!",
"manifest_version": 2,
"version": "1.0",
- "app": {
- "launch": {
- "local_path": "calculator.html",
- "container": "shell"
- }
+ "background": {
+ "scripts": ["main.js"]
Matt Perry 2012/04/05 19:32:16 should this be a transient background page?
Mihai Parparita -not on Chrome 2012/04/05 21:33:18 I ended up landing the calculator changes in a sep
},
"platform_app": true,
"icons": {
- "16": "icon_16.png",
+ "16": "icon_16.png",
Matt Perry 2012/04/05 19:32:16 indent
"128": "icon_128.png"
- }
+ },
+ "permissions": [
+ "experimental",
+ "windows"
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698