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

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: removed settings getters 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') | no next file with comments »
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..9dd983c4c08227a0d909437a7626cd71ff3efe19 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,10 @@ public:
void setDoubleTapToZoomEnabled(bool);
bool doubleTapToZoomEnabled() const;
void setHidePinchScrollbarsNearMinScale(bool);
+ void setAvailablePointerTypes(int);
+ void setPrimaryPointerType(PointerType);
+ void setAvailableHoverTypes(int);
+ void setPrimaryHoverType(HoverType);
// Emulation.
void enableDeviceEmulation(const WebDeviceEmulationParams&);
@@ -65,6 +70,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698