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

Unified Diff: chrome/browser/resources/chromeos/login/screen_account_picker.js

Issue 111443008: Multiprofiles: cancellation of adding a profile on ESC-pressing at account picker screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/screen_account_picker.js
diff --git a/chrome/browser/resources/chromeos/login/screen_account_picker.js b/chrome/browser/resources/chromeos/login/screen_account_picker.js
index 0064e46a6959d99ab3c3a9b99f64c8b8aa0b985f..82597775faacd3964e3370e5e3bba9f7e96d394f 100644
--- a/chrome/browser/resources/chromeos/login/screen_account_picker.js
+++ b/chrome/browser/resources/chromeos/login/screen_account_picker.js
@@ -76,6 +76,12 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
}
},
+ /* Cancel user adding if ESC was pressed.
+ */
+ cancel: function() {
+ chrome.send('cancelUserAdding');
dzhioev (left Google) 2013/12/16 15:22:54 Check if display type == DISPLAY_TYPE.USER_ADDING.
merkulova 2013/12/16 15:32:41 Done.
+ },
+
/**
* Event handler that is invoked just after the frame is shown.
* @param {string} data Screen init payload.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698