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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h

Issue 2763913002: Allow DOM.getNodeForLocation to skip to nearest non-shadow ancestor (Closed)
Patch Set: Use Common.moduleSettings value to in/exclude UA shadow dom Created 3 years, 9 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: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
index f5849ac29c79f392c7ecc9fbb74e84b4883d4e5d..ac155c304191e85206762ad01b44cd33dfb929c6 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
@@ -220,7 +220,11 @@ class CORE_EXPORT InspectorDOMAgent final
protocol::Response getBoxModel(
int nodeId,
std::unique_ptr<protocol::DOM::BoxModel>*) override;
- protocol::Response getNodeForLocation(int x, int y, int* outNodeId) override;
+ protocol::Response getNodeForLocation(
+ int x,
+ int y,
+ protocol::Maybe<bool> includeUserAgentShadowDOM,
+ int* outNodeId) override;
protocol::Response getRelayoutBoundary(int nodeId, int* outNodeId) override;
protocol::Response getHighlightObjectForTest(
int nodeId,

Powered by Google App Engine
This is Rietveld 408576698