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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/components/DOMPresentationUtils.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 * @implements {WebInspector.DOMPresentationUtils.MarkerDecorator} 494 * @implements {WebInspector.DOMPresentationUtils.MarkerDecorator}
495 */ 495 */
496 WebInspector.DOMBreakpointsSidebarPane.MarkerDecorator = function() 496 WebInspector.DOMBreakpointsSidebarPane.MarkerDecorator = function()
497 { 497 {
498 } 498 }
499 499
500 WebInspector.DOMBreakpointsSidebarPane.MarkerDecorator.prototype = { 500 WebInspector.DOMBreakpointsSidebarPane.MarkerDecorator.prototype = {
501 /** 501 /**
502 * @override 502 * @override
503 * @param {!WebInspector.DOMNode} node 503 * @param {!WebInspector.DOMNode} node
504 * @return {?string} 504 * @return {?{title: string, color: string}}
505 */ 505 */
506 decorate: function(node) 506 decorate: function(node)
507 { 507 {
508 return WebInspector.UIString("DOM Breakpoint"); 508 return { title: WebInspector.UIString("DOM Breakpoint"), color: "rgb(105 , 140, 254)" };
509 } 509 }
510 } 510 }
511 511
512 /** 512 /**
513 * @type {!WebInspector.DOMBreakpointsSidebarPane} 513 * @type {!WebInspector.DOMBreakpointsSidebarPane}
514 */ 514 */
515 WebInspector.domBreakpointsSidebarPane; 515 WebInspector.domBreakpointsSidebarPane;
OLDNEW
« 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