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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 1815093002: Canvas2d: fix event.region being null on mouseleave/out events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 c8d5000ee7b5c186062b31055563d6fefdd9c59b..8d97794a517468fce3fae4121762964670450a31 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -186,8 +186,10 @@ public:
void notifyListenersCanvasChanged();
+ // For Canvas HitRegions
bool isSupportedInteractiveCanvasFallback(const Element&);
std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint&);
+ String getIdFromControl(const Element*);
protected:
void didMoveToNewDocument(Document& oldDocument) override;

Powered by Google App Engine
This is Rietveld 408576698