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

Side by Side Diff: ios/web_view/public/cwv_scroll_view_delegate.h

Issue 2842953002: Implement CWVWebView.scrollView. (Closed)
Patch Set: Apply review comments. 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698