Index: Source/web/DevToolsEmulator.h |
diff --git a/Source/web/DevToolsEmulator.h b/Source/web/DevToolsEmulator.h |
index 94baff2ad580f21482d5afef0fb92c583386f8cc..c5871445ef110f764dda178084569a8872ac654d 100644 |
--- a/Source/web/DevToolsEmulator.h |
+++ b/Source/web/DevToolsEmulator.h |
@@ -5,6 +5,7 @@ |
#ifndef DevToolsEmulator_h |
#define DevToolsEmulator_h |
+#include "core/css/PointerProperties.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/OwnPtr.h" |
@@ -37,6 +38,14 @@ public: |
void setDoubleTapToZoomEnabled(bool); |
bool doubleTapToZoomEnabled() const; |
void setHidePinchScrollbarsNearMinScale(bool); |
+ int availablePointerTypes(); |
+ PointerType primaryPointerType(); |
+ int availableHoverTypes(); |
+ HoverType primaryHoverType(); |
+ void setAvailablePointerTypes(int); |
+ void setPrimaryPointerType(PointerType); |
+ void setAvailableHoverTypes(int); |
+ void setPrimaryHoverType(HoverType); |
// Emulation. |
void enableDeviceEmulation(const WebDeviceEmulationParams&); |
@@ -65,6 +74,10 @@ private: |
bool m_embedderPreferCompositingToLCDTextEnabled; |
bool m_embedderUseMobileViewport; |
bool m_embedderPluginsEnabled; |
+ int m_embedderAvailablePointerTypes; |
+ PointerType m_embedderPrimaryPointerType; |
+ int m_embedderAvailableHoverTypes; |
+ HoverType m_embedderPrimaryHoverType; |
bool m_touchEventEmulationEnabled; |
bool m_doubleTapToZoomEnabled; |