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

Unified Diff: Source/web/DevToolsEmulator.h

Issue 1343843004: [DevTools] Emulate hover and pointer types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: and test Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/web/DevToolsEmulator.cpp » ('j') | Source/web/DevToolsEmulator.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/web/DevToolsEmulator.cpp » ('j') | Source/web/DevToolsEmulator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698