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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h

Issue 1654653002: Canvas2d: Implement rerouting event by hit region's control. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bot errors Created 4 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/modules/canvas2d/CanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
index 05ab7972ec5803c489d83fe58b4bff6af1845b2d..0d54283ab1a03242ae2512f8f5b69662ba6c16f4 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -133,6 +133,7 @@ public:
void willProcessTask() override { }
void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) override;
+ std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint& location) override;
// SVGResourceClient implementation
void filterNeedsInvalidation() override;

Powered by Google App Engine
This is Rietveld 408576698