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

Side by Side Diff: chrome/browser/resources/md_history/history_item.js

Issue 2684493002: MD History: Delete Grouped History (Closed)
Patch Set: Rebase Created 3 years, 10 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @param {!Element} root 6 * @param {!Element} root
7 * @param {?Element} boundary 7 * @param {?Element} boundary
8 * @param {cr.ui.FocusRow.Delegate} delegate 8 * @param {cr.ui.FocusRow.Delegate} delegate
9 * @constructor 9 * @constructor
10 * @extends {cr.ui.FocusRow} 10 * @extends {cr.ui.FocusRow}
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 isCardStart: { 93 isCardStart: {
94 type: Boolean, 94 type: Boolean,
95 reflectToAttribute: true, 95 reflectToAttribute: true,
96 }, 96 },
97 97
98 isCardEnd: { 98 isCardEnd: {
99 type: Boolean, 99 type: Boolean,
100 reflectToAttribute: true, 100 reflectToAttribute: true,
101 }, 101 },
102 102
103 // True if the item is being displayed embedded in another element and
104 // should not manage its own borders or size.
105 embedded: {
106 type: Boolean,
107 reflectToAttribute: true,
108 },
109
110 /** @type {Element} */ 103 /** @type {Element} */
111 lastFocused: { 104 lastFocused: {
112 type: Object, 105 type: Object,
113 notify: true, 106 notify: true,
114 }, 107 },
115 108
116 ironListTabIndex: { 109 ironListTabIndex: {
117 type: Number, 110 type: Number,
118 observer: 'ironListTabIndexChanged_', 111 observer: 'ironListTabIndexChanged_',
119 }, 112 },
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 */ 356 */
364 HistoryItem.searchResultsTitle = function(numberOfResults, searchTerm) { 357 HistoryItem.searchResultsTitle = function(numberOfResults, searchTerm) {
365 var resultId = numberOfResults == 1 ? 'searchResult' : 'searchResults'; 358 var resultId = numberOfResults == 1 ? 'searchResult' : 'searchResults';
366 return loadTimeData.getStringF( 359 return loadTimeData.getStringF(
367 'foundSearchResults', numberOfResults, loadTimeData.getString(resultId), 360 'foundSearchResults', numberOfResults, loadTimeData.getString(resultId),
368 searchTerm); 361 searchTerm);
369 }; 362 };
370 363
371 return {HistoryItem: HistoryItem}; 364 return {HistoryItem: HistoryItem};
372 }); 365 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698