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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/downloads.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/crisper.js
diff --git a/chrome/browser/resources/md_downloads/crisper.js b/chrome/browser/resources/md_downloads/crisper.js
index 270d4d29eb2c4ea2f9e86da47b0cb380cadc938d..cf866b173dead07a10bcffa6d8412737181847c5 100644
--- a/chrome/browser/resources/md_downloads/crisper.js
+++ b/chrome/browser/resources/md_downloads/crisper.js
@@ -10572,6 +10572,11 @@ var CrSearchFieldBehavior = {
toggleShowingSearch_: function() {
this.showingSearch = !this.showingSearch;
},
+
+ /** @return {boolean} */
+ isSearchFocused: function() {
+ return this.$.searchTerm.focused;
+ }
};
(function() {
'use strict';
« 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