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

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

Issue 2722873002: MD Settings: Autofocus first text input in various dialogs. (Closed)
Patch Set: More dialogs Created 3 years, 10 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 6d067b423469b7c5cb29e386930130a04661da51..31ec66cb223529a56180b44db4d36a279e9aa2c7 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
@@ -14,7 +14,8 @@
<paper-input always-float-label id="searchEngine"
label="$i18n{searchEnginesSearchEngine}"
error-message="$i18n{searchEnginesNotValid}"
- value="{{searchEngine_}}" on-input="validate_">
+ value="{{searchEngine_}}" on-input="validate_"
+ autofocus>
</paper-input>
<paper-input always-float-label id="keyword"
label="$i18n{searchEnginesKeyword}"

Powered by Google App Engine
This is Rietveld 408576698