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

Unified Diff: Source/devtools/front_end/profiler/ProfilesPanel.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 | « Source/devtools/front_end/profiler/CPUProfileView.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/profiler/ProfilesPanel.js
diff --git a/Source/devtools/front_end/profiler/ProfilesPanel.js b/Source/devtools/front_end/profiler/ProfilesPanel.js
index c71e22f816c91a377c997efe874f1b4afe1e6567..3e0ab77330d7d6045af0c07c5ff159c90d70981a 100644
--- a/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -449,6 +449,7 @@ WebInspector.ProfilesPanel = function()
mainView.show(this.mainElement());
this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(this);
+ this.sidebarTree.setFocusable(false);
this.sidebarTree.appendChild(this.profilesItemTreeElement);
this.profileViews = createElement("div");
@@ -797,6 +798,7 @@ WebInspector.ProfilesPanel.prototype = {
this.closeVisibleView();
view.show(this.profileViews);
+ view.focus();
this.visibleView = view;
« no previous file with comments | « Source/devtools/front_end/profiler/CPUProfileView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698