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

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

Issue 1308273003: Resend unconsumed scroll update from guest back to embedder (WebView Scroll Bubble). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove GestureEventObserver now that we don't forward fling GestureScrollUpdates. Created 5 years, 3 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 56ef44edfc80fe2b97256b5e65869543e0c92356..5c179d650d0748e55da48b335e9aa66f5c234785 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -459,6 +459,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
renderer_initialized_ = renderer_initialized;
}
+ bool is_in_gesture_scroll() { return is_in_gesture_scroll_; }
kenrb 2015/09/14 15:48:51 Is there a way to avoid exposing this and keeping
wjmaclean 2015/09/14 20:47:21 Yes, but it involves detecting |resendSource| (now
+
protected:
RenderWidgetHostImpl* AsRenderWidgetHostImpl() override;
@@ -781,6 +783,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// not sent to the renderer.
bool has_touch_handler_;
+ bool is_in_gesture_scroll_;
+
scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_;
scoped_ptr<TouchEmulator> touch_emulator_;

Powered by Google App Engine
This is Rietveld 408576698