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

Unified Diff: chrome/browser/resources/history/externs.js

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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/browser_service.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/externs.js
diff --git a/chrome/browser/resources/history/externs.js b/chrome/browser/resources/history/externs.js
index 9a4712d9ab510784b51ba462978c59319f76dbb4..123c2502abc39e8bbf3ba359b83066e255b22ef8 100644
--- a/chrome/browser/resources/history/externs.js
+++ b/chrome/browser/resources/history/externs.js
@@ -42,19 +42,6 @@ var HistoryEntry;
var HistoryQuery;
/**
- * The type of the foreign session info object. This definition is based on
- * chrome/browser/ui/webui/foreign_session_handler.cc:
- * @typedef {{collapsed: boolean,
- * deviceType: string,
- * name: string,
- * modifiedTime: string,
- * tag: string,
- * timestamp: number,
- * windows: Array}}
- */
-var ForeignSession;
-
-/**
* The type of the foreign session tab object. This definition is based on
* chrome/browser/ui/webui/foreign_session_handler.cc:
* @typedef {{direction: string,
@@ -65,3 +52,26 @@ var ForeignSession;
* url: string}}
*/
var ForeignSessionTab;
+
+/**
+ * The type of the foreign session tab object. This definition is based on
+ * chrome/browser/ui/webui/foreign_session_handler.cc:
+ * @typedef {{timestamp: number,
+ * userVisibleTimestamp: string,
+ * sessionId: number,
+ * tabs: Array<ForeignSessionTab>}}
+ */
+var ForeignSessionWindow;
+
+/**
+ * The type of the foreign session info object. This definition is based on
+ * chrome/browser/ui/webui/foreign_session_handler.cc:
+ * @typedef {{collapsed: boolean,
+ * deviceType: string,
+ * name: string,
+ * modifiedTime: string,
+ * tag: string,
+ * timestamp: number,
+ * windows: Array<ForeignSessionWindow>}}
+ */
+var ForeignSession;
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/browser_service.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698