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

Side by Side Diff: chrome/browser/resources/extensions/chromeos/kiosk_apps.js

Issue 22849012: Update WebUI calls to use extensions namespace, update IDs in c/b/r/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change all HTML IDs in c/b/r/extensions to be in-hyphenated-case 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('extensions', function() { 5 cr.define('extensions', function() {
6 /** 6 /**
7 * Encapsulated handling of ChromeOS kiosk apps options page. 7 * Encapsulated handling of ChromeOS kiosk apps options page.
8 * @constructor 8 * @constructor
9 */ 9 */
10 function KioskAppsOverlay() { 10 function KioskAppsOverlay() {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 chrome.send('addKioskApp', [e.target.value]); 74 chrome.send('addKioskApp', [e.target.value]);
75 e.target.value = ''; 75 e.target.value = '';
76 } 76 }
77 }, 77 },
78 78
79 /** 79 /**
80 * Handles the overlay being dismissed. 80 * Handles the overlay being dismissed.
81 * @private 81 * @private
82 */ 82 */
83 handleDismiss_: function() { 83 handleDismiss_: function() {
84 ExtensionSettings.showOverlay(null); 84 extensions.ExtensionSettings.showOverlay(null);
85 } 85 }
86 }; 86 };
87 87
88 /** 88 /**
89 * Sets apps to be displayed in kiosk-app-list. 89 * Sets apps to be displayed in kiosk-app-list.
90 * @param {!Object.<{apps: !Array.<Object>, disableBailout: boolean}>} 90 * @param {!Object.<{apps: !Array.<Object>, disableBailout: boolean}>}
91 * settings An object containing an array of app info objects and 91 * settings An object containing an array of app info objects and
92 * disable bailout shortcut flag. 92 * disable bailout shortcut flag.
93 */ 93 */
94 KioskAppsOverlay.setSettings = function(settings) { 94 KioskAppsOverlay.setSettings = function(settings) {
(...skipping 26 matching lines...) Expand all
121 }; 121 };
122 122
123 // Export 123 // Export
124 return { 124 return {
125 KioskAppsOverlay: KioskAppsOverlay 125 KioskAppsOverlay: KioskAppsOverlay
126 }; 126 };
127 }); 127 });
128 128
129 <include src="kiosk_app_list.js"></include> 129 <include src="kiosk_app_list.js"></include>
130 <include src="kiosk_app_disable_bailout_confirm.js"></include> 130 <include src="kiosk_app_disable_bailout_confirm.js"></include>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698