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

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

Issue 2123843002: Make RWHInputEventRouter manage cross-process scroll bubbling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix, take 2 Created 4 years, 5 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
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d72969de132c48933df9f613545ab7aae46921a0..c553fcaf902f128aae5511fe5f4fbd85574cff7a 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -14,6 +14,7 @@
#include "ui/gfx/geometry/rect.h"
namespace blink {
+class WebGestureEvent;
class WebInputEvent;
struct WebScreenInfo;
}
@@ -100,9 +101,9 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
// Pass acked touch events to the root view for gesture processing.
void ForwardProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
InputEventAckState ack_result);
- // Gesture and wheel events with unused scroll deltas must be bubbled to
- // ancestors who may consume the delta.
- void BubbleScrollEvent(const blink::WebInputEvent& event);
+ // Gesture events with unused scroll deltas must be bubbled to ancestors
+ // who may consume the delta.
+ void BubbleScrollEvent(const blink::WebGestureEvent& event);
// Determines whether the root RenderWidgetHostView (and thus the current
// page) has focus.
@@ -146,6 +147,8 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
gfx::Rect child_frame_rect_;
float device_scale_factor_;
+
+ bool is_scroll_bubbling_;
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698