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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.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, 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/html/canvas/CanvasRenderingContext.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
index 12886881a11c99fdd9d3fa925539f4e45979b6ec..9e3dda906d9e72a330a2c8e89a0f740ba82fa985 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -109,6 +109,7 @@ public:
virtual unsigned hitRegionsCount() const { return 0; }
virtual void setFont(const String&) { }
virtual void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) { }
+ virtual Node* getControlAndUpdateEvent(Event& event) { return nullptr; }
// WebGL-specific interface
virtual bool is3d() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698