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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 1729373003: Implement touch events for site-isolation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use positioned iframe in test to simplify event targeting. Created 4 years, 10 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/frame_host/cross_process_frame_connector.h
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
index 1134eafe4a36576dcb2d5b8123f1c3d4398222a7..66afdc3acaacc7ab6b5d305fe2432730b62c20a6 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -8,7 +8,9 @@
#include <stdint.h>
#include "cc/output/compositor_frame.h"
+#include "content/browser/renderer_host/event_with_latency_info.h"
#include "content/common/content_export.h"
+#include "content/common/input/input_event_ack_state.h"
#include "ui/gfx/geometry/rect.h"
namespace blink {
@@ -95,10 +97,15 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
void UpdateCursor(const WebCursor& cursor);
gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point,
cc::SurfaceId surface_id);
+ // Pass acked touch events to the root view for gesture processing.
+ void ForwardProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
+ InputEventAckState ack_result);
// Determines whether the root RenderWidgetHostView (and thus the current
// page) has focus.
bool HasFocus();
+ // Focuses the root RenderWidgetHostView.
+ void FocusRootView();
// Returns the parent RenderWidgetHostView or nullptr it it doesn't have one.
RenderWidgetHostViewBase* GetParentRenderWidgetHostView();
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698