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

Unified Diff: Source/core/testing/Internals.idl

Issue 300223009: Implement basic parts of hit regions on canvas2d. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: exclude clipping region part Created 6 years, 6 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: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index 67fdb0c7cbabe77bc73126172f07a101dd0d2d1d..8d1e3ce0c978620af22c6a8a3a700dd41320b646 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -282,4 +282,7 @@
// before calling setNetworkConnectionInfo.
void setNetworkStateNotifierTestOnly(boolean testOnly);
[RaisesException] void setNetworkConnectionInfo(DOMString type);
+
+ // This function is for testing HitRegions on Canvas2D.
+ unsigned long countHitRegions(CanvasRenderingContext2D context);
};

Powered by Google App Engine
This is Rietveld 408576698