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

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

Issue 6776019: [cros] Create SIM unlock dialog wrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 9 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
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.css ('k') | chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/sim_unlock.js
diff --git a/chrome/browser/resources/chromeos/sim_unlock.js b/chrome/browser/resources/chromeos/sim_unlock.js
index 1cbd283f2ef273a575f14ec254e98bb41ddf02bb..da258fb0f515d8149ef17d86803c61c5fd51eead 100644
--- a/chrome/browser/resources/chromeos/sim_unlock.js
+++ b/chrome/browser/resources/chromeos/sim_unlock.js
@@ -36,7 +36,7 @@ cr.define('mobile', function() {
case SimUnlock.SIM_UNLOCK_LOADING:
break;
case SimUnlock.SIM_ABSENT_NOT_LOCKED:
- // TODO(nkostylev): Update status info, probably close dialog.
+ SimUnlock.close();
break;
case SimUnlock.SIM_LOCKED_PIN:
$('pin-input').value = '';
@@ -95,7 +95,7 @@ cr.define('mobile', function() {
};
SimUnlock.close = function() {
- // TODO(nkostylev): Close dialog.
+ window.close();
};
SimUnlock.initialize = function() {
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.css ('k') | chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698