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

Unified Diff: Source/devtools/front_end/DOMAgent.js

Issue 23201018: DevTools: add "Jump to Relayout Boundary" context menu item in Elements panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/devtools/front_end/DOMAgent.js
diff --git a/Source/devtools/front_end/DOMAgent.js b/Source/devtools/front_end/DOMAgent.js
index 3f948b9ce6eb7103d79cd119924fcc4fc391067d..ea4f259153befe7e8be0e4e47bf7de7fe2f620c8 100644
--- a/Source/devtools/front_end/DOMAgent.js
+++ b/Source/devtools/front_end/DOMAgent.js
@@ -604,6 +604,14 @@ WebInspector.DOMNode.prototype = {
},
/**
+ * @param {function(?Protocol.Error, DOMAgent.NodeId=)} callback
+ */
+ findRelayoutBoundary: function(callback)
+ {
+ DOMAgent.relayoutBoundaryForNode(this.id, callback);
+ },
+
+ /**
* @return {boolean}
*/
isXMLNode: function()

Powered by Google App Engine
This is Rietveld 408576698