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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 131373004: Let the browser know the end of fling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle fling transition compositor->main thread Created 6 years, 11 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/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index d6b7a1a5d2f13c3cfec0ba2b3d083fe0363a5809..5f0d5868b97daa603947133452716f4308bbd205 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -270,7 +270,7 @@ class ContentViewCoreImpl : public ContentViewCore,
bool HasFocus();
void ConfirmTouchEvent(InputEventAckState ack_result);
- void UnhandledFlingStartEvent();
+ void OnFlingStartEventAck(InputEventAckState ack_result);
void OnScrollUpdateGestureConsumed();
void HasTouchEventHandlers(bool need_touch_events);
void OnSelectionChanged(const std::string& text);
@@ -303,6 +303,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// Returns True if the given media should be blocked to load.
bool ShouldBlockMediaRequest(const GURL& url);
+ void DidStopFlinging();
+
// --------------------------------------------------------------------------
// Methods called from native code
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698