OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_DELEGATE_H_ |
| 6 #define IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_DELEGATE_H_ |
| 7 |
| 8 #import <CoreGraphics/CoreGraphics.h> |
| 9 |
| 10 @class CWVScrollView; |
| 11 |
| 12 // Delegete for CWVScrollView. |
| 13 // |
| 14 // These methods are forwarded from the internal UIScrollViewDelegate. Please |
| 15 // see the <UIKit/UIScrollViewDelegate.h> documentation for details about the |
| 16 // following methods. |
| 17 CWV_EXPORT |
| 18 @protocol CWVScrollViewDelegate<NSObject> |
| 19 @optional |
| 20 - (void)scrollViewWillBeginDragging:(CWVScrollView*)scrollView; |
| 21 - (void)scrollViewWillEndDragging:(CWVScrollView*)scrollView |
| 22 withVelocity:(CGPoint)velocity |
| 23 targetContentOffset:(inout CGPoint*)targetContentOffset; |
| 24 - (void)scrollViewDidScroll:(CWVScrollView*)scrollView; |
| 25 - (void)scrollViewDidEndDecelerating:(CWVScrollView*)scrollView; |
| 26 @end |
| 27 |
| 28 #endif // IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_DELEGATE_H_ |
OLD | NEW |