Overview
Comment: | ChromeOS: Added the start of a UI |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | e5e8b9f32bf9d3272676e101ee157bb0fd0dc2df |
User & Date: | rkeene on 2016-02-19 14:11:35 |
Other Links: | manifest | tags |
Context
2016-02-19
| ||
14:27 | ChromeOS: Added support for building a debugging-enabled Chrome extension check-in: d4dfc708fb user: rkeene tags: trunk | |
14:11 | ChromeOS: Added the start of a UI check-in: e5e8b9f32b user: rkeene tags: trunk | |
13:30 | ChromeOS: Added package icon check-in: e1dc965e9b user: rkeene tags: trunk | |
Changes
Modified build/chrome/cackey.js from [10c678f515] to [d2935d7709].
400 400 */ 401 401 function cackeyInit() { 402 402 var elementEmbed; 403 403 404 404 /* Log that we are operational */ 405 405 console.log("[cackey] cackeyInit(): Called."); 406 406 407 + /* 408 + * Create a handler for starting the application UI 409 + */ 410 + chrome.app.runtime.onLaunched.addListener(function() { 411 + chrome.app.window.create('ui.html', { 412 + "id": "cackeyUI", 413 + "focused": true, 414 + "innerBounds": { 415 + "width": 350, 416 + "minWidth": 350, 417 + "height": 135, 418 + "minHeight": 135 419 + } 420 + }); 421 + }); 422 + 407 423 /* Verify that we can register callbacks */ 408 424 if (!chrome.certificateProvider) { 409 425 if (!GoogleSmartCard.IS_DEBUG_BUILD) { 410 426 console.error("[cackey] This extension only works on ChromeOS!"); 411 427 412 428 return; 413 429 } else {
Added build/chrome/ui.html version [fc64535f26].
1 +<html> 2 + <head> 3 + <title>CACKey</title> 4 + </head> 5 + <body> 6 + <h1>CACKey for Chrome</h1> 7 + </body> 8 +</html>