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

Unified Diff: Source/core/inspector/InspectorClient.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: 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/core/inspector/InspectorClient.h
diff --git a/Source/core/inspector/InspectorClient.h b/Source/core/inspector/InspectorClient.h
index d777309ee78f58e4c90839010cd15a6fbfef463c..7e7ee86b9fcfe72372af71f012fd46a8ff966853 100644
--- a/Source/core/inspector/InspectorClient.h
+++ b/Source/core/inspector/InspectorClient.h
@@ -57,6 +57,7 @@ public:
virtual void overrideDeviceMetrics(int /*width*/, int /*height*/, float /*deviceScaleFactor*/, bool /*emulateViewport*/, bool /*fitWindow*/) { }
virtual void setTouchEventEmulationEnabled(bool) { }
+ virtual bool hasTouchInputs() { return false; }
pfeldman 2014/04/18 16:23:15 This is super strange: why would you leave core/ g
dgozman 2014/04/18 17:26:27 It may be overriden, while we need the original va
pfeldman 2014/04/18 18:56:12 It still seems like it can all be done within Insp
dgozman 2014/04/21 11:46:11 Done.
virtual bool overridesShowPaintRects() { return false; }
virtual void setShowPaintRects(bool) { }
« no previous file with comments | « no previous file | Source/core/inspector/InspectorPageAgent.h » ('j') | Source/devtools/front_end/OverridesSupport.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698