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

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

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Move web_contents_view_android.h header in web_contents_android.h into cc file, modify CreateRefres… Created 4 years, 1 month 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/overscroll_controller_android.h
diff --git a/content/browser/android/overscroll_controller_android.h b/content/browser/android/overscroll_controller_android.h
index 199256c4fd62da39f9be8cd4bb916113d25519a8..2506004d2e0ee79cd0d9fe739a7ae2a2cb01fa93 100644
--- a/content/browser/android/overscroll_controller_android.h
+++ b/content/browser/android/overscroll_controller_android.h
@@ -30,15 +30,15 @@ struct DidOverscrollParams;
namespace content {
-class ContentViewCoreImpl;
-
// Glue class for handling all inputs into Android-specific overscroll effects,
// both the passive overscroll glow and the active overscroll pull-to-refresh.
// Note that all input coordinates (both for events and overscroll) are in DIPs.
class OverscrollControllerAndroid : public ui::OverscrollGlowClient {
public:
- explicit OverscrollControllerAndroid(ContentViewCoreImpl* content_view_core,
- float dpi_scale);
+ explicit OverscrollControllerAndroid(
+ ui::OverscrollRefreshHandler* overscroll_refresh_handler,
+ ui::WindowAndroidCompositor* compositor,
+ float dpi_scale);
~OverscrollControllerAndroid() override;
// Returns true if |event| is consumed by an overscroll effect, in which

Powered by Google App Engine
This is Rietveld 408576698