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

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

Issue 733293002: [Android] Add a flag to disable the pull-to-refresh effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 3de5e5294e5159be359e949540a2ffcae3b612f0..640f1e360a472d871ae4e629f4660b370ebb53d8 100644
--- a/content/browser/android/overscroll_controller_android.h
+++ b/content/browser/android/overscroll_controller_android.h
@@ -80,8 +80,8 @@ class OverscrollControllerAndroid : public OverscrollRefreshClient,
bool enabled_;
// TODO(jdduke): Factor out a common API from the two overscroll effects.
- OverscrollGlow glow_effect_;
- OverscrollRefresh refresh_effect_;
+ scoped_ptr<OverscrollGlow> glow_effect_;
jdduke (slow) 2014/11/18 22:57:49 This is kind of unfortunate, but oh well.
+ scoped_ptr<OverscrollRefresh> refresh_effect_;
bool triggered_refresh_active_;
DISALLOW_COPY_AND_ASSIGN(OverscrollControllerAndroid);

Powered by Google App Engine
This is Rietveld 408576698