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

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: Created 4 years, 10 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 b67c24ce329e3078e987ae471f9e275cae29a656..c5d4ef5bfef74226623f3af0e24c61aa992c6ac8 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -228,6 +228,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