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

Unified Diff: ios/web/web_state/ui/crw_web_controller.h

Issue 2434853002: [ObjC ARC] Converts crw_web_controller to ARC. (Closed)
Patch Set: d Created 4 years, 1 month 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
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller.h
diff --git a/ios/web/web_state/ui/crw_web_controller.h b/ios/web/web_state/ui/crw_web_controller.h
index 643bbe4b652913fd6c45917378e2ff6f5bbc5b8f..0c78a5c53fe01bb7b30ab6911087e878e1fa91d2 100644
--- a/ios/web/web_state/ui/crw_web_controller.h
+++ b/ios/web/web_state/ui/crw_web_controller.h
@@ -72,31 +72,31 @@ class WebStateImpl;
// Defaults to NO; this should be enabled before attempting to access the view.
@property(nonatomic, assign) BOOL webUsageEnabled;
-@property(nonatomic, assign) id<CRWWebDelegate> delegate;
+@property(nonatomic, weak) id<CRWWebDelegate> delegate;
@property(nonatomic, weak) id<CRWWebUserInterfaceDelegate> UIDelegate;
-@property(nonatomic, assign) id<CRWNativeContentProvider> nativeProvider;
-@property(nonatomic, assign)
- id<CRWSwipeRecognizerProvider> swipeRecognizerProvider;
+@property(nonatomic, weak) id<CRWNativeContentProvider> nativeProvider;
+@property(nonatomic, weak) id<CRWSwipeRecognizerProvider>
+ swipeRecognizerProvider;
@property(nonatomic, readonly) web::WebState* webState;
@property(nonatomic, readonly) web::WebStateImpl* webStateImpl;
// The container view used to display content. If the view has been purged due
// to low memory, this will recreate it.
-@property(nonatomic, readonly) UIView* view;
+@property(nonatomic, strong, readonly) UIView* view;
// The web view proxy associated with this controller.
-@property(nonatomic, readonly) id<CRWWebViewProxy> webViewProxy;
+@property(nonatomic, strong, readonly) id<CRWWebViewProxy> webViewProxy;
// The view that generates print data when printing. It is nil if printing
// is not supported.
-@property(nonatomic, readonly) UIView* viewForPrinting;
+@property(nonatomic, strong, readonly) UIView* viewForPrinting;
// Content view was reset due to low memory. Use placeholder overlay view on
// next creation.
-@property(nonatomic, readwrite, assign) BOOL usePlaceholderOverlay;
+@property(nonatomic, assign) BOOL usePlaceholderOverlay;
// Returns the current page loading phase.
-@property(nonatomic, readonly) web::LoadPhase loadPhase;
+@property(nonatomic, readonly, assign) web::LoadPhase loadPhase;
// The fraction of the page load that has completed as a number between 0.0
// (nothing loaded) and 1.0 (fully loaded).
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698