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

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: 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 unified diff | Download patch
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 152 bool m_originalTouchEnabled;
153 bool m_originalDeviceSupportsMouse; 153 bool m_originalDeviceSupportsMouse;
154 bool m_originalDeviceSupportsTouch;
154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; 155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss;
155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; 156 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip;
156 157
157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; 158 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
158 FrontendMessageQueue m_frontendMessageQueue; 159 FrontendMessageQueue m_frontendMessageQueue;
159 }; 160 };
160 161
161 } // namespace blink 162 } // namespace blink
162 163
163 #endif 164 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698