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

Unified Diff: chrome/browser/resources/md_history/grouped_list.js

Issue 2578013002: [MD History] clang-format all javascript. (Closed)
Patch Set: rebase Created 4 years 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 | « chrome/browser/resources/md_history/constants.js ('k') | chrome/browser/resources/md_history/history.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/grouped_list.js
diff --git a/chrome/browser/resources/md_history/grouped_list.js b/chrome/browser/resources/md_history/grouped_list.js
index 062d6865bfc8a69ccebc73e096d5f67f360dc73d..f772e5270dd88d27a00339e6c520183dfce99770 100644
--- a/chrome/browser/resources/md_history/grouped_list.js
+++ b/chrome/browser/resources/md_history/grouped_list.js
@@ -22,34 +22,27 @@ Polymer({
behaviors: [HistoryListBehavior],
properties: {
- // An array of history entries in reverse chronological order.
- historyData: {
- type: Array,
+ searchedTerm: {
+ type: String,
+ value: '',
},
/**
* @type {Array<HistoryGroup>}
*/
- groupedHistoryData_: {
- type: Array,
- },
-
- searchedTerm: {
- type: String,
- value: ''
- },
+ groupedHistoryData_: Array,
- range: {
- type: Number,
- },
+ // An array of history entries in reverse chronological order.
+ historyData: Array,
queryStartTime: String,
+
queryEndTime: String,
+
+ range: Number,
},
- observers: [
- 'updateGroupedHistoryData_(range, historyData)'
- ],
+ observers: ['updateGroupedHistoryData_(range, historyData)'],
/**
* @param {!Array<!HistoryEntry>} results
@@ -106,7 +99,7 @@ Polymer({
var pushCurrentDay = function() {
days.push({
title: this.searchedTerm ? currentDayVisits[0].dateShort :
- currentDayVisits[0].dateRelativeDay,
+ currentDayVisits[0].dateRelativeDay,
domains: this.createHistoryDomains_(currentDayVisits),
});
}.bind(this);
« no previous file with comments | « chrome/browser/resources/md_history/constants.js ('k') | chrome/browser/resources/md_history/history.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698