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

Side by Side Diff: Source/devtools/front_end/components/DOMPresentationUtils.js

Issue 1273313002: DevTools: introduce dom markers, decorate hidden, forced state and breakpoint elements using marker… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 4 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
5 * Copyright (C) 2009 Joseph Pecoraro 5 * Copyright (C) 2009 Joseph Pecoraro
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 WebInspector.DOMNodePathStep.prototype = { 602 WebInspector.DOMNodePathStep.prototype = {
603 /** 603 /**
604 * @override 604 * @override
605 * @return {string} 605 * @return {string}
606 */ 606 */
607 toString: function() 607 toString: function()
608 { 608 {
609 return this.value; 609 return this.value;
610 } 610 }
611 } 611 }
612
613 WebInspector.DOMPresentationUtils.GenericMarkers = {
614 PseudoState: "pseudo-state",
dgozman 2015/08/07 23:35:05 These are defined here, but only used in elements
pfeldman 2015/08/10 21:25:16 Done.
615 Hidden: "hidden"
616 };
617
618 /**
619 * @interface
620 */
621 WebInspector.DOMPresentationUtils.MarkerDecorator = function()
622 {
623 }
624
625 WebInspector.DOMPresentationUtils.MarkerDecorator.prototype = {
626 /**
627 * @param {!WebInspector.DOMNode} node
628 * @return {?string}
629 */
630 decorate: function(node) { }
631 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698