| 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
|
| deleted file mode 100644
|
| index 998626366da5e1a9654b116b425a86792d27c341..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/resources/md_history/grouped_list.html
|
| +++ /dev/null
|
| @@ -1,119 +0,0 @@
|
| -<link rel="import" href="chrome://resources/html/polymer.html">
|
| -<link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-collapse.html">
|
| -<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
|
| -<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.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">
|
| - <template>
|
| - <style include="shared-style">
|
| - :host {
|
| - display: block;
|
| - overflow: auto;
|
| - position: relative;
|
| - }
|
| -
|
| - #main-container {
|
| - @apply(--card-sizing);
|
| - align-items: center;
|
| - display: flex;
|
| - flex-direction: column;
|
| - padding-top: var(--first-card-padding-top);
|
| - }
|
| -
|
| - .domain-heading {
|
| - align-items: center;
|
| - display: flex;
|
| - height: var(--item-height);
|
| - padding: 0 20px;
|
| - }
|
| -
|
| - .domain-count {
|
| - color: var(--secondary-text-color);
|
| - padding-left: 10px;
|
| - }
|
| -
|
| - .domain-heading-text {
|
| - display: flex;
|
| - }
|
| -
|
| - .group-container {
|
| - @apply(--shadow-elevation-2dp);
|
| - background: #fff;
|
| - border-radius: 2px;
|
| - margin-bottom: var(--card-padding-between);
|
| - max-width: var(--card-max-width);
|
| - min-width: var(--card-min-width);
|
| - width: 100%;
|
| - }
|
| -
|
| - .card-title {
|
| - margin-bottom: var(--card-first-last-item-padding);
|
| - }
|
| -
|
| - .domain-heading-text {
|
| - flex: 1 1 0;
|
| - }
|
| -
|
| - .dropdown-indicator {
|
| - max-width: 16px;
|
| - }
|
| -
|
| - history-item {
|
| - padding-left: 20px;
|
| - }
|
| - </style>
|
| - <div id="no-results" class="centered-message"
|
| - hidden$="[[hasResults(groupedHistoryData_.length)]]">
|
| - [[noResultsMessage(searchedTerm, querying)]]
|
| - </div>
|
| - <div id="main-container"
|
| - hidden$="[[!hasResults(groupedHistoryData_.length)]]">
|
| - <template is="dom-repeat" items="[[groupedHistoryData_]]" as="group"
|
| - initial-count="1" index-as="groupIndex">
|
| - <div class="group-container">
|
| - <div class="card-title">
|
| - [[group.title]]
|
| - </div>
|
| -
|
| - <template is="dom-repeat" items="[[group.domains]]" as="domain"
|
| - initial-count="10" index-as="domainIndex">
|
| - <div>
|
| - <div class="domain-heading" on-tap="toggleDomainExpanded_">
|
| - <div class="domain-heading-text">
|
| - <div class="website-icon"
|
| - style="[[getWebsiteIconStyle_(domain)]]"></div>
|
| - <span>[[domain.domain]]</span>
|
| - <span class="domain-count">[[domain.visits.length]]</span>
|
| - </div>
|
| - <iron-icon icon="[[getDropdownIcon_(domain.expanded)]]"
|
| - class="dropdown-indicator"></iron-icon>
|
| - </div>
|
| - <iron-collapse opened="{{domain.expanded}}" id="collapse">
|
| - <template is="dom-if" if="[[domain.rendered]]">
|
| - <template is="dom-repeat" items="[[domain.visits]]"
|
| - as="item" initial-count="5" index-as="itemIndex">
|
| - <history-item item="[[item]]"
|
| - selected="{{item.selected}}"
|
| - has-time-gap="[[needsTimeGap_(
|
| - groupIndex, domainIndex, itemIndex)]]"
|
| - search-term="[[searchedTerm]]"
|
| - number-of-items="[[historyData.length]]"
|
| - path="[[pathForItem_(
|
| - groupIndex, domainIndex, itemIndex)]]"
|
| - embedded>
|
| - </history-item>
|
| - </template>
|
| - </template>
|
| - </iron-collapse>
|
| - </div>
|
| - </template>
|
| - </div>
|
| - </template>
|
| - </div>
|
| - </template>
|
| - <script src="chrome://history/grouped_list.js"></script>
|
| -</dom-module>
|
|
|