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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2237703004: [MD History] Focus the search bar on load. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix drawer test Created 4 years, 4 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: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index 8bc7d9db044e96e01bab3dcfe86b4fe15f57fe66..96f0e84c2e4b4f0734e2a5173459ba84a764994c 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -90,7 +90,7 @@
}
:host(:not([narrow]):not([showing-search])) #icon,
- :host(:not([narrow]):not([showing-search])) #prompt {
+ :host(:not([narrow])) #prompt {
opacity: 0.6;
}
@@ -128,7 +128,9 @@
</paper-icon-button>
<paper-input-container id="searchTerm" on-search="onSearchTermSearch"
on-keydown="onSearchTermKeydown" no-label-float>
- <label id="prompt" for="searchInput">[[label]]</label>
+ <label id="prompt" for="searchInput">
tsergeant 2016/08/18 03:46:12 Nit: undo this change
calamity 2016/08/18 08:32:30 Done.
+ [[label]]
+ </label>
<input is="iron-input" id="searchInput" type="search"
on-blur="onInputBlur_" incremental></input>
</paper-input-container>

Powered by Google App Engine
This is Rietveld 408576698