Index: chrome/browser/resources/md_history/app.js |
diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js |
index 29ebdf37bc8108548308fcd88bf17ec144f0f146..14cac1a05eceb66a90a1c15b9212573ae821555c 100644 |
--- a/chrome/browser/resources/md_history/app.js |
+++ b/chrome/browser/resources/md_history/app.js |
@@ -21,6 +21,10 @@ Polymer({ |
'search-changed': 'searchChanged', |
}, |
+ ready: function() { |
+ this.$.toolbar.isGroupedMode = loadTimeData.getBoolean('groupByDomain'); |
+ }, |
+ |
/** |
* Listens for history-item being selected or deselected (through checkbox) |
* and changes the view of the top toolbar. |
@@ -84,6 +88,10 @@ Polymer({ |
/** @type {HistoryToolbarElement} */(this.$.toolbar).searching = false; |
if (info.finished) |
list.disableResultLoading(); |
+ |
+ var toolbar = /** @type {HistoryToolbarElement} */(this.$.toolbar); |
+ toolbar.queryStartTime = info.queryStartTime; |
+ toolbar.queryEndTime = info.queryEndTime; |
}, |
/** |