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

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

Issue 2653023003: MD Settings: Update some dialogs to accept Enter key. (Closed)
Patch Set: add a test for one of them Created 3 years, 11 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.html
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html
index ab6345a47a0f173c6ee0610ab3c19d9004396d8a..8461bb9eab240834c6451677b24c2025111c635e 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html
+++ b/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html
@@ -10,7 +10,7 @@
<style include="settings-shared"></style>
<dialog is="cr-dialog" id="dialog">
<div class="title">[[dialogTitle_]]</div>
- <div class="body">
+ <div class="body" on-keypress="onKeypress_">
<paper-input always-float-label id="searchEngine"
label="$i18n{searchEnginesSearchEngine}"
error-message="$i18n{searchEnginesNotValid}"

Powered by Google App Engine
This is Rietveld 408576698