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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 474213002: DevTools: control touch emulation from the browser side only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaselined 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/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 80f05962c149e65066cb7118baa85b1d92260568..a8ec18a148ca7fa3ac4a8994ef085d8e1525fa25 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -276,7 +276,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
const ui::LatencyInfo& ui_latency);
// Enables/disables touch emulation using mouse event. See TouchEmulator.
- void SetTouchEventEmulationEnabled(bool enabled, bool allow_pinch);
+ void SetTouchEventEmulationEnabled(bool enabled);
// TouchEmulatorClient implementation.
virtual void ForwardGestureEvent(
@@ -599,7 +599,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
virtual void OnFocus();
virtual void OnBlur();
void OnSetCursor(const WebCursor& cursor);
- void OnSetTouchEventEmulationEnabled(bool enabled, bool allow_pinch);
void OnTextInputStateChanged(
const ViewHostMsg_TextInputState_Params& params);

Powered by Google App Engine
This is Rietveld 408576698