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

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

Issue 2318643003: MD History: truncate title to 300 chars in C++ instead of JS (Closed)
Patch Set: more !android Created 4 years, 3 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 3954 matching lines...) Expand 10 before | Expand all | Expand 10 after
3965 </div> 3965 </div>
3966 <div id="date-accessed" class="card-title"> 3966 <div id="date-accessed" class="card-title">
3967 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]] 3967 [[cardTitle_(numberOfItems, item.dateRelativeDay, searchTerm)]]
3968 </div> 3968 </div>
3969 <div id="item-container"> 3969 <div id="item-container">
3970 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]" aria-label$="[[getEntrySummary_(item)]]"> 3970 <paper-checkbox id="checkbox" on-mousedown="onCheckboxMousedown_" on-c lick="onCheckboxSelected_" checked="{{selected}}" disabled="[[selectionNotAllowe d_()]]" aria-label$="[[getEntrySummary_(item)]]">
3971 </paper-checkbox> 3971 </paper-checkbox>
3972 <span id="time-accessed">[[item.readableTimestamp]]</span> 3972 <span id="time-accessed">[[item.readableTimestamp]]</span>
3973 <div class="website-icon" id="icon"></div> 3973 <div class="website-icon" id="icon"></div>
3974 <div id="title-and-domain"> 3974 <div id="title-and-domain">
3975 <a href="[[item.url]]" id="title" class="website-title" title="[[cro pItemTitle_(item.title)]]" on-click="onLinkClick_" on-contextmenu="onLinkRightCl ick_"> 3975 <a href="[[item.url]]" id="title" class="website-title" title="[[ite m.title]]" on-click="onLinkClick_" on-contextmenu="onLinkRightClick_">
3976 <history-searched-label title="[[cropItemTitle_(item.title)]]" sea rch-term="[[searchTerm]]"></history-searched-label> 3976 <history-searched-label title="[[item.title]]" search-term="[[sear chTerm]]"></history-searched-label>
3977 </a> 3977 </a>
3978 <span id="domain">[[item.domain]]</span> 3978 <span id="domain">[[item.domain]]</span>
3979 </div> 3979 </div>
3980 <div id="star-container"> 3980 <div id="star-container">
3981 <template is="dom-if" if="[[item.starred]]"> 3981 <template is="dom-if" if="[[item.starred]]">
3982 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_"> 3982 <button is="paper-icon-button-light" id="bookmark-star" title="$i1 8n{removeBookmark}" on-tap="onRemoveBookmarkTap_">
3983 <iron-icon icon="cr:star"></iron-icon> 3983 <iron-icon icon="cr:star"></iron-icon>
3984 </button> 3984 </button>
3985 </template> 3985 </template>
3986 </div> 3986 </div>
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after
5234 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 5234 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
5235 </history-side-bar> 5235 </history-side-bar>
5236 </app-drawer> 5236 </app-drawer>
5237 </template> 5237 </template>
5238 5238
5239 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 5239 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
5240 </iron-media-query> 5240 </iron-media-query>
5241 </template> 5241 </template>
5242 </dom-module> 5242 </dom-module>
5243 <script src="app.crisper.js"></script></body></html> 5243 <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/constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698