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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.html

Issue 2590093002: MD History: Move queryState to be managed by history-router (Closed)
Patch Set: Rebase 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 unified diff | Download patch
OLDNEW
1 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 3298 matching lines...) Expand 10 before | Expand all | Expand 10 after
3309 <button id="menuMoreButton" class="dropdown-item" on-tap="onMoreFromSite Tap_"> 3309 <button id="menuMoreButton" class="dropdown-item" on-tap="onMoreFromSite Tap_">
3310 $i18n{moreFromSite} 3310 $i18n{moreFromSite}
3311 </button> 3311 </button>
3312 <button id="menuRemoveButton" class="dropdown-item" disabled="[[!canDele teHistory_()]]" on-tap="onRemoveFromHistoryTap_"> 3312 <button id="menuRemoveButton" class="dropdown-item" disabled="[[!canDele teHistory_()]]" on-tap="onRemoveFromHistoryTap_">
3313 $i18n{removeFromHistory} 3313 $i18n{removeFromHistory}
3314 </button> 3314 </button>
3315 </dialog> 3315 </dialog>
3316 </template> 3316 </template>
3317 </template> 3317 </template>
3318 </dom-module> 3318 </dom-module>
3319
3320 <dom-module id="history-router" assetpath="chrome://history/" css-build="shadow" > 3319 <dom-module id="history-router" assetpath="chrome://history/" css-build="shadow" >
3321 <template> 3320 <template>
3322 <iron-location path="{{path_}}" query="{{query_}}"></iron-location> 3321 <iron-location path="{{path_}}" query="{{query_}}"></iron-location>
3323 <iron-query-params params-string="{{query_}}" params-object="{{queryParams_} }"> 3322 <iron-query-params params-string="{{query_}}" params-object="{{queryParams_} }">
3324 </iron-query-params> 3323 </iron-query-params>
3325 </template> 3324 </template>
3326 </dom-module> 3325 </dom-module>
3327 <style> 3326 <style>
3328 /* Copyright 2015 The Chromium Authors. All rights reserved. 3327 /* Copyright 2015 The Chromium Authors. All rights reserved.
3329 * Use of this source code is governed by a BSD-style license that can be 3328 * Use of this source code is governed by a BSD-style license that can be
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
3718 right: 0; 3717 right: 0;
3719 top: 0; 3718 top: 0;
3720 transition: opacity 500ms; 3719 transition: opacity 500ms;
3721 } 3720 }
3722 3721
3723 :host([toolbar-shadow_]) #drop-shadow { 3722 :host([toolbar-shadow_]) #drop-shadow {
3724 opacity: 1; 3723 opacity: 1;
3725 } 3724 }
3726 3725
3727 </style> 3726 </style>
3727 <history-query-manager query-state="{{queryState_}}" query-result="[[queryRe sult_]]">
3728 </history-query-manager>
3728 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}"> 3729 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}">
3729 </history-router> 3730 </history-router>
3730 <history-toolbar id="toolbar" grouped-offset="{{queryState_.groupedOffset}}" grouped-range="{{queryState_.range}}" has-drawer="[[hasDrawer_]]" has-more-resu lts="[[!queryResult_.info.finished]]" is-grouped-mode="{{grouped_}}" query-info= "[[queryResult_.info]]" querying="[[queryState_.querying]]" search-term="{{query State_.searchTerm}}" show-menu-promo="[[showMenuPromo_]]" show-sync-notice="[[sh owSyncNotice_(hasSyncedResults, selectedPage_)]]" spinner-active="[[shouldShowSp inner_(queryState_.querying, 3731 <history-toolbar id="toolbar" grouped-offset="{{queryState_.groupedOffset}}" grouped-range="{{queryState_.range}}" has-drawer="[[hasDrawer_]]" has-more-resu lts="[[!queryResult_.info.finished]]" is-grouped-mode="{{grouped_}}" query-info= "[[queryResult_.info]]" querying="[[queryState_.querying]]" search-term="{{query State_.searchTerm}}" show-menu-promo="[[showMenuPromo_]]" show-sync-notice="[[sh owSyncNotice_(hasSyncedResults, selectedPage_)]]" spinner-active="[[shouldShowSp inner_(queryState_.querying,
3731 queryState_.incremental, 3732 queryState_.incremental,
3732 queryState_.searchTerm)]]"> 3733 queryState_.searchTerm)]]">
3733 </history-toolbar> 3734 </history-toolbar>
3734 3735
3735 <div id="main-container"> 3736 <div id="main-container">
3736 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> 3737 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]">
3737 </history-side-bar> 3738 </history-side-bar>
(...skipping 14 matching lines...) Expand all
3752 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]"> 3753 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]">
3753 </history-side-bar> 3754 </history-side-bar>
3754 </dialog> 3755 </dialog>
3755 </template> 3756 </template>
3756 3757
3757 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3758 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3758 </iron-media-query> 3759 </iron-media-query>
3759 </template> 3760 </template>
3760 </dom-module> 3761 </dom-module>
3761 <script src="app.crisper.js"></script></body></html> 3762 <script src="app.crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/browser/resources/md_history/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698