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

Unified Diff: chrome/browser/resources/md_user_manager/create_profile.js

Issue 2938933002: WebUI: swap paper-dropdown-menu out for md-select. (Closed)
Patch Set: fix test Created 3 years, 6 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/md_user_manager/create_profile.js
diff --git a/chrome/browser/resources/md_user_manager/create_profile.js b/chrome/browser/resources/md_user_manager/create_profile.js
index 5934ee2c928dbd25c08937e59fa8db615d3911f5..1469f1a38e077e8a2fc574567c90dc561a827a28 100644
--- a/chrome/browser/resources/md_user_manager/create_profile.js
+++ b/chrome/browser/resources/md_user_manager/create_profile.js
@@ -370,6 +370,15 @@ Polymer({
this.isSupervised_, '', custodianProfilePath);
},
+ /**
+ * Handler for a change in the supervised account dropdown.
+ * @param {!{target: HTMLSelectElement}} event
+ * @private
+ */
+ onAccountChanged_: function(event) {
+ this.signedInUserIndex_ = parseInt(event.target.value, 10);
+ },
+
/**
* Handler for the 'import' event fired by #importUserPopup once a supervised
* user is selected to be imported and the popup closes.

Powered by Google App Engine
This is Rietveld 408576698