Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1790)

Unified Diff: chrome/browser/resources/chromeos/app_launch/app_launch.js

Issue 22914008: Refactor kiosk app launch to be part of login screen UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/app_launch/app_launch.js
diff --git a/chrome/browser/resources/chromeos/app_launch/app_launch.js b/chrome/browser/resources/chromeos/app_launch/app_launch.js
deleted file mode 100644
index a2a3fe249cdeee4824d93a184ab73f2eb0ab11a2..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/chromeos/app_launch/app_launch.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview App install/launch splash screen.
- */
-
-/**
- * Initializes the click handler.
- */
-initialize = function() {
- var params = parseQueryParams(window.location);
- var appId = params['app'] || '';
-
- chrome.send('initialize', [appId]);
-
- $('shortcut-info').hidden = !loadTimeData.getBoolean('shortcutEnabled');
- $('page').style.opacity = 1;
- window.webkitRequestAnimationFrame(function() {});
-};
-
-updateApp = function(app) {
- $('header').textContent = app.name;
- $('header').style.backgroundImage = 'url(' + app.iconURL + ')';
-};
-
-updateMessage = function(message) {
- $('launch-text').textContent = message;
-};
-
-disableTextSelectAndDrag();
-document.addEventListener('DOMContentLoaded', initialize);

Powered by Google App Engine
This is Rietveld 408576698