| Index: chrome/browser/resources/md_history/history_toolbar.js
|
| diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js
|
| index 400ad21e3b0f6c0ffe4366c386a373feea039476..e28bbaf05331f0d58c1ff972e51f956f5daa1124 100644
|
| --- a/chrome/browser/resources/md_history/history_toolbar.js
|
| +++ b/chrome/browser/resources/md_history/history_toolbar.js
|
| @@ -41,17 +41,6 @@ Polymer({
|
| reflectToAttribute: true,
|
| },
|
|
|
| - // The period to search over. Matches BrowsingHistoryHandler::Range.
|
| - groupedRange: {
|
| - type: Number,
|
| - reflectToAttribute: true,
|
| - },
|
| -
|
| - showGroupedControls: {
|
| - type: Boolean,
|
| - reflectToAttribute: true,
|
| - },
|
| -
|
| // Show an (i) button on the right of the toolbar to display a notice about
|
| // synced history.
|
| showSyncNotice: {
|
| @@ -67,11 +56,6 @@ Polymer({
|
|
|
| hasMoreResults: Boolean,
|
|
|
| - groupedOffset: Number,
|
| -
|
| - // Whether domain-grouped history is enabled.
|
| - isGroupedMode: Boolean,
|
| -
|
| querying: Boolean,
|
|
|
| queryInfo: Object,
|
| @@ -206,58 +190,4 @@ Polymer({
|
| numberOfItemsSelected_: function(count) {
|
| return count > 0 ? loadTimeData.getStringF('itemsSelected', count) : '';
|
| },
|
| -
|
| - /** @private */
|
| - getHistoryInterval_: function() {
|
| - var info = this.queryInfo;
|
| - if (!info)
|
| - return;
|
| -
|
| - if (this.groupedRange == HistoryRange.WEEK)
|
| - return info.queryInterval;
|
| -
|
| - if (this.groupedRange == HistoryRange.MONTH)
|
| - return info.queryStartMonth;
|
| - },
|
| -
|
| - /**
|
| - * @param {Event} e
|
| - * @private
|
| - */
|
| - onTabSelected_: function(e) {
|
| - this.fire(
|
| - 'change-query', {range: Number(e.detail.item.getAttribute('value'))});
|
| - },
|
| -
|
| - /**
|
| - * @param {number} newOffset
|
| - * @private
|
| - */
|
| - changeOffset_: function(newOffset) {
|
| - if (!this.querying)
|
| - this.fire('change-query', {offset: newOffset});
|
| - },
|
| -
|
| - /** @private */
|
| - onTodayTap_: function() {
|
| - this.changeOffset_(0);
|
| - },
|
| -
|
| - /** @private */
|
| - onPrevTap_: function() {
|
| - this.changeOffset_(this.groupedOffset + 1);
|
| - },
|
| -
|
| - /** @private */
|
| - onNextTap_: function() {
|
| - this.changeOffset_(this.groupedOffset - 1);
|
| - },
|
| -
|
| - /**
|
| - * @private
|
| - * @return {boolean}
|
| - */
|
| - isToday_: function() {
|
| - return this.groupedOffset == 0;
|
| - },
|
| });
|
|
|