Chromium Code Reviews

Unified Diff: Source/core/dom/Document.h

Issue 338543003: Gesture event hit test refactoring and reduction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Esprehn CR feedback Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 4a766af59865d9d2cd5c4800b50d6ac08cb461e4..5c7c9b1a3ff2cb41c07a12c94835dfa87d13ae37 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -86,6 +86,8 @@ class ElementDataCache;
class Event;
class EventFactoryBase;
class EventListener;
+template <typename EventType>
+class EventWithHitTestResults;
class ExceptionState;
class FastTextAutosizer;
class FloatQuad;
@@ -114,7 +116,6 @@ class LocalFrame;
class Location;
class MainThreadTaskRunner;
class MediaQueryMatcher;
-class MouseEventWithHitTestResults;
class NodeFilter;
class NodeIterator;
class Page;
@@ -151,6 +152,7 @@ class WebGLRenderingContext;
struct AnnotatedRegionValue;
struct IconURL;
+typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults;
typedef int ExceptionCode;
enum StyleResolverUpdateMode {

Powered by Google App Engine