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

Side by Side Diff: chrome/browser/resources/chromeos/sim_unlock.js

Issue 399303003: Eliminate use of sim unlock UI notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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('mobile', function() { 5 cr.define('mobile', function() {
6 6
7 function SimUnlock() { 7 function SimUnlock() {
8 } 8 }
9 9
10 cr.addSingletonGetter(SimUnlock); 10 cr.addSingletonGetter(SimUnlock);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 $('new-pin-input').focus(); 200 $('new-pin-input').focus();
201 this.updateDialogSize_(0, 18); 201 this.updateDialogSize_(0, 18);
202 }, 202 },
203 203
204 updateSimStatus_: function(simInfo) { 204 updateSimStatus_: function(simInfo) {
205 this.changeState_(simInfo); 205 this.changeState_(simInfo);
206 }, 206 },
207 }; 207 };
208 208
209 SimUnlock.cancel = function() { 209 SimUnlock.cancel = function() {
210 chrome.send('cancel');
stevenjb 2014/07/18 00:29:40 Cancelling doesn't actually change anything or nee
211 SimUnlock.close(); 210 SimUnlock.close();
212 }; 211 };
213 212
214 SimUnlock.close = function() { 213 SimUnlock.close = function() {
215 window.close(); 214 window.close();
216 }; 215 };
217 216
218 SimUnlock.initialize = function() { 217 SimUnlock.initialize = function() {
219 this.initialized_ = true; 218 this.initialized_ = true;
220 219
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 }; 424 };
426 425
427 // Export 426 // Export
428 return { 427 return {
429 SimUnlock: SimUnlock 428 SimUnlock: SimUnlock
430 }; 429 };
431 430
432 }); 431 });
433 432
434 disableTextSelectAndDrag(); 433 disableTextSelectAndDrag();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698