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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/core/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 415355203cc247ac165ee6aeac6040fa066e5589..5fba4d5d9b13ab874c45de62b4ffe51626b507dc 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -180,8 +180,11 @@ public:
void notifyListenersCanvasChanged();
+ std::pair<Element*, String> getControlAndIDIfHitRegionExists(const LayoutPoint&);
+
protected:
void didMoveToNewDocument(Document& oldDocument) override;
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
private:
explicit HTMLCanvasElement(Document&);

Powered by Google App Engine
This is Rietveld 408576698