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

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

Issue 2723433004: Add CWVUIDelegate with method to customize context menu. (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.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;
Eugene But (OOO till 7-30) 2017/02/27 16:34:07 Feedback for a separate CL: we should probably use
michaeldo 2017/02/27 19:02:06 Agreed, I filed crbug.com/696661
+
// Whether or not this web view can go backwards or forwards.
@property(nonatomic, readonly) BOOL canGoBack;
@property(nonatomic, readonly) BOOL canGoForward;

Powered by Google App Engine
This is Rietveld 408576698