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

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: Pass existing tests. 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 d31e65a207268c5b9346fc84c4302a4dc016afb7..d7260d461e8dae9f7839dfbc94e1a2500fcb727b 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -225,6 +225,7 @@ public:
void willProcessTask() override { }
void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) override;
+ std::pair<Element*, String> getControlAndIDIfHitRegionExists(const LayoutPoint& location) override;
private:
friend class CanvasRenderingContext2DAutoRestoreSkCanvas;

Powered by Google App Engine
This is Rietveld 408576698