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

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

Issue 2864263002: [DevTools] Expose TCP targets config in frontend, use it for Node (Closed)
Patch Set: panel 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/ui/ListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
index 2d1aa0624a7ea8135cf519e9669950621d5b1cb5..d96d1c66e543bdeb8cd738f0a64ae7a0299c4f2d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
@@ -308,6 +308,16 @@ UI.ListWidget.Editor = class {
}
/**
+ * @param {boolean} material
+ */
+ setMaterial(material) {
+ this._commitButton.classList.toggle('material-button', material);
+ this._commitButton.classList.toggle('default', material);
+ this._cancelButton.classList.toggle('material-button', material);
+ this.element.classList.toggle('material', material);
+ }
+
+ /**
* @param {string} name
* @param {string} type
* @param {string} title

Powered by Google App Engine
This is Rietveld 408576698