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

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

Issue 2723433004: Add CWVUIDelegate with method to customize context menu. (Closed)
Patch Set: Respond to comment. 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
« no previous file with comments | « ios/web_view/public/cwv_ui_delegate.h ('k') | ios/web_view/shell/shell_view_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/cwv_web_view.h
diff --git a/ios/web_view/public/cwv_web_view.h b/ios/web_view/public/cwv_web_view.h
index 09a916c1c55ebfd87349d048b45a4ac63b4891fd..0acd82176c1df6d474ad4de5833c6aa86fd7f009 100644
--- a/ios/web_view/public/cwv_web_view.h
+++ b/ios/web_view/public/cwv_web_view.h
@@ -7,6 +7,7 @@
#import <UIKit/UIKit.h>
@class CWVWebViewConfiguration;
+@protocol CWVUIDelegate;
@protocol CWVWebViewDelegate;
// A web view component (like WKWebView) which uses iOS Chromium's web view
@@ -24,6 +25,9 @@
// This web view's delegate.
@property(nonatomic, weak) id<CWVWebViewDelegate> delegate;
+// This web view's UI delegate
+@property(nonatomic, weak) id<CWVUIDelegate> UIDelegate;
+
// Whether or not this web view can go backwards or forwards.
@property(nonatomic, readonly) BOOL canGoBack;
@property(nonatomic, readonly) BOOL canGoForward;
« no previous file with comments | « ios/web_view/public/cwv_ui_delegate.h ('k') | ios/web_view/shell/shell_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698