| 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..f049bdc2cd9200ac46d1aa52407a2eb7bcd3938c 100644
|
| --- a/content/browser/android/overscroll_controller_android.h
|
| +++ b/content/browser/android/overscroll_controller_android.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/android/scoped_java_ref.h"
|
| #include "base/macros.h"
|
| #include "base/time/time.h"
|
| #include "content/common/input/input_event_ack_state.h"
|
| @@ -30,15 +31,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);
|
| + 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
|
|
|