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

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

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make a new class SyntheticPointerActionController Created 4 years, 7 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 58829e892ed0045516424e93033314fa00d8bd2c..afa1f1b87684b718676f2eb85f5ad480d01d0872 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -34,6 +34,7 @@
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/common/input/input_event_ack_state.h"
#include "content/common/input/synthetic_gesture_packet.h"
+#include "content/common/input/synthetic_pointer_action_params.h"
#include "content/common/view_message_enums.h"
#include "content/public/browser/readback_types.h"
#include "content/public/browser/render_widget_host.h"
@@ -323,6 +324,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
std::unique_ptr<SyntheticGesture> synthetic_gesture,
const base::Callback<void(SyntheticGesture::Result)>& on_complete);
+ void QueueSyntheticPointerAction(
+ const SyntheticPointerActionParams& gesture_params,
+ const base::Callback<void(SyntheticGesture::Result)>& on_complete);
+
void CancelUpdateTextDirection();
// Update the composition node of the renderer (or WebKit).
@@ -624,6 +629,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
void OnSyntheticGestureCompleted(SyntheticGesture::Result result);
+ void OnSyntheticPointerActionCompleted(SyntheticGesture::Result result);
+
// Called when there is a new auto resize (using a post to avoid a stack
// which may get in recursive loops).
void DelayedAutoResized();

Powered by Google App Engine
This is Rietveld 408576698