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

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

Issue 2172563002: [MD History] Use openForeignSession message to open foreign session tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_menu_up
Patch Set: Created 4 years, 5 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 e6948ea69667ae80ce8be6e1782bdf63d5aa6ac7..b1725de467c5f1323bbffee2f8ab06cf7ce6e66c 100644
--- a/chrome/browser/resources/md_history/synced_device_card.html
+++ b/chrome/browser/resources/md_history/synced_device_card.html
@@ -5,6 +5,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="chrome://resources/html/icon.html">
+<link rel="import" href="chrome://history/browser_service.html">
<link rel="import" href="chrome://history/searched_label.html">
<link rel="import" href="chrome://history/shared_style.html">
@@ -90,7 +91,9 @@
<template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list">
<div id="item-container">
<div id="icon" class="website-icon"></div>
- <a href="[[tab.url]]" class="website-title" title="[[tab.title]]">
+ <a href="[[tab.url]]" class="website-title" title="[[tab.title]]"
+ on-tap="openTab_" session-id="[[tab.sessionId]]"
tsergeant 2016/07/22 03:21:17 Can you use the `model` event parameter (is that i
tsergeant 2016/07/22 03:22:06 Whoops, this one was meant to be deleted -- roughl
+ window-id="[[tab.windowId]]">
<history-searched-label title="[[tab.title]]"
search-term="[[searchTerm]]"></history-searched-label>
</a>

Powered by Google App Engine
This is Rietveld 408576698