Chromium Code Reviews| Index: ios/chrome/browser/ui/static_content/static_html_view_controller.h |
| diff --git a/ios/chrome/browser/ui/static_content/static_html_view_controller.h b/ios/chrome/browser/ui/static_content/static_html_view_controller.h |
| index e1f9b186f55a01146b17ce646c28a5e2dace40fc..8d6af90831db77865376f9a65b1617775be4cb82 100644 |
| --- a/ios/chrome/browser/ui/static_content/static_html_view_controller.h |
| +++ b/ios/chrome/browser/ui/static_content/static_html_view_controller.h |
| @@ -12,6 +12,7 @@ |
| #import "ios/web/public/block_types.h" |
| @protocol CRWNativeContentDelegate; |
| +@protocol CRWContextMenuControllerDelegate; |
| namespace web { |
| class BrowserState; |
| @@ -75,7 +76,9 @@ typedef void (^HtmlCallback)(NSString*); |
| // loading resources and must not be null. |
|
jif
2017/01/12 17:13:12
Say that |contextMenuDelegate| can be nil.
Olivier
2017/01/13 10:20:25
Argument removed.
|
| - (instancetype)initWithFileURL:(const GURL&)fileURL |
| allowingReadAccessToURL:(const GURL&)resourcesRoot |
| - browserState:(web::BrowserState*)browserState; |
| + browserState:(web::BrowserState*)browserState |
| + contextMenuDelegate: |
| + (id<CRWContextMenuControllerDelegate>)contextMenuDelegate; |
| // Set the |loader| to use to allow navigation to external URL. The |referrer| |
| // is the URL that will be used as referrer for those navigations. |