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

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: add_stats 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 3023 matching lines...) Expand 10 before | Expand all | Expand 10 after
3034 @apply(--paper-font-subhead); 3034 @apply(--paper-font-subhead);
3035 3035
3036 @apply(--paper-item); 3036 @apply(--paper-item);
3037 } 3037 }
3038 </style> 3038 </style>
3039 3039
3040 <content></content> 3040 <content></content>
3041 </template> 3041 </template>
3042 3042
3043 </dom-module> 3043 </dom-module>
3044 <link rel="import" href="chrome://history/constants.html">
3044 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/"> 3045 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/">
3045 3046
3046 <template> 3047 <template>
3047 3048
3048 <style> 3049 <style>
3049 :host { 3050 :host {
3050 display: block; 3051 display: block;
3051 transition-duration: var(--iron-collapse-transition-duration, 300ms); 3052 transition-duration: var(--iron-collapse-transition-duration, 300ms);
3052 overflow: visible; 3053 overflow: visible;
3053 } 3054 }
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
3420 <div id="background"></div> 3421 <div id="background"></div>
3421 <div id="date-accessed" class="card-title"> 3422 <div id="date-accessed" class="card-title">
3422 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]] 3423 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]]
3423 </div> 3424 </div>
3424 <div id="item-container"> 3425 <div id="item-container">
3425 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]"> 3426 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]">
3426 </paper-checkbox> 3427 </paper-checkbox>
3427 <span id="time-accessed">[[item.readableTimestamp]]</span> 3428 <span id="time-accessed">[[item.readableTimestamp]]</span>
3428 <div class="website-icon" id="icon"></div> 3429 <div class="website-icon" id="icon"></div>
3429 <div id="title-and-domain"> 3430 <div id="title-and-domain">
3430 <a href="[[item.url]]" id="title" class="website-title" title="[[cro pItemTitle_(item.title)]]"> 3431 <a href="[[item.url]]" id="title" class="website-title" title="[[cro pItemTitle_(item.title)]]" on-click="onLinkClick_" on-contextmenu="onLinkRightCl ick_">
3431 <history-searched-label title="[[cropItemTitle_(item.title)]]" sea rch-term="[[searchTerm]]"></history-searched-label> 3432 <history-searched-label title="[[cropItemTitle_(item.title)]]" sea rch-term="[[searchTerm]]"></history-searched-label>
3432 </a> 3433 </a>
3433 <span id="domain">[[item.domain]]</span> 3434 <span id="domain">[[item.domain]]</span>
3434 </div> 3435 </div>
3435 <div id="star-container"> 3436 <div id="star-container">
3436 <template is="dom-if" if="[[item.starred]]"> 3437 <template is="dom-if" if="[[item.starred]]">
3437 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_"> 3438 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_">
3438 <iron-icon icon="cr:star"></iron-icon> 3439 <iron-icon icon="cr:star"></iron-icon>
3439 </button> 3440 </button>
3440 </template> 3441 </template>
3441 </div> 3442 </div>
3442 <button is="paper-icon-button-light" id="menu-button" class="icon-butt on" title="$i18n{moreActionsButton}" on-tap="onMenuButtonTap_"> 3443 <button is="paper-icon-button-light" id="menu-button" class="icon-butt on" title="$i18n{moreActionsButton}" on-tap="onMenuButtonTap_">
3443 <iron-icon icon="cr:more-vert"></iron-icon> 3444 <iron-icon icon="cr:more-vert"></iron-icon>
3444 </button> 3445 </button>
3445 </div> 3446 </div>
3446 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> 3447 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div>
3447 </div> 3448 </div>
3448 </div> 3449 </div>
3449 </template> 3450 </template>
3450 </dom-module> 3451 </dom-module>
3451 <link rel="import" href="chrome://history/constants.html">
3452 <dom-module id="history-grouped-list" assetpath="chrome://history/"> 3452 <dom-module id="history-grouped-list" assetpath="chrome://history/">
3453 <template> 3453 <template>
3454 <style include="shared-style"> 3454 <style include="shared-style">
3455 :host { 3455 :host {
3456 display: block; 3456 display: block;
3457 overflow: auto; 3457 overflow: auto;
3458 position: relative; 3458 position: relative;
3459 } 3459 }
3460 3460
3461 #main-container { 3461 #main-container {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3751 </iron-icon> 3751 </iron-icon>
3752 </button> 3752 </button>
3753 </div> 3753 </div>
3754 </div> 3754 </div>
3755 3755
3756 <iron-collapse opened="{{opened}}" id="collapse"> 3756 <iron-collapse opened="{{opened}}" id="collapse">
3757 <div id="tab-item-list"> 3757 <div id="tab-item-list">
3758 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> 3758 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list">
3759 <div id="item-container"> 3759 <div id="item-container">
3760 <div id="icon" class="website-icon"></div> 3760 <div id="icon" class="website-icon"></div>
3761 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" on-click="openTab_"> 3761 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" on-click="openTab_" on-contextmenu="onLinkRightClick_">
3762 <history-searched-label title="[[tab.title]]" search-term="[[sea rchTerm]]"></history-searched-label> 3762 <history-searched-label title="[[tab.title]]" search-term="[[sea rchTerm]]"></history-searched-label>
3763 </a> 3763 </a>
3764 </div> 3764 </div>
3765 <div id="window-separator" hidden$="[[!isWindowSeparatorIndex_(index , separatorIndexes)]]"> 3765 <div id="window-separator" hidden$="[[!isWindowSeparatorIndex_(index , separatorIndexes)]]">
3766 </div> 3766 </div>
3767 </template> 3767 </template>
3768 </div> 3768 </div>
3769 </iron-collapse> 3769 </iron-collapse>
3770 </div> 3770 </div>
3771 </template> 3771 </template>
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
4026 </history-side-bar> 4026 </history-side-bar>
4027 </app-drawer> 4027 </app-drawer>
4028 </template> 4028 </template>
4029 4029
4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
4031 </iron-media-query> 4031 </iron-media-query>
4032 </template> 4032 </template>
4033 </dom-module> 4033 </dom-module>
4034 <script src="app.crisper.js"></script></body></html> 4034 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698