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

Side by Side Diff: ios/chrome/browser/ui/browser_view_controller.h

Issue 2798903003: [ObjC ARC] Converts ios/chrome/browser/ui:ui_internal to ARC. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
7 7
8 #import <MessageUI/MessageUI.h> 8 #import <MessageUI/MessageUI.h>
9 #import <StoreKit/StoreKit.h> 9 #import <StoreKit/StoreKit.h>
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 dependencyFactory: 65 dependencyFactory:
66 (BrowserViewControllerDependencyFactory*)factory 66 (BrowserViewControllerDependencyFactory*)factory
67 NS_DESIGNATED_INITIALIZER; 67 NS_DESIGNATED_INITIALIZER;
68 68
69 - (instancetype)initWithNibName:(NSString*)nibNameOrNil 69 - (instancetype)initWithNibName:(NSString*)nibNameOrNil
70 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; 70 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
71 71
72 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; 72 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
73 73
74 // The top-level browser container view. 74 // The top-level browser container view.
75 @property(nonatomic, retain) BrowserContainerView* contentArea; 75 @property(nonatomic, strong) BrowserContainerView* contentArea;
76 76
77 // Invisible button used to dismiss the keyboard. 77 // Invisible button used to dismiss the keyboard.
78 @property(nonatomic, retain) UIButton* typingShield; 78 @property(nonatomic, strong) UIButton* typingShield;
79 79
80 // Activates/deactivates the object. This will enable/disable the ability for 80 // Activates/deactivates the object. This will enable/disable the ability for
81 // this object to browse, and to have live UIWebViews associated with it. While 81 // this object to browse, and to have live UIWebViews associated with it. While
82 // not active, the UI will not react to changes in the tab model, so generally 82 // not active, the UI will not react to changes in the tab model, so generally
83 // an inactive BVC should not be visible. 83 // an inactive BVC should not be visible.
84 @property(nonatomic, assign, getter=isActive) BOOL active; 84 @property(nonatomic, assign, getter=isActive) BOOL active;
85 85
86 // Returns whether or not text to speech is playing. 86 // Returns whether or not text to speech is playing.
87 @property(nonatomic, assign, readonly, getter=isPlayingTTS) BOOL playingTTS; 87 @property(nonatomic, assign, readonly, getter=isPlayingTTS) BOOL playingTTS;
88 88
89 // Returns the TabModel passed to the initializer. 89 // Returns the TabModel passed to the initializer.
90 @property(nonatomic, assign, readonly) TabModel* tabModel; 90 @property(nonatomic, weak, readonly) TabModel* tabModel;
91 91
92 // Returns the ios::ChromeBrowserState passed to the initializer. 92 // Returns the ios::ChromeBrowserState passed to the initializer.
93 @property(nonatomic, assign, readonly) ios::ChromeBrowserState* browserState; 93 @property(nonatomic, assign, readonly) ios::ChromeBrowserState* browserState;
94 94
95 // Whether the receiver is currently the primary BVC. 95 // Whether the receiver is currently the primary BVC.
96 - (void)setPrimary:(BOOL)primary; 96 - (void)setPrimary:(BOOL)primary;
97 97
98 // Called when the typing shield is tapped. 98 // Called when the typing shield is tapped.
99 - (void)shieldWasTapped:(id)sender; 99 - (void)shieldWasTapped:(id)sender;
100 100
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Removes files received from other applications. If |immediately| is YES, 152 // Removes files received from other applications. If |immediately| is YES,
153 // initiates the removal of files immediately. |completionHandler| is called 153 // initiates the removal of files immediately. |completionHandler| is called
154 // when files have been removed. 154 // when files have been removed.
155 - (void)removeExternalFilesImmediately:(BOOL)immediately 155 - (void)removeExternalFilesImmediately:(BOOL)immediately
156 completionHandler:(ProceduralBlock)completionHandler; 156 completionHandler:(ProceduralBlock)completionHandler;
157 157
158 @end 158 @end
159 159
160 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_ 160 #endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698