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

Side by Side Diff: chrome/browser/resources/md_history/app.crisper.js

Issue 2275653002: MD Downloads: use "big search" box like MD history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-menu-rtl
Patch Set: fix tests Created 4 years, 3 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 function PromiseResolver() { 4 function PromiseResolver() {
5 this.resolve_; 5 this.resolve_;
6 this.reject_; 6 this.reject_;
7 this.promise_ = new Promise(function(resolve, reject) { 7 this.promise_ = new Promise(function(resolve, reject) {
8 this.resolve_ = resolve; 8 this.resolve_ = resolve;
9 this.reject_ = reject; 9 this.reject_ = reject;
10 }.bind(this)); 10 }.bind(this));
(...skipping 4393 matching lines...) Expand 10 before | Expand all | Expand 10 after
4404 Polymer({ 4404 Polymer({
4405 is: 'cr-toolbar', 4405 is: 'cr-toolbar',
4406 properties: { 4406 properties: {
4407 pageName: String, 4407 pageName: String,
4408 searchPrompt: String, 4408 searchPrompt: String,
4409 clearLabel: String, 4409 clearLabel: String,
4410 menuLabel: String, 4410 menuLabel: String,
4411 spinnerActive: Boolean, 4411 spinnerActive: Boolean,
4412 showMenu: { 4412 showMenu: {
4413 type: Boolean, 4413 type: Boolean,
4414 reflectToAttribute: true, 4414 value: false
4415 value: true
4416 }, 4415 },
4417 narrow_: { 4416 narrow_: {
4418 type: Boolean, 4417 type: Boolean,
4419 reflectToAttribute: true 4418 reflectToAttribute: true
4420 }, 4419 },
4421 showingSearch_: { 4420 showingSearch_: {
4422 type: Boolean, 4421 type: Boolean,
4423 reflectToAttribute: true 4422 reflectToAttribute: true
4424 } 4423 }
4425 }, 4424 },
(...skipping 4277 matching lines...) Expand 10 before | Expand all | Expand 10 after
8703 8702
8704 case HistoryRange.MONTH: 8703 case HistoryRange.MONTH:
8705 histogramValue = HistoryPageViewHistogram.GROUPED_MONTH; 8704 histogramValue = HistoryPageViewHistogram.GROUPED_MONTH;
8706 break; 8705 break;
8707 } 8706 }
8708 break; 8707 break;
8709 } 8708 }
8710 md_history.BrowserService.getInstance().recordHistogram('History.HistoryPage View', histogramValue, HistoryPageViewHistogram.END); 8709 md_history.BrowserService.getInstance().recordHistogram('History.HistoryPage View', histogramValue, HistoryPageViewHistogram.END);
8711 } 8710 }
8712 }); 8711 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/vulcanized.html ('k') | chrome/browser/resources/md_history/app.vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698