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

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js

Issue 2795353002: WebUI: For cr-dialog, handle Enter keys in paper-inputs. (Closed)
Patch Set: update tests Created 3 years, 8 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/settings/search_engines_page/search_engine_dialog.js
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
index 76e1e35c4b35e98745b43d4303242bfcaf00e1ce..bf275f9ac548d4c2b67bf3c21e3443c3407f8cfc 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
+++ b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.js
@@ -92,15 +92,6 @@ Polymer({
},
/**
- * @param {!KeyboardEvent} e
- * @private
- */
- onKeypress_: function(e) {
- if (e.key == 'Enter' && !this.$.actionButton.disabled)
- this.onActionButtonTap_();
- },
-
- /**
* @param {!Event} event
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698