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

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: rebaselined 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 8d2462c2c6cd847517486b0b194183c9c4eba742..11709408771d514e9d104e0ce66f0d0ff0772d85 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -623,6 +623,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) {
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Icon.js ('k') | third_party/WebKit/Source/devtools/front_end/ui/toolbar.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698