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

Unified Diff: ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h

Issue 2889963002: [ObjC ARC] Converts ios/chrome/browser/ui/ntp:ntp_internal to ARC.
Patch Set: Moved testing method accessing ivars to a category Created 3 years, 7 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/ntp/new_tab_page_panel_protocol.h
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h b/ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h
index 1ceb02dadaaa39b3778f7dabea96b7626d554457..ebbe00050c7c0c705292db2fd4aa109611eff97a 100644
--- a/ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h
@@ -35,13 +35,13 @@ extern const int kNewTabPageDistanceToFadeShadow;
@protocol NewTabPagePanelProtocol<NewTabPagePanelControllerSnapshotting>
// NewTabPagePanelController delegate, may be nil.
-@property(nonatomic, assign) id<NewTabPagePanelControllerDelegate> delegate;
+@property(nonatomic, weak) id<NewTabPagePanelControllerDelegate> delegate;
// Alpha value to use for the NewTabPageBar shadow.
@property(nonatomic, readonly) CGFloat alphaForBottomShadow;
// Main view.
-@property(nonatomic, readonly) UIView* view;
+@property(nonatomic, readonly, strong) UIView* view;
// Reload any displayed data to ensure the view is up to date.
- (void)reload;
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm ('k') | ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698