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

Unified Diff: chrome/browser/resources/md_history/app.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.html
diff --git a/chrome/browser/resources/md_history/app.html b/chrome/browser/resources/md_history/app.html
index c39d309661aec01188895f4a8a6742b3ba4494a0..ea64192adcb69cf344ec0ef8c98637612654ad85 100644
--- a/chrome/browser/resources/md_history/app.html
+++ b/chrome/browser/resources/md_history/app.html
@@ -74,13 +74,13 @@
search-term="{{queryState_.searchTerm}}"
query-start-time="[[queryResult_.info.queryStartTime]]"
query-end-time="[[queryResult_.info.queryEndTime]]"
- has-drawer="[[hasDrawer_]]">
+ 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_]]">
+ hidden$="[[hasDrawer]]">
</history-side-bar>
<iron-pages id="content" attr-for-selected="path"
fallback-selection="history"
@@ -100,7 +100,7 @@
</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>
@@ -112,7 +112,7 @@
</template>
<iron-media-query query="(max-width: 1023px)"
- query-matches="{{hasDrawer_}}">
+ query-matches="{{hasDrawer}}">
</iron-media-query>
</template>
<script src="chrome://history/app.js"></script>
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.js » ('j') | chrome/browser/resources/md_history/history.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698