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

Unified Diff: Source/devtools/front_end/profiler/CPUProfileFlameChart.js

Issue 672553002: DevTools: [FlameChart] focus flamechart when it gets shown (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | Source/devtools/front_end/profiler/CPUProfileView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/profiler/CPUProfileFlameChart.js
diff --git a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
index 315f027f267f7d5a3e3237b9871b5100b643e656..ee812da7209f9b47831e0ac4463371241e4540d0 100644
--- a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
+++ b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
@@ -388,6 +388,11 @@ WebInspector.CPUProfileFlameChart = function(dataProvider)
}
WebInspector.CPUProfileFlameChart.prototype = {
+ focus: function()
+ {
+ this._mainPane.focus();
+ },
+
/**
* @param {!WebInspector.Event} event
*/
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CPUProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698