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

Side by Side Diff: chrome/browser/resources/history/externs.js

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: axe more android stuff Created 3 years, 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Externs for objects sent from C++ to chrome://history.
7 * @externs
8 */
9
10 /**
11 * The type of the history result object. The definition is based on
12 * chrome/browser/ui/webui/browsing_history_handler.cc:
13 * BrowsingHistoryHandler::HistoryEntry::ToValue()
14 * @typedef {{allTimestamps: Array<number>,
15 * blockedVisit: boolean,
16 * dateRelativeDay: string,
17 * dateShort: string,
18 * dateTimeOfDay: string,
19 * deviceName: string,
20 * deviceType: string,
21 * domain: string,
22 * fallbackFaviconText: string,
23 * hostFilteringBehavior: number,
24 * snippet: string,
25 * starred: boolean,
26 * time: number,
27 * title: string,
28 * url: string}}
29 */
30 var HistoryEntry;
31
32 /**
33 * The type of the history results info object. The definition is based on
34 * chrome/browser/ui/webui/browsing_history_handler.cc:
35 * BrowsingHistoryHandler::QueryComplete()
36 * @typedef {{finished: boolean,
37 * hasSyncedResults: boolean,
38 * queryInterval: string,
39 * queryStartMonth: string,
40 * term: string}}
41 */
42 var HistoryQuery;
43
44 /**
45 * The type of the foreign session tab object. This definition is based on
46 * chrome/browser/ui/webui/foreign_session_handler.cc:
47 * @typedef {{direction: string,
48 * sessionId: number,
49 * timestamp: number,
50 * title: string,
51 * type: string,
52 * url: string}}
53 */
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

Powered by Google App Engine
This is Rietveld 408576698