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

Unified Diff: ios/chrome/browser/ui/reading_list/offline_page_native_content.h

Issue 2627093003: Reuse context menu in StaticHTMLViewController (Closed)
Patch Set: fix DEPS Created 3 years, 11 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/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

Powered by Google App Engine
This is Rietveld 408576698