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

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

Issue 2204833003: MD History: Add menu to cards on Synced Tabs page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history_improve_collapse_button
Patch Set: Fix tests Created 4 years, 4 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/synced_device_card.html
diff --git a/chrome/browser/resources/md_history/synced_device_card.html b/chrome/browser/resources/md_history/synced_device_card.html
index 5aaf1f90f50a3a0f12ed4b1ef2ee9ced8b690c96..e6d57d74d385d73689eb40764e5842969c2f9c49 100644
--- a/chrome/browser/resources/md_history/synced_device_card.html
+++ b/chrome/browser/resources/md_history/synced_device_card.html
@@ -32,20 +32,18 @@
padding: 8px 0;
}
- #open-tabs {
- -webkit-margin-start: 20px;
- color: rgb(102, 136, 238);
- cursor: pointer;
- }
-
#last-update-time {
color: var(--secondary-text-color);
}
- .card-title .icon-button {
+ #right-buttons {
-webkit-margin-end: 4px;
}
+ #menu-button {
+ -webkit-margin-end: 8px;
+ }
+
#collapse {
border-bottom: 1px solid var(--card-border-color);
overflow: hidden;
@@ -77,11 +75,17 @@
[[device]]
<span id="last-update-time">[[lastUpdateTime]]</span>
</div>
- <button is="paper-icon-button-light" class="icon-button"
- title$="[[getCollapseTitle_(cardOpen_)]]">
- <iron-icon icon="cr:expand-less" id="dropdown-indicator">
- </iron-icon>
- </button>
+ <div id="right-buttons">
+ <button is="paper-icon-button-light" id="menu-button"
+ class="icon-button" on-tap="onMenuButtonTap_">
+ <iron-icon icon="cr:more-vert"></iron-icon>
+ </button>
+ <button is="paper-icon-button-light" class="icon-button"
+ title$="[[getCollapseTitle_(cardOpen_)]]">
+ <iron-icon icon="cr:expand-less" id="dropdown-indicator">
+ </iron-icon>
+ </button>
+ </div>
</div>
<iron-collapse opened="{{cardOpen_}}" id="collapse">
@@ -99,9 +103,6 @@
hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]">
</div>
</template>
- <div class="item-container">
- <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p>
- </div>
</div>
</iron-collapse>
</div>
« no previous file with comments | « chrome/browser/resources/md_history/shared_style.html ('k') | chrome/browser/resources/md_history/synced_device_card.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698