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

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

Issue 2800433002: Remove CWVDelegate. (Closed)
Patch Set: Respond to comments. Created 3 years, 8 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
« no previous file with comments | « ios/web_view/internal/web_view_web_main_parts.mm ('k') | ios/web_view/public/cwv_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/cwv.h
diff --git a/ios/web_view/public/cwv.h b/ios/web_view/public/cwv.h
index 6922d346ae8c01e907fe282fbef25661aac88535..9e6dadcfd6cb508da4ffed294474fbb5731e85b7 100644
--- a/ios/web_view/public/cwv.h
+++ b/ios/web_view/public/cwv.h
@@ -9,7 +9,6 @@
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
-@protocol CWVDelegate;
@class CWVWebView;
// Main interface for the CWV library.
@@ -17,8 +16,10 @@ CWV_EXPORT
@interface CWV : NSObject
// Initializes the CWV library. This function should be called from
-// |application:didFinishLaunchingWithOptions:|.
-+ (void)configureWithDelegate:(id<CWVDelegate>)delegate;
+// |application:didFinishLaunchingWithOptions:|. The |userAgent| string may be
+// used to customize the full User Agent string used by web views. It should be
+// of the format "product/1.0".
++ (void)configureWithUserAgentProductName:(NSString*)productName;
// Shuts down the CWV library. This function should be called from
// |applicationwillTerminate:|.
« no previous file with comments | « ios/web_view/internal/web_view_web_main_parts.mm ('k') | ios/web_view/public/cwv_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698