Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> |
| 4 <link rel="import" href="chrome://history/history_item.html"> | 4 <link rel="import" href="chrome://history/history_item.html"> |
| 5 | 5 |
| 6 <dom-module id="history-card"> | 6 <dom-module id="history-card"> |
| 7 <template> | 7 <template> |
| 8 <style> | 8 <style> |
| 9 :host { | 9 :host { |
| 10 @apply(--layout-center); | 10 @apply(--layout-center); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 <div id="main-container"> | 47 <div id="main-container"> |
| 48 <div id="date-accessed">[[historyDate]]</div> | 48 <div id="date-accessed">[[historyDate]]</div> |
| 49 <div id="history-item-list"> | 49 <div id="history-item-list"> |
| 50 <template is="dom-repeat" items="{{historyItems}}" | 50 <template is="dom-repeat" items="{{historyItems}}" |
| 51 as="historyItem"> | 51 as="historyItem"> |
| 52 <history-item time-accessed="{{historyItem.dateTimeOfDay}}" | 52 <history-item time-accessed="{{historyItem.dateTimeOfDay}}" |
| 53 website-title="{{historyItem.title}}" | 53 website-title="{{historyItem.title}}" |
| 54 website-domain="{{historyItem.domain}}" | 54 website-domain="{{historyItem.domain}}" |
| 55 website-url="{{historyItem.url}}" | 55 website-url="{{historyItem.url}}" |
| 56 starred="{{historyItem.starred}}" | 56 starred="{{historyItem.starred}}" |
| 57 selected="{{historyItem.selected}}" | 57 selected="{{historyItem.selected}}"> |
| 58 timestamp="{{historyItem.time}}"> | |
|
calamity
2016/01/21 00:11:08
Why did this disappear?
hsampson
2016/01/21 05:34:46
Because it wasn't isn't being used yet, and later
| |
| 59 </history-item> | 58 </history-item> |
| 60 <template is="dom-if" if="{{needsTimeGap_(index, historyItem)}}"> | 59 <template is="dom-if" |
| 60 if="{{needsTimeGap_(index, historyItems.length)}}"> | |
| 61 <div id="time-gap-separator"></div> | 61 <div id="time-gap-separator"></div> |
| 62 </template> | 62 </template> |
| 63 </template> | 63 </template> |
| 64 </div> | 64 </div> |
| 65 </div> | 65 </div> |
| 66 </template> | 66 </template> |
| 67 <script src="chrome://history/history_card.js"></script> | 67 <script src="chrome://history/history_card.js"></script> |
| 68 </dom-module> | 68 </dom-module> |
| OLD | NEW |