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

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: Rebased 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0f630f3b9006ec76b1ca3c0103ddd24e01f208f7..457b3c0595076b328181605c646afb07023d34c8 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -162,9 +162,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;
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698