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

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

Issue 2481693002: [MD History] Make forward/backward work in grouped mode. (Closed)
Patch Set: Created 4 years, 1 month 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 2741 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 </template> 2752 </template>
2753 </div> 2753 </div>
2754 <template is="dom-if" if="[[isGroupedMode]]"> 2754 <template is="dom-if" if="[[isGroupedMode]]">
2755 <div id="grouped-buttons-container"> 2755 <div id="grouped-buttons-container">
2756 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}" id="gr ouped-range-buttons"> 2756 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}" id="gr ouped-range-buttons">
2757 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab> 2757 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab>
2758 <paper-tab value="1">$i18n{rangeWeek}</paper-tab> 2758 <paper-tab value="1">$i18n{rangeWeek}</paper-tab>
2759 <paper-tab value="2">$i18n{rangeMonth}</paper-tab> 2759 <paper-tab value="2">$i18n{rangeMonth}</paper-tab>
2760 </paper-tabs> 2760 </paper-tabs>
2761 <div id="grouped-nav-container"> 2761 <div id="grouped-nav-container">
2762 <span id="grouped-date"> 2762 <span id="grouped-date" hidden$="[[querying]]">
2763 {{getHistoryInterval_(queryStartTime, queryEndTime)}} 2763 {{getHistoryInterval_(queryStartTime, queryEndTime)}}
2764 </span> 2764 </span>
2765 <paper-icon-button icon="history:today" alt="$i18n{rangeToday}" title= "$i18n{rangeToday}"></paper-icon-button> 2765 <paper-icon-button id="today-button" icon="history:today" alt="$i18n{r angeToday}" title="$i18n{rangeToday}" on-tap="todayTapped_" disabled="[[isToday_ (groupedOffset)]]"></paper-icon-button>
2766 <paper-icon-button icon="history:chevron-left" alt="$i18n{rangePreviou s}" title="$i18n{rangePrevious}" class="rtl-reversible"></paper-icon-button> 2766 <paper-icon-button id="prev-button" icon="history:chevron-left" alt="$ i18n{rangePrevious}" title="$i18n{rangePrevious}" class="rtl-reversible" on-tap= "prevTapped_" disabled="[[queryFinished]]"></paper-icon-button>
2767 <paper-icon-button icon="cr:chevron-right" alt="$i18n{rangeNext}" titl e="$i18n{rangeNext}" class="rtl-reversible"></paper-icon-button> 2767 <paper-icon-button id="next-button" icon="cr:chevron-right" alt="$i18n {rangeNext}" title="$i18n{rangeNext}" class="rtl-reversible" on-tap="nextTapped_ " disabled="[[isToday_(groupedOffset)]]"></paper-icon-button>
2768 </div> 2768 </div>
2769 </div> 2769 </div>
2770 </template> 2770 </template>
2771 </template> 2771 </template>
2772 </dom-module> 2772 </dom-module>
2773 2773
2774 <style is="custom-style" css-build="shadow">html { 2774 <style is="custom-style" css-build="shadow">html {
2775 --cr-actionable_-_cursor: pointer;; 2775 --cr-actionable_-_cursor: pointer;;
2776 --cr-focused-item-color: var(--google-grey-300); 2776 --cr-focused-item-color: var(--google-grey-300);
2777 --cr-selectable-focus_-_background-color: var(--cr-focused-item-color); --c r-selectable-focus_-_outline: none; 2777 --cr-selectable-focus_-_background-color: var(--cr-focused-item-color); --c r-selectable-focus_-_outline: none;
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
3928 transition: opacity 500ms; 3928 transition: opacity 500ms;
3929 } 3929 }
3930 3930
3931 :host([toolbar-shadow_]) #drop-shadow { 3931 :host([toolbar-shadow_]) #drop-shadow {
3932 opacity: 1; 3932 opacity: 1;
3933 } 3933 }
3934 3934
3935 </style> 3935 </style>
3936 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}"> 3936 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}">
3937 </history-router> 3937 </history-router>
3938 <history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryStat e_.querying, 3938 <history-toolbar id="toolbar" grouped-offset="{{queryState_.groupedOffset}}" grouped-range="{{queryState_.range}}" has-drawer="[[hasDrawer_]]" is-grouped-mo de="{{grouped_}}" query-end-time="[[queryResult_.info.queryEndTime]]" query-fini shed="[[queryResult_.info.finished]]" query-start-time="[[queryResult_.info.quer yStartTime]]" querying="[[queryState_.querying]]" search-term="{{queryState_.sea rchTerm}}" show-menu-promo="[[showMenuPromo_]]" show-sync-notice="[[showSyncNoti ce_(hasSyncedResults, selectedPage_)]]" spinner-active="[[shouldShowSpinner_(que ryState_.querying,
3939 queryState_.incremental, 3939 queryState_.incremental,
3940 queryState_.searchTerm)]]" is-group ed-mode="{{grouped_}}" grouped-range="{{queryState_.range}}" search-term="{{quer yState_.searchTerm}}" query-start-time="[[queryResult_.info.queryStartTime]]" qu ery-end-time="[[queryResult_.info.queryEndTime]]" has-drawer="[[hasDrawer_]]" sh ow-sync-notice="[[showSyncNotice_(hasSyncedResults, selectedPage_)]]" show-menu- promo="[[showMenuPromo_]]"> 3940 queryState_.searchTerm)]]">
3941 </history-toolbar> 3941 </history-toolbar>
3942 3942
3943 <div id="main-container"> 3943 <div id="main-container">
3944 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> 3944 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]">
3945 </history-side-bar> 3945 </history-side-bar>
3946 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> 3946 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
3947 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history"> 3947 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history">
3948 </history-list-container> 3948 </history-list-container>
3949 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]"> 3949 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
3950 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" sign-in-state= "[[isUserSignedIn_]]" path="syncedTabs"> 3950 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" sign-in-state= "[[isUserSignedIn_]]" path="syncedTabs">
(...skipping 11 matching lines...) Expand all
3962 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer=""> 3962 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer="">
3963 </history-side-bar> 3963 </history-side-bar>
3964 </app-drawer> 3964 </app-drawer>
3965 </template> 3965 </template>
3966 3966
3967 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3967 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3968 </iron-media-query> 3968 </iron-media-query>
3969 </template> 3969 </template>
3970 </dom-module> 3970 </dom-module>
3971 <script src="app.crisper.js"></script></body></html> 3971 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698