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

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

Issue 2912563003: DevTools: cleanup button styles (Closed)
Patch Set: fix test Created 3 years, 7 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/profiler/ProfileLauncherView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
index 0fc88a57fdb9200a5ab6f819d9afd1b45f270fbd..7cc895cd5a36183a0bcf31cac1e09cdc400bcac6 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
@@ -47,10 +47,11 @@ Profiler.ProfileLauncherView = class extends UI.VBox {
targetDiv.createChild('div').textContent = Common.UIString('Target:');
var targetsSelect = targetDiv.createChild('select', 'chrome-select');
new Profiler.TargetsComboBoxController(targetsSelect, targetDiv);
- this._controlButton = UI.createTextButton('', this._controlButtonClicked.bind(this));
- controlDiv.appendChild(this._controlButton);
+ this._controlButton = UI.createTextButton('', this._controlButtonClicked.bind(this), 'profile-launcher-button');
+ this._contentElement.appendChild(this._controlButton);
this._recordButtonEnabled = true;
- this._loadButton = UI.createTextButton(Common.UIString('Load'), this._loadButtonClicked.bind(this), 'load-profile');
+ this._loadButton =
+ UI.createTextButton(Common.UIString('Load'), this._loadButtonClicked.bind(this), 'profile-launcher-button');
this._contentElement.appendChild(this._loadButton);
this._selectedProfileTypeSetting = Common.settings.createSetting('selectedProfileType', 'CPU');

Powered by Google App Engine
This is Rietveld 408576698