Check-in [e5e8b9f32b]
Overview
SHA1:e5e8b9f32bf9d3272676e101ee157bb0fd0dc2df
Date: 2016-02-19 14:11:35
User: rkeene
Comment:ChromeOS: Added the start of a UI
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-02-19
14:27
[d4dfc708fb] ChromeOS: Added support for building a debugging-enabled Chrome extension (user: rkeene, tags: trunk)
14:11
[e5e8b9f32b] ChromeOS: Added the start of a UI (user: rkeene, tags: trunk)
13:30
[e1dc965e9b] ChromeOS: Added package icon (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>