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

Unified Diff: ios/web_view/public/cwv_scroll_view.h

Issue 2876753002: Add more methods to CWVScrollView and CWVScrollViewDelegate. (Closed)
Patch Set: Add more methods. Created 3 years, 7 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 | « ios/web_view/internal/cwv_scroll_view.mm ('k') | ios/web_view/public/cwv_scroll_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/cwv_scroll_view.h
diff --git a/ios/web_view/public/cwv_scroll_view.h b/ios/web_view/public/cwv_scroll_view.h
index 4b5c268fdf99371e6a26ba19a6e0ca88a451525d..e076cd07fe505e39d1d4a0f8f2707a836bf41829 100644
--- a/ios/web_view/public/cwv_scroll_view.h
+++ b/ios/web_view/public/cwv_scroll_view.h
@@ -25,8 +25,11 @@ CWV_EXPORT
@property(nonatomic, readonly) CGRect bounds;
@property(nonatomic) CGPoint contentOffset;
+@property(nonatomic) UIEdgeInsets scrollIndicatorInsets;
@property(nonatomic, weak) id<CWVScrollViewDelegate> delegate;
+@property(nonatomic, readonly, getter=isDecelerating) BOOL decelerating;
@property(nonatomic, readonly, getter=isDragging) BOOL dragging;
+@property(nonatomic, readonly) UIPanGestureRecognizer* panGestureRecognizer;
// KVO compliant.
@property(nonatomic, readonly) CGSize contentSize;
@@ -40,7 +43,9 @@ CWV_EXPORT
// rdar://23584409 (not available on Open Radar)
@property(nonatomic) UIEdgeInsets contentInset;
+- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;
- (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer;
+- (void)removeGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer;
@end
« no previous file with comments | « ios/web_view/internal/cwv_scroll_view.mm ('k') | ios/web_view/public/cwv_scroll_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698