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

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

Issue 300223009: Implement basic parts of hit regions on canvas2d. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add clip tests 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.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index bcf97a88c18039b4565603dc194ae24e80c8d85e..15abc17ebc176b16ed37038036bc5365a70d1a33 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -42,6 +42,7 @@
namespace WebCore {
+class CanvasRenderingContext2D;
class ClientRect;
class ClientRectList;
class DOMPoint;
@@ -323,6 +324,8 @@ public:
// Test must call setNetworkStateNotifierTestOnly(true) before calling setNetworkConnectionInfo.
void setNetworkConnectionInfo(const String&, ExceptionState&);
+ unsigned countHitRegions(CanvasRenderingContext2D*);
+
private:
explicit Internals(Document*);
Document* contextDocument() const;

Powered by Google App Engine
This is Rietveld 408576698