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

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

Issue 2255033002: [MD History] Copy stats from the old history page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sidebar_stats
Patch Set: rebase 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 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 2985 matching lines...) Expand 10 before | Expand all | Expand 10 after
2996 @apply(--paper-font-subhead); 2996 @apply(--paper-font-subhead);
2997 2997
2998 @apply(--paper-item); 2998 @apply(--paper-item);
2999 } 2999 }
3000 </style> 3000 </style>
3001 3001
3002 <content></content> 3002 <content></content>
3003 </template> 3003 </template>
3004 3004
3005 </dom-module> 3005 </dom-module>
3006 <link rel="import" href="chrome://history/constants.html">
3006 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/"> 3007 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/">
3007 3008
3008 <template> 3009 <template>
3009 3010
3010 <style> 3011 <style>
3011 :host { 3012 :host {
3012 display: block; 3013 display: block;
3013 transition-duration: var(--iron-collapse-transition-duration, 300ms); 3014 transition-duration: var(--iron-collapse-transition-duration, 300ms);
3014 overflow: visible; 3015 overflow: visible;
3015 } 3016 }
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
3382 <div id="background"></div> 3383 <div id="background"></div>
3383 <div id="date-accessed" class="card-title"> 3384 <div id="date-accessed" class="card-title">
3384 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]] 3385 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]]
3385 </div> 3386 </div>
3386 <div id="item-container"> 3387 <div id="item-container">
3387 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]"> 3388 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]">
3388 </paper-checkbox> 3389 </paper-checkbox>
3389 <span id="time-accessed">[[item.readableTimestamp]]</span> 3390 <span id="time-accessed">[[item.readableTimestamp]]</span>
3390 <div class="website-icon" id="icon"></div> 3391 <div class="website-icon" id="icon"></div>
3391 <div id="title-and-domain"> 3392 <div id="title-and-domain">
3392 <a href="[[item.url]]" id="title" class="website-title" title="[[cro pItemTitle_(item.title)]]"> 3393 <a href="[[item.url]]" id="title" class="website-title" title="[[cro pItemTitle_(item.title)]]" on-click="onLinkClick_" on-contextmenu="onLinkRightCl ick_">
3393 <history-searched-label title="[[cropItemTitle_(item.title)]]" sea rch-term="[[searchTerm]]"></history-searched-label> 3394 <history-searched-label title="[[cropItemTitle_(item.title)]]" sea rch-term="[[searchTerm]]"></history-searched-label>
3394 </a> 3395 </a>
3395 <span id="domain">[[item.domain]]</span> 3396 <span id="domain">[[item.domain]]</span>
3396 </div> 3397 </div>
3397 <div id="star-container"> 3398 <div id="star-container">
3398 <template is="dom-if" if="[[item.starred]]"> 3399 <template is="dom-if" if="[[item.starred]]">
3399 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_"> 3400 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_">
3400 <iron-icon icon="cr:star"></iron-icon> 3401 <iron-icon icon="cr:star"></iron-icon>
3401 </button> 3402 </button>
3402 </template> 3403 </template>
3403 </div> 3404 </div>
3404 <button is="paper-icon-button-light" id="menu-button" class="icon-butt on" title="$i18n{moreActionsButton}" on-tap="onMenuButtonTap_"> 3405 <button is="paper-icon-button-light" id="menu-button" class="icon-butt on" title="$i18n{moreActionsButton}" on-tap="onMenuButtonTap_">
3405 <iron-icon icon="cr:more-vert"></iron-icon> 3406 <iron-icon icon="cr:more-vert"></iron-icon>
3406 </button> 3407 </button>
3407 </div> 3408 </div>
3408 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> 3409 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div>
3409 </div> 3410 </div>
3410 </div> 3411 </div>
3411 </template> 3412 </template>
3412 </dom-module> 3413 </dom-module>
3413 <link rel="import" href="chrome://history/constants.html">
3414 <dom-module id="history-grouped-list" assetpath="chrome://history/"> 3414 <dom-module id="history-grouped-list" assetpath="chrome://history/">
3415 <template> 3415 <template>
3416 <style include="shared-style"> 3416 <style include="shared-style">
3417 :host { 3417 :host {
3418 display: block; 3418 display: block;
3419 overflow: auto; 3419 overflow: auto;
3420 position: relative; 3420 position: relative;
3421 } 3421 }
3422 3422
3423 #main-container { 3423 #main-container {
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
3803 <div id="illustration"></div> 3803 <div id="illustration"></div>
3804 <div id="sign-in-promo">$i18n{signInPromo}</div> 3804 <div id="sign-in-promo">$i18n{signInPromo}</div>
3805 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> 3805 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
3806 <paper-button id="sign-in-button" on-tap="onSignInTap_"> 3806 <paper-button id="sign-in-button" on-tap="onSignInTap_">
3807 $i18n{signInButton} 3807 $i18n{signInButton}
3808 </paper-button> 3808 </paper-button>
3809 </div> 3809 </div>
3810 3810
3811 <template is="history-lazy-render" id="menu"> 3811 <template is="history-lazy-render" id="menu">
3812 <cr-shared-menu> 3812 <cr-shared-menu>
3813 <paper-item class="menu-item" on-tap="onOpenAllTap_"> 3813 <paper-item class="menu-item" id="open-all" on-tap="onOpenAllTap_">
3814 $i18n{openAll} 3814 $i18n{openAll}
3815 </paper-item> 3815 </paper-item>
3816 <paper-item class="menu-item" on-tap="onDeleteSessionTap_"> 3816 <paper-item class="menu-item" id="delete-session" on-tap="onDeleteSessio nTap_">
3817 $i18n{deleteSession} 3817 $i18n{deleteSession}
3818 </paper-item> 3818 </paper-item>
3819 </cr-shared-menu> 3819 </cr-shared-menu>
3820 </template> 3820 </template>
3821 </template> 3821 </template>
3822 </dom-module> 3822 </dom-module>
3823 <dom-module id="history-side-bar" assetpath="chrome://history/"> 3823 <dom-module id="history-side-bar" assetpath="chrome://history/">
3824 <template> 3824 <template>
3825 <style include="shared-style"> 3825 <style include="shared-style">
3826 :host { 3826 :host {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3969 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]]"> 3969 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]]">
3970 </history-toolbar> 3970 </history-toolbar>
3971 3971
3972 <div id="main-container"> 3972 <div id="main-container">
3973 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer]]"> 3973 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer]]">
3974 </history-side-bar> 3974 </history-side-bar>
3975 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> 3975 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
3976 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history"> 3976 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history">
3977 </history-list-container> 3977 </history-list-container>
3978 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]"> 3978 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
3979 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" path="syncedTa bs"> 3979 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" sign-in-state= "[[isUserSignedIn_]]" path="syncedTabs">
3980 </history-synced-device-manager> 3980 </history-synced-device-manager>
3981 </template> 3981 </template>
3982 </iron-pages> 3982 </iron-pages>
3983 </div> 3983 </div>
3984 3984
3985 <template is="dom-if" if="[[hasDrawer]]"> 3985 <template is="dom-if" if="[[hasDrawer]]">
3986 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0"> 3986 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0">
3987 <div id="drawer-header"> 3987 <div id="drawer-header">
3988 <h1>$i18n{title}</h1> 3988 <h1>$i18n{title}</h1>
3989 </div> 3989 </div>
3990 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 3990 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
3991 </history-side-bar> 3991 </history-side-bar>
3992 </app-drawer> 3992 </app-drawer>
3993 </template> 3993 </template>
3994 3994
3995 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer}}"> 3995 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer}}">
3996 </iron-media-query> 3996 </iron-media-query>
3997 </template> 3997 </template>
3998 </dom-module> 3998 </dom-module>
3999 <script src="app.crisper.js"></script></body></html> 3999 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698