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

Unified Diff: Source/core/inspector/InspectorPageAgent.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
« no previous file with comments | « no previous file | Source/core/inspector/InspectorPageAgent.cpp » ('j') | Source/web/WebDevToolsAgentImpl.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index ced733a5413f9d5f21f8eaf416dd7b3b899e0659..cfbbd7b01dcf2604556d9a31a7e844669b122306 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -102,6 +102,7 @@ public:
virtual void deleteCookie(ErrorString*, const String& cookieName, const String& url) OVERRIDE;
virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameResourceTree>&) OVERRIDE;
virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, String* content, bool* base64Encoded) OVERRIDE;
+ virtual void hasTouchInputs(ErrorString*, bool* result) OVERRIDE;
virtual void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVERRIDE;
virtual void setDocumentContent(ErrorString*, const String& frameId, const String& html) OVERRIDE;
virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optionalTextAutosizing, const double* optionalFontScaleFactor) OVERRIDE;
@@ -191,6 +192,7 @@ private:
bool m_ignoreScriptsEnabledNotification;
bool m_deviceMetricsOverridden;
bool m_emulateViewportEnabled;
+ bool m_embedderDeviceSupportsTouch;
bool m_embedderTextAutosizingEnabled;
double m_embedderFontScaleFactor;
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorPageAgent.cpp » ('j') | Source/web/WebDevToolsAgentImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698