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

Unified Diff: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 1300743002: DevTools: render DOM markers with their colors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 5 years, 4 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 | « no previous file | Source/devtools/front_end/components/DOMPresentationUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
diff --git a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 3eba21b2e23cedfa5ecbfe41cb5890e1ace741cd..65e6d856106e13322644f62b5071434436a699aa 100644
--- a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -501,11 +501,11 @@ WebInspector.DOMBreakpointsSidebarPane.MarkerDecorator.prototype = {
/**
* @override
* @param {!WebInspector.DOMNode} node
- * @return {?string}
+ * @return {?{title: string, color: string}}
*/
decorate: function(node)
{
- return WebInspector.UIString("DOM Breakpoint");
+ return { title: WebInspector.UIString("DOM Breakpoint"), color: "rgb(105, 140, 254)" };
}
}
« no previous file with comments | « no previous file | Source/devtools/front_end/components/DOMPresentationUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698