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

Unified Diff: ios/web_view/public/cwv_web_view_delegate.h

Issue 2691883003: Rename ios/web_view public delegates from CRIWV to CWV prefix. (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 side-by-side diff with in-line comments
Download patch
Index: ios/web_view/public/cwv_web_view_delegate.h
diff --git a/ios/web_view/public/criwv_web_view_delegate.h b/ios/web_view/public/cwv_web_view_delegate.h
similarity index 72%
rename from ios/web_view/public/criwv_web_view_delegate.h
rename to ios/web_view/public/cwv_web_view_delegate.h
index 52d59e2067adccea76b6b449812676c5bd4ae2ed..7cc84a0080f4eab3381280e80822c108a68d7139 100644
--- a/ios/web_view/public/criwv_web_view_delegate.h
+++ b/ios/web_view/public/cwv_web_view_delegate.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
-#define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
+#ifndef IOS_WEB_VIEW_PUBLIC_CWV_WEB_VIEW_DELEGATE_H_
+#define IOS_WEB_VIEW_PUBLIC_CWV_WEB_VIEW_DELEGATE_H_
#import <Foundation/Foundation.h>
-@protocol CRIWVTranslateDelegate;
+@protocol CWVTranslateDelegate;
@class CWVWebView;
typedef NS_OPTIONS(NSUInteger, CRIWVWebViewUpdateType) {
@@ -18,7 +18,7 @@ typedef NS_OPTIONS(NSUInteger, CRIWVWebViewUpdateType) {
// Delegate protocol for CRIWVWebViews. Allows embedders to customize web view
// behavior and receive updates on page load progress.
-@protocol CRIWVWebViewDelegate<NSObject>
+@protocol CWVWebViewDelegate<NSObject>
@optional
@@ -29,8 +29,8 @@ typedef NS_OPTIONS(NSUInteger, CRIWVWebViewUpdateType) {
- (void)webView:(CWVWebView*)webView
didUpdateWithChanges:(CRIWVWebViewUpdateType)changes;
-- (id<CRIWVTranslateDelegate>)translateDelegate;
+- (id<CWVTranslateDelegate>)translateDelegate;
@end
-#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_DELEGATE_H_
+#endif // IOS_WEB_VIEW_PUBLIC_CWV_WEB_VIEW_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698