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

Unified Diff: third_party/WebKit/Source/core/layout/HitTestResult.h

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: Created 3 years, 11 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/layout/HitTestResult.h
diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.h b/third_party/WebKit/Source/core/layout/HitTestResult.h
index 18225cff8b1ee158fc0ed292904c7c185b00701d..ff5c464228f02e7944df64862e1f7faaaea9265a 100644
--- a/third_party/WebKit/Source/core/layout/HitTestResult.h
+++ b/third_party/WebKit/Source/core/layout/HitTestResult.h
@@ -154,6 +154,9 @@ class CORE_EXPORT HitTestResult {
bool isLiveLink() const;
bool isContentEditable() const;
+ const String& canvasRegionId() const { return m_canvasRegionId; }
+ void setCanvasRegionId(const String& id) { m_canvasRegionId = id; }
+
bool isOverLink() const;
bool isCacheable() const { return m_cacheable; }
@@ -208,6 +211,7 @@ class CORE_EXPORT HitTestResult {
// border/padding area of a LayoutPart for example).
mutable Member<NodeSet> m_listBasedTestResult;
+ String m_canvasRegionId;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698