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

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

Issue 1909423002: DevTools: ConsolePanel should delegate focus() to ConsoleView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add @override Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47a5027db527937ed338034f0e311c8604777194..e99ae4db3d4b0b97e9ea7075a125ef17b37b18e2 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePanel.js
@@ -49,6 +49,14 @@ WebInspector.ConsolePanel.prototype = {
/**
* @override
*/
+ focus: function()
+ {
+ this._view.focus();
+ },
+
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.Panel.prototype.wasShown.call(this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698