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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js

Issue 2621403002: DevTools: Bring Memory panel toolbar style in sync with the rest of UI. (Closed)
Patch Set: Created 3 years, 11 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 | third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
index a6c12bf2ea85e768fabd815343ad49e06a74c3ac..1bf91155786be56ca5e52e3fb849b73613483ac8 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -74,13 +74,6 @@ Profiler.ProfileType = class extends Common.Object {
return null;
}
- /**
- * @return {!Array.<!UI.ToolbarItem>}
- */
- toolbarItems() {
- return [];
- }
-
get buttonTooltip() {
return '';
}
@@ -431,7 +424,6 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar {
toolbar.appendSeparator();
toolbar.appendToolbarItem(UI.Toolbar.createActionButtonForId('components.collect-garbage'));
- this._profileTypeToolbar = new UI.Toolbar('', this._toolbarElement);
this._profileViewToolbar = new UI.Toolbar('', this._toolbarElement);
this._profileGroups = {};
@@ -587,10 +579,6 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar {
_updateProfileTypeSpecificUI() {
this._updateToggleRecordAction(this._toggleRecordAction.toggled());
- this._profileTypeToolbar.removeToolbarItems();
- var toolbarItems = this._selectedProfileType.toolbarItems();
- for (var i = 0; i < toolbarItems.length; ++i)
- this._profileTypeToolbar.appendToolbarItem(toolbarItems[i]);
}
_reset() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698