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

Unified Diff: Source/devtools/front_end/settings/FrameworkBlackboxDialog.js

Issue 423153002: DevTools: Styling for blackbox regex UI dialog. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/devtools/front_end/helpScreen.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/settings/FrameworkBlackboxDialog.js
diff --git a/Source/devtools/front_end/settings/FrameworkBlackboxDialog.js b/Source/devtools/front_end/settings/FrameworkBlackboxDialog.js
index 8920de0cfadd96de741bdf71b09a66b1e6c367dd..e3703fdbf9156dfb1f09fc0f9a5c75dc21cb6928 100644
--- a/Source/devtools/front_end/settings/FrameworkBlackboxDialog.js
+++ b/Source/devtools/front_end/settings/FrameworkBlackboxDialog.js
@@ -163,6 +163,7 @@ WebInspector.FrameworkBlackboxDialog.prototype = {
if (oldPattern && oldPattern === newPattern) {
this._entries.put(newPattern, disabled ? this._disabledLabel : this._blackboxLabel)
+ this._patternsList.itemForId(oldPattern).classList.toggle("disabled", disabled);
this._patternsList.refreshItem(newPattern);
return;
}
@@ -203,7 +204,8 @@ WebInspector.FrameworkBlackboxDialog.prototype = {
if (!pattern || this._entries.contains(pattern))
return;
this._entries.put(pattern, disabled ? this._disabledLabel : this._blackboxLabel);
- this._patternsList.addItem(pattern, null);
+ var listItem = this._patternsList.addItem(pattern, null);
+ listItem.classList.toggle("disabled", disabled);
this._resize();
},
« no previous file with comments | « Source/devtools/front_end/helpScreen.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698