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

Side by Side Diff: chrome/browser/resources/md_history/constants.js

Issue 2084843002: [MD History] Add history-list-container between app and history lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tim_toolbar
Patch Set: address comments Created 4 years, 6 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // Globals: 5 // Globals:
6 /** @const */ var RESULTS_PER_PAGE = 150; 6 /** @const */ var RESULTS_PER_PAGE = 150;
7 7
8 /** 8 /**
9 * Amount of time between pageviews that we consider a 'break' in browsing, 9 * Amount of time between pageviews that we consider a 'break' in browsing,
10 * measured in milliseconds. 10 * measured in milliseconds.
11 * @const 11 * @const
12 */ 12 */
13 var BROWSING_GAP_TIME = 15 * 60 * 1000; 13 var BROWSING_GAP_TIME = 15 * 60 * 1000;
14 14
15 /** 15 /**
16 * @enum {number} 16 * @enum {number}
17 */ 17 */
18 var HistoryRange = { 18 var HistoryRange = {
19 ALL_TIME: 0, 19 ALL_TIME: 0,
20 WEEK: 1, 20 WEEK: 1,
21 MONTH: 2 21 MONTH: 2
22 }; 22 };
23
24 // Types:
25 /**
26 * @typedef {{groupedOffset: number,
27 * incremental: boolean,
28 * querying: boolean,
29 * range: HistoryRange,
30 * searchTerm: string}}
31 */
32 var QueryState;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698