| Index: chrome/browser/resources/md_history/synced_device_card.js
|
| diff --git a/chrome/browser/resources/md_history/synced_device_card.js b/chrome/browser/resources/md_history/synced_device_card.js
|
| index 057848cf9774f3903eb1787588f6725a04869c46..cc96c64d38e967694fe144e396ba86a933895a68 100644
|
| --- a/chrome/browser/resources/md_history/synced_device_card.js
|
| +++ b/chrome/browser/resources/md_history/synced_device_card.js
|
| @@ -7,10 +7,10 @@ Polymer({
|
|
|
| properties: {
|
| // Name of the synced device.
|
| - device: {type: String, value: ''},
|
| + device: String,
|
|
|
| // When the device information was last updated.
|
| - lastUpdateTime: {type: String, value: ''},
|
| + lastUpdateTime: String,
|
|
|
| /**
|
| * The list of tabs open for this device.
|
| @@ -35,19 +35,11 @@ Polymer({
|
|
|
| searchTerm: String,
|
|
|
| + // Internal identifier for the device.
|
| sessionTag: String,
|
| },
|
|
|
| /**
|
| - * Opens all the tabs displayed on the device in separate tabs.
|
| - * @private
|
| - */
|
| - openAllTabs_: function() {
|
| - md_history.BrowserService.getInstance().openForeignSessionAllTabs(
|
| - this.sessionTag);
|
| - },
|
| -
|
| - /**
|
| * @param {TapEvent} e
|
| * @private
|
| */
|
| @@ -97,4 +89,16 @@ Polymer({
|
| return cardOpen ? loadTimeData.getString('collapseSessionButton') :
|
| loadTimeData.getString('expandSessionButton');
|
| },
|
| +
|
| + /**
|
| + * @param {CustomEvent} e
|
| + * @private
|
| + */
|
| + onMenuButtonTap_: function(e) {
|
| + this.fire('toggle-menu', {
|
| + target: Polymer.dom(e).localTarget,
|
| + tag: this.sessionTag
|
| + });
|
| + e.stopPropagation(); // Prevent iron-collapse.
|
| + },
|
| });
|
|
|