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

Unified Diff: content/browser/renderer_host/input/touch_emulator.h

Issue 474213002: DevTools: control touch emulation from the browser side only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment addressed. Created 6 years, 4 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: content/browser/renderer_host/input/touch_emulator.h
diff --git a/content/browser/renderer_host/input/touch_emulator.h b/content/browser/renderer_host/input/touch_emulator.h
index aef7899adfdfa2fb93f3259a2c2ee938daf89bf9..467dbda5dd76bcc4fb6c9eb966e6d280255ff4c4 100644
--- a/content/browser/renderer_host/input/touch_emulator.h
+++ b/content/browser/renderer_host/input/touch_emulator.h
@@ -20,7 +20,7 @@ class CONTENT_EXPORT TouchEmulator : public ui::GestureProviderClient {
explicit TouchEmulator(TouchEmulatorClient* client);
virtual ~TouchEmulator();
- void Enable(bool allow_pinch);
+ void Enable();
void Disable();
// Note that TouchEmulator should always listen to touch events and their acks
@@ -74,7 +74,6 @@ class CONTENT_EXPORT TouchEmulator : public ui::GestureProviderClient {
// Disabled emulator does only process touch acks left from previous
// emulation. It does not intercept any events.
bool enabled_;
- bool allow_pinch_;
// While emulation is on, default cursor is touch. Pressing shift changes
// cursor to the pinch one.
« no previous file with comments | « content/browser/devtools/renderer_overrides_handler.cc ('k') | content/browser/renderer_host/input/touch_emulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698