Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_icons.html"> | |
|
michaelpg
2016/05/11 16:50:48
now "icons.html"
lshang
2016/05/12 04:30:26
Done.
| |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <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"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 8 <link rel="import" href="chrome://resources/html/util.html"> | 8 <link rel="import" href="chrome://resources/html/util.html"> |
| 9 <link rel="import" href="chrome://history/shared_style.html"> | 9 <link rel="import" href="chrome://history/shared_style.html"> |
| 10 <link rel="import" href="chrome://history/history_icons.html"> | |
| 10 | 11 |
| 11 <dom-module id="history-item"> | 12 <dom-module id="history-item"> |
| 12 <template> | 13 <template> |
| 13 <style include="shared-style"> | 14 <style include="shared-style"> |
| 14 :host { | 15 :host { |
| 15 @apply(--layout-center); | 16 @apply(--layout-center); |
| 16 @apply(--layout-vertical); | 17 @apply(--layout-vertical); |
| 17 padding: 0 var(--card-padding-side); | 18 padding: 0 var(--card-padding-side); |
| 18 } | 19 } |
| 19 | 20 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 123 <div id="item-container"> | 124 <div id="item-container"> |
| 124 <paper-checkbox id="checkbox" on-tap="onCheckboxSelected_" | 125 <paper-checkbox id="checkbox" on-tap="onCheckboxSelected_" |
| 125 checked="{{selected}}" disabled="[[selectionNotAllowed_()]]"> | 126 checked="{{selected}}" disabled="[[selectionNotAllowed_()]]"> |
| 126 </paper-checkbox> | 127 </paper-checkbox> |
| 127 <span id="time-accessed">[[item.readableTimestamp]]</span> | 128 <span id="time-accessed">[[item.readableTimestamp]]</span> |
| 128 <div class="website-icon" id="icon"></div> | 129 <div class="website-icon" id="icon"></div> |
| 129 <div id="title-and-domain"> | 130 <div id="title-and-domain"> |
| 130 <a href="[[item.url]]" id="title" class="website-title"></a> | 131 <a href="[[item.url]]" id="title" class="website-title"></a> |
| 131 <span id="domain">[[item.domain]]</span> | 132 <span id="domain">[[item.domain]]</span> |
| 132 </div> | 133 </div> |
| 133 <iron-icon icon="star" id="bookmark-star"></iron-icon> | 134 <iron-icon icon="history-icons:star" id="bookmark-star"></iron-icon> |
| 134 <paper-icon-button icon="more-vert" id="menu-button" | 135 <paper-icon-button icon="cr-icons:more-vert" id="menu-button" |
|
michaelpg
2016/05/11 16:50:48
now "cr:more-vert"
lshang
2016/05/12 04:30:26
Done.
| |
| 135 on-tap="onMenuButtonTap_"> | 136 on-tap="onMenuButtonTap_"> |
| 136 </paper-icon-button> | 137 </paper-icon-button> |
| 137 </div> | 138 </div> |
| 138 <template is="dom-if" if="[[hasTimeGap]]"> | 139 <template is="dom-if" if="[[hasTimeGap]]"> |
| 139 <div id="time-gap-separator"></div> | 140 <div id="time-gap-separator"></div> |
| 140 </template> | 141 </template> |
| 141 </div> | 142 </div> |
| 142 </template> | 143 </template> |
| 143 <script src="chrome://history/history_item.js"></script> | 144 <script src="chrome://history/history_item.js"></script> |
| 144 </dom-module> | 145 </dom-module> |
| OLD | NEW |