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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/browser_service.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Externs for objects sent from C++ to chrome://history. 6 * @fileoverview Externs for objects sent from C++ to chrome://history.
7 * @externs 7 * @externs
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 24 matching lines...) Expand all
35 * BrowsingHistoryHandler::QueryComplete() 35 * BrowsingHistoryHandler::QueryComplete()
36 * @typedef {{finished: boolean, 36 * @typedef {{finished: boolean,
37 * hasSyncedResults: boolean, 37 * hasSyncedResults: boolean,
38 * queryEndTime: string, 38 * queryEndTime: string,
39 * queryStartTime: string, 39 * queryStartTime: string,
40 * term: string}} 40 * term: string}}
41 */ 41 */
42 var HistoryQuery; 42 var HistoryQuery;
43 43
44 /** 44 /**
45 * The type of the foreign session info object. This definition is based on
46 * chrome/browser/ui/webui/foreign_session_handler.cc:
47 * @typedef {{collapsed: boolean,
48 * deviceType: string,
49 * name: string,
50 * modifiedTime: string,
51 * tag: string,
52 * timestamp: number,
53 * windows: Array}}
54 */
55 var ForeignSession;
56
57 /**
58 * The type of the foreign session tab object. This definition is based on 45 * The type of the foreign session tab object. This definition is based on
59 * chrome/browser/ui/webui/foreign_session_handler.cc: 46 * chrome/browser/ui/webui/foreign_session_handler.cc:
60 * @typedef {{direction: string, 47 * @typedef {{direction: string,
61 * sessionId: number, 48 * sessionId: number,
62 * timestamp: number, 49 * timestamp: number,
63 * title: string, 50 * title: string,
64 * type: string, 51 * type: string,
65 * url: string}} 52 * url: string}}
66 */ 53 */
67 var ForeignSessionTab; 54 var ForeignSessionTab;
55
56 /**
57 * The type of the foreign session tab object. This definition is based on
58 * chrome/browser/ui/webui/foreign_session_handler.cc:
59 * @typedef {{timestamp: number,
60 * userVisibleTimestamp: string,
61 * sessionId: number,
62 * tabs: Array<ForeignSessionTab>}}
63 */
64 var ForeignSessionWindow;
65
66 /**
67 * The type of the foreign session info object. This definition is based on
68 * chrome/browser/ui/webui/foreign_session_handler.cc:
69 * @typedef {{collapsed: boolean,
70 * deviceType: string,
71 * name: string,
72 * modifiedTime: string,
73 * tag: string,
74 * timestamp: number,
75 * windows: Array<ForeignSessionWindow>}}
76 */
77 var ForeignSession;
OLDNEW
« 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