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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js

Issue 2597553002: DevTools: move throttling options into the secondary toolbar in Performance tab. (Closed)
Patch Set: Created 4 years 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/ui/Toolbar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
index e552335b244e02e37e910847cc753f24b679c108..4ff267f3004ea457a35a83d999039e925a027612 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -619,6 +619,13 @@ UI.ToolbarToggle = class extends UI.ToolbarButton {
}
/**
+ * @param {boolean} withRedColor
+ */
+ setDefaultWithRedColor(withRedColor) {
+ this.element.classList.toggle('toolbar-default-with-red-color', withRedColor);
+ }
+
+ /**
* @param {boolean} toggleWithRedColor
*/
setToggleWithRedColor(toggleWithRedColor) {

Powered by Google App Engine
This is Rietveld 408576698