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

Side by Side Diff: chrome/browser/resources/chromeos/login/gaia_buttons.js

Issue 1115993002: ChromeOS Gaia: SAML password confirmation dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 5
6 Polymer('gaia-paper-button', { 6 Polymer('gaia-paper-button', {
7 onKeyDown: function(e) { 7 onKeyDown: function(e) {
8 if (e.keyCode == 13 || e.keyCode == 32) 8 if (!this.disabled && (e.keyCode == 13 || e.keyCode == 32))
9 this.fire('tap'); 9 this.fire('tap');
10 } 10 }
11 }); 11 });
12 12
13 Polymer('gaia-core-icon-button', { 13 Polymer('gaia-core-icon-button', {
14 onKeyDown: function(e) { 14 onKeyDown: function(e) {
15 if (e.keyCode == 13 || e.keyCode == 32) 15 if (!this.disabled && (e.keyCode == 13 || e.keyCode == 32))
16 this.fire('tap'); 16 this.fire('tap');
17 } 17 }
18 }); 18 });
19 19
20 Polymer('gaia-raised-on-focus-button', { 20 Polymer('gaia-raised-on-focus-button', {
21 onButtonFocus: function() { 21 onButtonFocus: function() {
22 this.raised = true; 22 this.raised = true;
23 }, 23 },
24 24
25 onButtonBlur: function() { 25 onButtonBlur: function() {
26 this.raised = false; 26 this.raised = false;
27 }, 27 },
28 }); 28 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/custom_elements_oobe.js ('k') | chrome/browser/resources/chromeos/login/gaia_card.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698