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

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

Issue 1586373002: MD History: Delete button in the toolbar allows deletion of multiple history-items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch_to_be_uploaded
Patch Set: Address reviewer comments. Created 4 years, 11 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/history_card.html
diff --git a/chrome/browser/resources/md_history/history_card.html b/chrome/browser/resources/md_history/history_card.html
index 706da7fc406471b9dac69d49eaee53b9cc589304..e9b9b674acf7ff3dc1c478c6d488243b0c230dea 100644
--- a/chrome/browser/resources/md_history/history_card.html
+++ b/chrome/browser/resources/md_history/history_card.html
@@ -57,7 +57,8 @@
selected="{{historyItem.selected}}"
timestamp_="[[historyItem.time]]">
</history-item>
- <template is="dom-if" if="[[needsTimeGap_(index, historyItem)]]">
+ <template is="dom-if"
+ if="[[needsTimeGap_(index, historyItems.length)]]">
calamity 2016/02/02 05:34:58 Does this function correctly if the actual item is
hsampson 2016/02/02 22:59:53 I haven't found any errors just scrolling but I th
calamity 2016/02/03 02:10:50 Can you write a regression test that recreates the
<div id="time-gap-separator"></div>
</template>
</template>

Powered by Google App Engine
This is Rietveld 408576698