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

Unified Diff: Source/web/WebDevToolsAgentImpl.h

Issue 243233002: [DevTools] Disable touch emulation on devices with touch input. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Staying inside core Created 6 years, 8 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 29b82174dd715ec1828dc600c18bc313b272bb7f..3e352f6222008c5a09fe921e704b24266c5bff12 100644
--- a/Source/web/WebDevToolsAgentImpl.h
+++ b/Source/web/WebDevToolsAgentImpl.h
@@ -151,6 +151,7 @@ private:
bool m_touchEventEmulationEnabled;
bool m_originalTouchEnabled;
bool m_originalDeviceSupportsMouse;
+ bool m_originalDeviceSupportsTouch;
OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss;
OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip;

Powered by Google App Engine
This is Rietveld 408576698