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

Unified Diff: chrome/browser/resources/md_history/grouped_list.html

Issue 2207323002: [MD History] Factor out a common HistoryListBehavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/grouped_list.html
diff --git a/chrome/browser/resources/md_history/grouped_list.html b/chrome/browser/resources/md_history/grouped_list.html
index cf1c109273175c4d5fd7647ff3bc1017ec45aed1..76a750d0b86e5fdb16ec41054043a66d44dd4fcd 100644
--- a/chrome/browser/resources/md_history/grouped_list.html
+++ b/chrome/browser/resources/md_history/grouped_list.html
@@ -3,6 +3,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://history/constants.html">
<link rel="import" href="chrome://history/history_item.html">
+<link rel="import" href="chrome://history/history_list_behavior.html">
<link rel="import" href="chrome://history/shared_style.html">
<dom-module id="history-grouped-list">
@@ -66,11 +67,11 @@
}
</style>
<div id="no-results" class="centered-message"
- hidden$="[[hasResults_(groupedHistoryData_.length)]]">
- [[noResultsMessage_(searchedTerm, querying)]]
+ hidden$="[[hasResults(groupedHistoryData_.length)]]">
+ [[noResultsMessage(searchedTerm, querying)]]
</div>
<div id="main-container"
- hidden$="[[!hasResults_(groupedHistoryData_.length)]]">
+ hidden$="[[!hasResults(groupedHistoryData_.length)]]">
<template is="dom-repeat" items="[[groupedHistoryData_]]" as="group"
initial-count="1" index-as="groupIndex">
<div class="group-container">
@@ -102,6 +103,8 @@
groupIndex, domainIndex, itemIndex)]]"
search-term="[[searchedTerm]]"
number-of-items="[[historyData.length]]"
+ path="[[pathForItem_(
+ groupIndex, domainIndex, itemIndex)]]"
embedded>
</history-item>
</template>
« no previous file with comments | « chrome/browser/resources/md_history/compiled_resources2.gyp ('k') | chrome/browser/resources/md_history/grouped_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698