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

Unified Diff: ui/android/overscroll_glow.cc

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 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: ui/android/overscroll_glow.cc
diff --git a/ui/android/overscroll_glow.cc b/ui/android/overscroll_glow.cc
index 7f3c43da3068c44a15e0fbb1e8a8f816619d8d16..907191f282cb84e884e70e27ea56c90759074b9c 100644
--- a/ui/android/overscroll_glow.cc
+++ b/ui/android/overscroll_glow.cc
@@ -42,6 +42,13 @@ OverscrollGlow::OverscrollGlow(OverscrollGlowClient* client)
DCHECK(client);
}
+OverscrollGlow::OverscrollGlow()
+ : client_(nullptr),
+ edge_offsets_(),
+ initialized_(false),
+ allow_horizontal_overscroll_(true),
+ allow_vertical_overscroll_(true) {}
+
OverscrollGlow::~OverscrollGlow() {
Detach();
}

Powered by Google App Engine
This is Rietveld 408576698