Check-in [e5e8b9f32b]
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
401
402
403
404
405
406
















407
408
409
410
411
412
413
 */
function cackeyInit() {
	var elementEmbed;

	/* Log that we are operational */
	console.log("[cackey] cackeyInit(): Called.");

















	/* Verify that we can register callbacks */
	if (!chrome.certificateProvider) {
		if (!GoogleSmartCard.IS_DEBUG_BUILD) {
			console.error("[cackey] This extension only works on ChromeOS!");

			return;
		} else {







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
 */
function cackeyInit() {
	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!");

			return;
		} else {

Added build/chrome/ui.html version [fc64535f26].

















>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
<html>
	<head>
		<title>CACKey</title>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>
	</body>
</html>