Index: ios/web/public/web_state/ui/crw_context_menu_delegate.h |
diff --git a/ios/web/public/web_state/ui/crw_context_menu_delegate.h b/ios/web/public/web_state/ui/crw_context_menu_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..89ee192e206cbe8e6cba253e440fd5cb2e550243 |
--- /dev/null |
+++ b/ios/web/public/web_state/ui/crw_context_menu_delegate.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_CONTEXT_MENU_DELEGATE_H_ |
+#define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_CONTEXT_MENU_DELEGATE_H_ |
+ |
+#import <WebKit/WebKit.h> |
+ |
+#import "ios/web/public/web_state/context_menu_params.h" |
+ |
+@protocol CRWContextMenuDelegate |
+- (BOOL)webView:(WKWebView*)webView |
Eugene But (OOO till 7-30)
2017/01/13 16:19:41
Could you please add comments. Things which worth
Olivier
2017/01/13 18:08:58
Added a timing comment when returning YES.
|
+ handleContextMenu:(const web::ContextMenuParams&)params; |
+@end |
+ |
+#endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_CONTEXT_MENU_DELEGATE_H_ |