OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_DELEGATE_H_ | |
6 #define IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_DELEGATE_H_ | |
7 | |
8 namespace web { | |
9 class WebState; | |
10 struct ContextMenuParams; | |
11 } | |
12 | |
13 // A delegate that will display a context menu for |params|. User choice on this | |
14 // menu can trigger a navigation on |webState|. | |
15 @protocol ContextMenuDelegate<NSObject> | |
16 - (BOOL)webState:(web::WebState*)webState | |
Eugene But (OOO till 7-30)
2017/01/13 07:16:26
First argument in Objective-C delegate method is a
Olivier
2017/01/13 10:20:25
Done.
I used the mode generic "native content" ins
| |
17 handleContextMenu:(const web::ContextMenuParams&)params; | |
18 @end | |
19 | |
20 #endif // IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_DELEGATE_H_ | |
OLD | NEW |