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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js

Issue 2805593002: DevTools: Navigate TabbedPane with arrow keys (Closed)
Patch Set: Fix stray space in test Created 3 years, 7 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
Index: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
index 666a36e1fa67919496f3aed16d3ba24142fd4533..bc9db3d7a19382ee74cfd82e3ad60f6f2d230fc0 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
@@ -106,13 +106,15 @@ UI.FilterBar = class extends UI.HBox {
this._showingWidget = true;
this.showWidget();
this._showingWidget = false;
- this._focusTextField();
} else {
this.hideWidget();
}
}
- _focusTextField() {
+ /**
+ * @override
+ */
+ focus() {
for (var i = 0; i < this._filters.length; ++i) {
if (this._filters[i] instanceof UI.TextFilterUI) {
var textFilterUI = /** @type {!UI.TextFilterUI} */ (this._filters[i]);

Powered by Google App Engine
This is Rietveld 408576698