OLD | NEW |
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 Loading... |
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; |
OLD | NEW |