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

Side by Side 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: Even more 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 unified diff | Download patch
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 WebViewImpl* m_webViewImpl; 142 WebViewImpl* m_webViewImpl;
143 bool m_attached; 143 bool m_attached;
144 bool m_generatingEvent; 144 bool m_generatingEvent;
145 145
146 bool m_deviceMetricsEnabled; 146 bool m_deviceMetricsEnabled;
147 bool m_emulateViewportEnabled; 147 bool m_emulateViewportEnabled;
148 bool m_originalViewportEnabled; 148 bool m_originalViewportEnabled;
149 bool m_isOverlayScrollbarsEnabled; 149 bool m_isOverlayScrollbarsEnabled;
150 150
151 bool m_touchEventEmulationEnabled; 151 bool m_touchEventEmulationEnabled;
152 bool m_originalTouchEnabled;
153 bool m_originalDeviceSupportsMouse;
154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; 152 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss;
155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; 153 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip;
156 154
157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; 155 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
158 FrontendMessageQueue m_frontendMessageQueue; 156 FrontendMessageQueue m_frontendMessageQueue;
159 }; 157 };
160 158
161 } // namespace blink 159 } // namespace blink
162 160
163 #endif 161 #endif
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698