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

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

Issue 2096183002: DevTools: Added styling to focused checkboxes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index 48a123be6190e5f985b221067fab74b695a08a58..695643f04bb83756a64061dfe68681e6c583b30f 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1504,6 +1504,15 @@ WebInspector.appendStyle = function(node, cssFile)
this.checkboxElement.style.borderColor = color;
},
+ /**
+ * @param {boolean} focus
+ * @this {Element}
+ */
+ set visualizeFocus(focus)
+ {
+ this.checkboxElement.classList.toggle("dt-checkbox-visualize-focus", focus);
+ },
+
__proto__: HTMLLabelElement.prototype
});

Powered by Google App Engine
This is Rietveld 408576698