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

Side by Side Diff: chrome/browser/resources/md_downloads/crisper.js

Issue 2167883002: MD Downloads: fix clear all keyboard shortcut on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/downloads.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 /** 5 /**
6 * @fileoverview Assertion support. 6 * @fileoverview Assertion support.
7 */ 7 */
8 8
9 /** 9 /**
10 * Verify |condition| is truthy and return |condition| if so. 10 * Verify |condition| is truthy and return |condition| if so.
(...skipping 10554 matching lines...) Expand 10 before | Expand all | Expand 10 after
10565 } 10565 }
10566 10566
10567 this.setValue(''); 10567 this.setValue('');
10568 this.$.searchInput.blur(); 10568 this.$.searchInput.blur();
10569 }, 10569 },
10570 10570
10571 /** @private */ 10571 /** @private */
10572 toggleShowingSearch_: function() { 10572 toggleShowingSearch_: function() {
10573 this.showingSearch = !this.showingSearch; 10573 this.showingSearch = !this.showingSearch;
10574 }, 10574 },
10575
10576 /** @return {boolean} */
10577 isSearchFocused: function() {
10578 return this.$.searchTerm.focused;
10579 }
10575 }; 10580 };
10576 (function() { 10581 (function() {
10577 'use strict'; 10582 'use strict';
10578 10583
10579 Polymer.IronA11yAnnouncer = Polymer({ 10584 Polymer.IronA11yAnnouncer = Polymer({
10580 is: 'iron-a11y-announcer', 10585 is: 'iron-a11y-announcer',
10581 10586
10582 properties: { 10587 properties: {
10583 10588
10584 /** 10589 /**
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
11643 Manager.get().updateItem_(index, data); 11648 Manager.get().updateItem_(index, data);
11644 }; 11649 };
11645 11650
11646 return {Manager: Manager}; 11651 return {Manager: Manager};
11647 }); 11652 });
11648 // Copyright 2015 The Chromium Authors. All rights reserved. 11653 // Copyright 2015 The Chromium Authors. All rights reserved.
11649 // Use of this source code is governed by a BSD-style license that can be 11654 // Use of this source code is governed by a BSD-style license that can be
11650 // found in the LICENSE file. 11655 // found in the LICENSE file.
11651 11656
11652 window.addEventListener('load', downloads.Manager.onLoad); 11657 window.addEventListener('load', downloads.Manager.onLoad);
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/downloads.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698