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

Unified Diff: Source/web/WebDevToolsAgentImpl.h

Issue 145003002: [DevTools] Switch from blink-based to content-based touch emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
Index: Source/web/WebDevToolsAgentImpl.h
diff --git a/Source/web/WebDevToolsAgentImpl.h b/Source/web/WebDevToolsAgentImpl.h
index 273200181693885cc5f84687f72eb7f0229ee636..b9d8c91807af3c8950315f8d415d351ffedd44b2 100644
--- a/Source/web/WebDevToolsAgentImpl.h
+++ b/Source/web/WebDevToolsAgentImpl.h
@@ -108,6 +108,7 @@ public:
virtual void clearBrowserCookies() OVERRIDE;
virtual void overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) OVERRIDE;
+ virtual void setTouchEventEmulationEnabled(bool) OVERRIDE;
virtual void getAllocatedObjects(HashSet<const void*>&) OVERRIDE;
virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t>&) OVERRIDE;
@@ -144,6 +145,9 @@ private:
bool m_emulateViewportEnabled;
bool m_originalViewportEnabled;
bool m_isOverlayScrollbarsEnabled;
+ bool m_touchEventEmulationEnabled;
+ bool m_originalTouchEnabled;
+ bool m_originalDeviceSupportsMouse;
typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
FrontendMessageQueue m_frontendMessageQueue;
};

Powered by Google App Engine
This is Rietveld 408576698