| Index: chrome/browser/resources/chromeos/login/user_pod_row.js
|
| diff --git a/chrome/browser/resources/chromeos/login/user_pod_row.js b/chrome/browser/resources/chromeos/login/user_pod_row.js
|
| index 93a7d4f91cc10d4a5ac4f06f99c79ee992583cfc..cb56d748eca4116b7a5fdfebebc38838e818c657 100644
|
| --- a/chrome/browser/resources/chromeos/login/user_pod_row.js
|
| +++ b/chrome/browser/resources/chromeos/login/user_pod_row.js
|
| @@ -469,6 +469,8 @@ cr.define('login', function() {
|
| handleActionAreaButtonClick_: function(e) {
|
| if (this.parentNode.disabled)
|
| return;
|
| + console.error('Action area clicked: ' + !this.isActionBoxMenuActive +
|
| + ' at ' + e.x + ', ' + e.y);
|
| this.isActionBoxMenuActive = !this.isActionBoxMenuActive;
|
| },
|
|
|
| @@ -482,8 +484,11 @@ cr.define('login', function() {
|
| switch (e.keyIdentifier) {
|
| case 'Enter':
|
| case 'U+0020': // Space
|
| - if (this.parentNode.focusedPod_ && !this.isActionBoxMenuActive)
|
| + if (this.parentNode.focusedPod_ && !this.isActionBoxMenuActive) {
|
| + console.error('Action area keyed: ' + !this.isActionBoxMenuActive +
|
| + ' at ' + e.x + ', ' + e.y);
|
| this.isActionBoxMenuActive = true;
|
| + }
|
| e.stopPropagation();
|
| break;
|
| case 'Up':
|
| @@ -1186,6 +1191,9 @@ cr.define('login', function() {
|
| if (this.disabled)
|
| return;
|
|
|
| + console.error('Document clicked at ' + e.x + ', ' + e.y +
|
| + ', pod: ' + findAncestorByClass(e.target, 'pod'));
|
| +
|
| // Clear all menus if the click is outside pod menu and its
|
| // button area.
|
| if (!findAncestorByClass(e.target, 'action-box-menu') &&
|
|
|