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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 554393008: [Athena] Simple pull to refresh implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index b9aa02d8aba2377a0b6690bdba46604f96caa336..a7ee9198536a35a0b998891ab72816c132470d95 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -163,9 +163,12 @@ class CONTENT_EXPORT WebContentsDelegate {
virtual bool CanOverscrollContent() const;
// Callback that allows vertical overscroll activies to be communicated to the
- // delegate.
+ // delegate. |delta_y| is the total amount of overscroll.
virtual void OverscrollUpdate(int delta_y) {}
+ // Invoked when a vertical overscroll completes.
+ virtual void OverscrollComplete() {}
+
// Return the rect where to display the resize corner, if any, otherwise
// an empty rect.
virtual gfx::Rect GetRootWindowResizerRect() const;

Powered by Google App Engine
This is Rietveld 408576698