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. Has subset of methods of | |
13 // UIScrollViewDelegate. See the document of | |
michaeldo
2017/05/01 18:49:53
To match above suggestion, I recommend:
These met
Hiroshi Ichikawa
2017/05/08 06:52:41
Done.
| |
14 // UIScrollViewDelegate for the document of each method. | |
15 CWV_EXPORT | |
16 @protocol CWVScrollViewDelegate<NSObject> | |
17 @optional | |
18 - (void)scrollViewWillBeginDragging:(CWVScrollView*)scrollView; | |
19 - (void)scrollViewWillEndDragging:(CWVScrollView*)scrollView | |
20 withVelocity:(CGPoint)velocity | |
21 targetContentOffset:(inout CGPoint*)targetContentOffset; | |
22 - (void)scrollViewDidScroll:(CWVScrollView*)scrollView; | |
23 - (void)scrollViewDidEndDecelerating:(CWVScrollView*)scrollView; | |
24 @end | |
25 | |
26 #endif // IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_DELEGATE_H_ | |
OLD | NEW |