OLD | NEW |
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 Loading... |
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; |
OLD | NEW |