| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 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/paper-styles/shadow.htm
l"> | 3 <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-collapse/iron-coll
apse.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
| 7 <link rel="import" href="chrome://resources/html/icon.html"> | 7 <link rel="import" href="chrome://resources/html/icon.html"> |
| 8 <link rel="import" href="chrome://history/shared_style.html"> | 8 <link rel="import" href="chrome://history/shared_style.html"> |
| 9 | 9 |
| 10 <dom-module id="history-synced-device-card"> | 10 <dom-module id="history-synced-device-card"> |
| 11 <template> | 11 <template> |
| 12 <style include="shared-style"> | 12 <style include="shared-style"> |
| 13 :host { | 13 :host { |
| 14 @apply(--layout-center); | 14 @apply(--layout-center); |
| 15 @apply(--layout-vertical); | 15 @apply(--layout-vertical); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 width: 80%; | 74 width: 80%; |
| 75 } | 75 } |
| 76 </style> | 76 </style> |
| 77 <div id="history-item-container"> | 77 <div id="history-item-container"> |
| 78 <div class="card-title" id="card-heading" aria-expanded$="[[cardOpen_]]" | 78 <div class="card-title" id="card-heading" aria-expanded$="[[cardOpen_]]" |
| 79 aria-controls="collapse" on-tap="toggleTabCard"> | 79 aria-controls="collapse" on-tap="toggleTabCard"> |
| 80 <div> | 80 <div> |
| 81 [[device]] | 81 [[device]] |
| 82 <span id="last-update-time">[[lastUpdateTime]]</span> | 82 <span id="last-update-time">[[lastUpdateTime]]</span> |
| 83 </div> | 83 </div> |
| 84 <iron-icon icon="expand-less" id="dropdown-indicator"></iron-icon> | 84 <iron-icon icon="cr:expand-less" id="dropdown-indicator"></iron-icon> |
| 85 </div> | 85 </div> |
| 86 | 86 |
| 87 <iron-collapse opened="{{cardOpen_}}" id="collapse"> | 87 <iron-collapse opened="{{cardOpen_}}" id="collapse"> |
| 88 <div id="tab-item-list"> | 88 <div id="tab-item-list"> |
| 89 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> | 89 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> |
| 90 <div id="item-container"> | 90 <div id="item-container"> |
| 91 <div id="icon" class="website-icon"></div> | 91 <div id="icon" class="website-icon"></div> |
| 92 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]"> | 92 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]"> |
| 93 [[tab.title]] | 93 [[tab.title]] |
| 94 </a> | 94 </a> |
| 95 </div> | 95 </div> |
| 96 <template is="dom-if" if="[[tab.needsWindowSeparator]]"> | 96 <template is="dom-if" if="[[tab.needsWindowSeparator]]"> |
| 97 <div id="window-separator"></div> | 97 <div id="window-separator"></div> |
| 98 </template> | 98 </template> |
| 99 </template> | 99 </template> |
| 100 <div class="item-container"> | 100 <div class="item-container"> |
| 101 <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p> | 101 <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p> |
| 102 </div> | 102 </div> |
| 103 </div> | 103 </div> |
| 104 </iron-collapse> | 104 </iron-collapse> |
| 105 </div> | 105 </div> |
| 106 </template> | 106 </template> |
| 107 <script src="chrome://history/synced_device_card.js"></script> | 107 <script src="chrome://history/synced_device_card.js"></script> |
| 108 </dom-module> | 108 </dom-module> |
| OLD | NEW |