Chromium Code Reviews| Index: ios/chrome/browser/ui/reading_list/offline_page_native_content.h |
| diff --git a/ios/chrome/browser/ui/reading_list/offline_page_native_content.h b/ios/chrome/browser/ui/reading_list/offline_page_native_content.h |
| index ddf0db4b2b95cbfef14b5acdf03277db23de1899..579376aa85eaaeeff70ccfe662c61bdff42f977c 100644 |
| --- a/ios/chrome/browser/ui/reading_list/offline_page_native_content.h |
| +++ b/ios/chrome/browser/ui/reading_list/offline_page_native_content.h |
| @@ -14,6 +14,7 @@ class BrowserState; |
| class WebState; |
| } |
| +@protocol ContextMenuDelegate; |
| @protocol UrlLoader; |
| // A |StaticHtmlNativeContent| that displays offline pages located in the |
| @@ -30,7 +31,9 @@ class WebState; |
| - (instancetype)initWithLoader:(id<UrlLoader>)loader |
| browserState:(web::BrowserState*)browserState |
| webState:(web::WebState*)webState |
| - URL:(const GURL&)URL NS_DESIGNATED_INITIALIZER; |
| + URL:(const GURL&)URL |
| + contextMenuDelegate:(id<ContextMenuDelegate>)contextMenuDelegate |
|
Eugene But (OOO till 7-30)
2017/01/13 07:16:26
Would it make sense to change this to property ins
Olivier
2017/01/13 10:20:25
Removed it. Added to the existing delegate.
|
| + NS_DESIGNATED_INITIALIZER; |
| - (instancetype)initWithLoader:(id<UrlLoader>)loader |
| staticHTMLViewController:(StaticHtmlViewController*)HTMLViewController |