Index: build/chrome/cackey.js ================================================================== --- build/chrome/cackey.js +++ build/chrome/cackey.js @@ -402,10 +402,26 @@ var elementEmbed; /* Log that we are operational */ console.log("[cackey] cackeyInit(): Called."); + /* + * Create a handler for starting the application UI + */ + chrome.app.runtime.onLaunched.addListener(function() { + chrome.app.window.create('ui.html', { + "id": "cackeyUI", + "focused": true, + "innerBounds": { + "width": 350, + "minWidth": 350, + "height": 135, + "minHeight": 135 + } + }); + }); + /* Verify that we can register callbacks */ if (!chrome.certificateProvider) { if (!GoogleSmartCard.IS_DEBUG_BUILD) { console.error("[cackey] This extension only works on ChromeOS!"); ADDED build/chrome/ui.html Index: build/chrome/ui.html ================================================================== --- build/chrome/ui.html +++ build/chrome/ui.html @@ -0,0 +1,8 @@ + + + CACKey + + +

CACKey for Chrome

+ +