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

Unified Diff: chrome/browser/resources/md_history/app.vulcanized.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: chrome/browser/resources/md_history/app.vulcanized.html
diff --git a/chrome/browser/resources/md_history/app.vulcanized.html b/chrome/browser/resources/md_history/app.vulcanized.html
index 9540eaa06f3ed528dd0ba3c445286cb8310692dc..f1d8091c7494fa6601364636cf9a6493dc061863 100644
--- a/chrome/browser/resources/md_history/app.vulcanized.html
+++ b/chrome/browser/resources/md_history/app.vulcanized.html
@@ -2333,7 +2333,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
:host(:not([narrow]):not([showing-search])) #icon,
- :host(:not([narrow]):not([showing-search])) #prompt {
+ :host(:not([narrow])) #prompt {
opacity: 0.6;
}
@@ -2368,7 +2368,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[[computeIconTabIndex_(narrow)]]">
</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">
+ [[label]]
+ </label>
<input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur_" incremental="">
</paper-input-container>
<paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]]" hidden$="[[!hasSearchText_]]" on-tap="hideSearch_">
@@ -3964,11 +3966,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</app-route>
<history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryState_.querying,
queryState_.incremental,
- queryState_.searchTerm)]]" is-grouped-mode="{{grouped_}}" grouped-range="{{queryState_.range}}" search-term="{{queryState_.searchTerm}}" query-start-time="[[queryResult_.info.queryStartTime]]" query-end-time="[[queryResult_.info.queryEndTime]]" has-drawer="[[hasDrawer_]]">
+ queryState_.searchTerm)]]" is-grouped-mode="{{grouped_}}" grouped-range="{{queryState_.range}}" search-term="{{queryState_.searchTerm}}" query-start-time="[[queryResult_.info.queryStartTime]]" query-end-time="[[queryResult_.info.queryEndTime]]" has-drawer="[[hasDrawer]]">
</history-toolbar>
<div id="main-container">
- <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]">
+ <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer]]">
</history-side-bar>
<iron-pages id="content" attr-for-selected="path" fallback-selection="history" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
<history-list-container id="history" query-state="{{queryState_}}" query-result="[[queryResult_]]" grouped="[[grouped_]]" path="history">
@@ -3980,7 +3982,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</iron-pages>
</div>
- <template is="dom-if" if="[[hasDrawer_]]">
+ <template is="dom-if" if="[[hasDrawer]]">
<app-drawer id="drawer" swipe-open="" align="start" tabindex="0">
<div id="drawer-header">
<h1>$i18n{title}</h1>
@@ -3990,7 +3992,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</app-drawer>
</template>
- <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}">
+ <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer}}">
</iron-media-query>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698