[Android] Use the platform SwipeRefreshLayout
Adopt the compat library's implementation of the pull-to-refresh effect,
removing the old compositor-based approach.
This depends directly on the SwipeRefreshLayout addition in
https://codereview.chromium.org/897663003/.
BUG=428429,444134
Review URL: https://codereview.chromium.org/894193005
Cr-Commit-Position: refs/heads/master@{#325172}
diff --git a/content/browser/android/overscroll_glow.h b/content/browser/android/overscroll_glow.h
index 80a1b10..6ae45dd 100644
--- a/content/browser/android/overscroll_glow.h
+++ b/content/browser/android/overscroll_glow.h
@@ -59,9 +59,9 @@
// Update the effect according to the most recent display parameters,
// Note: All dimensions are in device pixels.
- void UpdateDisplay(const gfx::SizeF& viewport_size,
- const gfx::SizeF& content_size,
- const gfx::Vector2dF& content_scroll_offset);
+ void OnFrameUpdated(const gfx::SizeF& viewport_size,
+ const gfx::SizeF& content_size,
+ const gfx::Vector2dF& content_scroll_offset);
// Reset the effect to its inactive state, clearing any active effects.
void Reset();