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

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

Issue 2941683002: Add script to generate CronetChromeWebView.framework (Closed)
Patch Set: Created 3 years, 6 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_ 5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_
6 #define IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_ 6 #define IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_
7 7
8 #import <ChromeWebView/cwv_export.h>
9 #import <CoreGraphics/CoreGraphics.h> 8 #import <CoreGraphics/CoreGraphics.h>
10 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
11 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
12 11
12 #import "cwv_export.h"
13
13 @protocol CWVScrollViewDelegate; 14 @protocol CWVScrollViewDelegate;
14 15
15 // Scroll view inside the web view. This is not a subclass of UIScrollView 16 // Scroll view inside the web view. This is not a subclass of UIScrollView
16 // because the underlying //ios/web API only exposes a proxy object of the 17 // because the underlying //ios/web API only exposes a proxy object of the
17 // scroll view, not the raw UIScrollView. 18 // scroll view, not the raw UIScrollView.
18 // 19 //
19 // These methods are forwarded to the internal UIScrollView. Please see the 20 // These methods are forwarded to the internal UIScrollView. Please see the
20 // <UIKit/UIScrollView.h> documentation for details about the following methods. 21 // <UIKit/UIScrollView.h> documentation for details about the following methods.
21 // 22 //
22 // TODO(crbug.com/719323): Add nullability annotations. 23 // TODO(crbug.com/719323): Add nullability annotations.
(...skipping 21 matching lines...) Expand all
44 // rdar://23584409 (not available on Open Radar) 45 // rdar://23584409 (not available on Open Radar)
45 @property(nonatomic) UIEdgeInsets contentInset; 46 @property(nonatomic) UIEdgeInsets contentInset;
46 47
47 - (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated; 48 - (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;
48 - (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer; 49 - (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer;
49 - (void)removeGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer; 50 - (void)removeGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer;
50 51
51 @end 52 @end
52 53
53 #endif // IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_ 54 #endif // IOS_WEB_VIEW_PUBLIC_CWV_SCROLL_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698