Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 7fbc89d67dfcf5d943216bb5d87024fda3c2792d..4a32e4f4a52281d57e5f651a5efc783ab4718cca 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -72,6 +72,7 @@ |
#include "core/editing/SurroundingText.h" |
#include "core/editing/iterators/TextIterator.h" |
#include "core/editing/markup.h" |
+#include "core/events/UIEvent.h" |
#include "core/fetch/MemoryCache.h" |
#include "core/fetch/ResourceFetcher.h" |
#include "core/frame/EventHandlerRegistry.h" |
@@ -2319,4 +2320,9 @@ ClientRectList* Internals::focusRingRects(Element* element) |
return ClientRectList::create(rects); |
} |
+void Internals::setFiresTouchEvents(UIEvent* uiEvent, bool firesTouchEvents) |
+{ |
+ uiEvent->sourceDevice()->setFiresTouchEvents(firesTouchEvents); |
+} |
+ |
} // namespace blink |