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

Unified Diff: Source/core/frame/FrameView.h

Issue 197213011: Selectively disable rubber banding on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/platform/mac/ScrollElasticityController.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 4f53c0ec638658904f20c64ec61efe9c624bfa94..abd9e6678408c33b6972cef15765fb50e5befacf 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -284,7 +284,7 @@ public:
// This function exists for ports that need to handle wheel events manually.
// On Mac WebKit1 the underlying NSScrollView just does the scrolling, but on most other platforms
Nico 2014/03/14 17:51:46 (this comment can mostly go away)
erikchen 2014/03/20 18:04:26 After following asvitkine's suggestion, I am no lo
// we need this function in order to do the scroll ourselves.
- bool wheelEvent(const PlatformWheelEvent&);
+ bool wheelEvent(const PlatformWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight);
bool inProgrammaticScroll() const { return m_inProgrammaticScroll; }
void setInProgrammaticScroll(bool programmaticScroll) { m_inProgrammaticScroll = programmaticScroll; }
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/platform/mac/ScrollElasticityController.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698