Permalink
Browse files

Updated icon, tweaked manifest and main.js

  • Loading branch information...
1 parent 88016a1 commit d60580921f554c61ba075b75714a71e53ebd7100 @paullewis paullewis committed Aug 10, 2012
Showing with 13 additions and 6 deletions.
  1. BIN sandboxed-content/icon_128.png
  2. +8 −4 sandboxed-content/main.js
  3. +5 −2 sandboxed-content/manifest.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,6 +1,10 @@
+/**
+ * Listens for the app launching then creates the window
+ *
+ * @see http://developer.chrome.com/trunk/apps/experimental.app.html
+ * @see http://developer.chrome.com/trunk/apps/app.window.html
+ */
chrome.experimental.app.onLaunched.addListener(function() {
- chrome.app.window.create('main.html', {
- 'width': 400,
- 'height': 400
- });
+ chrome.app.window.create('main.html',
+ {width: 400, height: 350});
});
@@ -1,12 +1,15 @@
{
- "name": "Sandboxed content",
- "version": "1.0",
+ "name": "Sandboxed Content",
+ "version": "1.0.1",
"manifest_version": 2,
"app": {
"background": {
"scripts": ["main.js"]
}
},
+ "icons": {
+ "128": "icon_128.png"
+ },
"permissions": [
"experimental"
],

0 comments on commit d605809

Please sign in to comment.