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

Unified Diff: chrome/browser/resources/md_history/synced_device_manager.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_manager.html
diff --git a/chrome/browser/resources/md_history/synced_device_manager.html b/chrome/browser/resources/md_history/synced_device_manager.html
index c17c1b00fcbdea6e673feb3f8658efa20d8ceb51..bd8b029e7726883f03ee18a87a3e8126c5d1df2c 100644
--- a/chrome/browser/resources/md_history/synced_device_manager.html
+++ b/chrome/browser/resources/md_history/synced_device_manager.html
@@ -2,15 +2,13 @@
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.html">
-<link rel="import" href="chrome://resources/html/cr/ui/position_util.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared_menu.html">
<link rel="import" href="chrome://history/shared_style.html">
<link rel="import" href="chrome://history/synced_device_card.html">
<dom-module id="history-synced-device-manager">
- <style include="shared-style"></style>
<template>
- <style>
+ <style include="shared-style">
:host {
display: block;
overflow: auto;
@@ -87,6 +85,15 @@
$i18n{signInButton}
</paper-button>
</div>
+
+ <cr-shared-menu id="menu">
+ <paper-item class="menu-item" on-tap="onOpenAllTap_">
+ $i18n{openAll}
+ </paper-item>
+ <paper-item class="menu-item" on-tap="onDeleteSessionTap_">
+ $i18n{deleteSession}
+ </paper-item>
+ </cr-shared-menu>
</template>
<script src="chrome://history/synced_device_manager.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698