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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java

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/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java b/content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java
index 8717b8384fe5ee05835cea8ff01d438a89c7dc8c..f89617cb55f46134bb4be8a54b05bce3eb2d9edc 100644
--- a/content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java
+++ b/content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java
@@ -37,4 +37,10 @@ public interface OverscrollRefreshHandler {
* If disabled, the effect should deactive itself apropriately.
*/
public void setEnabled(boolean enabled);
+
+ /**
+ * Gets pointer to the native OverscrollRefreshHandler instance associated
+ * with the Java instance.
+ */
+ public long getNativePtr();
Ted C 2016/11/29 00:06:08 public is implied on interfaces, so this method (n
}

Powered by Google App Engine
This is Rietveld 408576698