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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js

Issue 2377193004: [DevTools] Rework some focus code. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
index 38a08ae989b049ff8e4c56af042ac4dfc87e725a..c692823977ec301e8fcc78dc9e0ddeca17156ba1 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
@@ -47,6 +47,7 @@ WebInspector.ConsolePanel.prototype = {
if (wrapper && wrapper.isShowing())
WebInspector.inspectorView.setDrawerMinimized(true);
this._view.show(this.element);
+ this._view.focus();
},
/**

Powered by Google App Engine
This is Rietveld 408576698