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

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

Issue 821223002: Pass gesture detector config type when enabling touch emulator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@touch-emulator-enabled
Patch Set: Created 6 years 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 d42c1c1062aa9bce26012e5ef0a3a56f74af2ee8..92db747731e2daf839b1895830ae73e13516254f 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -39,6 +39,7 @@
#include "ipc/ipc_listener.h"
#include "ui/base/ime/text_input_mode.h"
#include "ui/base/ime/text_input_type.h"
+#include "ui/events/gesture_detection/gesture_provider_config_helper.h"
#include "ui/events/latency_info.h"
#include "ui/gfx/native_widget_types.h"
@@ -270,7 +271,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
const ui::LatencyInfo& ui_latency);
// Enables/disables touch emulation using mouse event. See TouchEmulator.
- void SetTouchEventEmulationEnabled(bool enabled);
+ void SetTouchEventEmulationEnabled(
+ bool enabled, ui::GestureProviderConfigType config_type);
jdduke (slow) 2015/01/14 15:54:17 This looks fine, I guess the alternative is |Disab
dgozman 2015/01/15 11:07:11 Yeah, I considered this and decided it's not worth
// TouchEmulatorClient implementation.
void ForwardGestureEvent(

Powered by Google App Engine
This is Rietveld 408576698