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

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

Issue 2690163003: Rename CRIWVWebView to CWVWebView. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « ios/web_view/public/criwv_web_view_configuration.h ('k') | ios/web_view/public/cwv_web_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CRIWV_WEB_VIEW_DELEGATE_H_ 5 #ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
6 #define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_ 6 #define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 @protocol CRIWVTranslateDelegate; 10 @protocol CRIWVTranslateDelegate;
11 @class CRIWVWebView; 11 @class CWVWebView;
12 12
13 typedef NS_OPTIONS(NSUInteger, CRIWVWebViewUpdateType) { 13 typedef NS_OPTIONS(NSUInteger, CRIWVWebViewUpdateType) {
14 CRIWVWebViewUpdateTypeProgress = 1 << 0, 14 CRIWVWebViewUpdateTypeProgress = 1 << 0,
15 CRIWVWebViewUpdateTypeTitle = 1 << 1, 15 CRIWVWebViewUpdateTypeTitle = 1 << 1,
16 CRIWVWebViewUpdateTypeURL = 1 << 2 16 CRIWVWebViewUpdateTypeURL = 1 << 2
17 }; 17 };
18 18
19 // Delegate protocol for CRIWVWebViews. Allows embedders to customize web view 19 // Delegate protocol for CRIWVWebViews. Allows embedders to customize web view
20 // behavior and receive updates on page load progress. 20 // behavior and receive updates on page load progress.
21 @protocol CRIWVWebViewDelegate<NSObject> 21 @protocol CRIWVWebViewDelegate<NSObject>
22 22
23 @optional 23 @optional
24 24
25 - (void)webView:(CRIWVWebView*)webView 25 - (void)webView:(CWVWebView*)webView
26 didFinishLoadingWithURL:(NSURL*)url 26 didFinishLoadingWithURL:(NSURL*)url
27 loadSuccess:(BOOL)loadSuccess; 27 loadSuccess:(BOOL)loadSuccess;
28 28
29 - (void)webView:(CRIWVWebView*)webView 29 - (void)webView:(CWVWebView*)webView
30 didUpdateWithChanges:(CRIWVWebViewUpdateType)changes; 30 didUpdateWithChanges:(CRIWVWebViewUpdateType)changes;
31 31
32 - (id<CRIWVTranslateDelegate>)translateDelegate; 32 - (id<CRIWVTranslateDelegate>)translateDelegate;
33 33
34 @end 34 @end
35 35
36 #endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_ 36 #endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web_view/public/criwv_web_view_configuration.h ('k') | ios/web_view/public/cwv_web_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698