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

Side by Side Diff: ios/chrome/app/main_controller.h

Issue 2933823002: [ObjC ARC] Converts ios/chrome/app:app_internal to ARC. (Closed)
Patch Set: Rebased Created 3 years, 6 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
« no previous file with comments | « ios/chrome/app/main_application_delegate.mm ('k') | ios/chrome/app/main_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APP_MAIN_CONTROLLER_H_ 5 #ifndef IOS_CHROME_APP_MAIN_CONTROLLER_H_
6 #define IOS_CHROME_APP_MAIN_CONTROLLER_H_ 6 #define IOS_CHROME_APP_MAIN_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/app/application_delegate/app_navigation.h" 10 #import "ios/chrome/app/application_delegate/app_navigation.h"
(...skipping 12 matching lines...) Expand all
23 // 23 //
24 // By design, it has no public API of its own. Anything interacting with 24 // By design, it has no public API of its own. Anything interacting with
25 // MainController should be doing so through a specific protocol. 25 // MainController should be doing so through a specific protocol.
26 @interface MainController : NSObject<AppNavigation, 26 @interface MainController : NSObject<AppNavigation,
27 BrowserLauncher, 27 BrowserLauncher,
28 StartupInformation, 28 StartupInformation,
29 TabOpening, 29 TabOpening,
30 TabSwitching> 30 TabSwitching>
31 31
32 // A BrowserViewInformation object to perform BrowserViewController operations. 32 // A BrowserViewInformation object to perform BrowserViewController operations.
33 @property(nonatomic, readonly) id<BrowserViewInformation> 33 @property(weak, nonatomic, readonly) id<BrowserViewInformation>
34 browserViewInformation; 34 browserViewInformation;
35 35
36 // The application window. 36 // The application window.
37 @property(nonatomic, retain) UIWindow* window; 37 @property(nonatomic, strong) UIWindow* window;
38 38
39 // Contains information about the application state, for example whether the 39 // Contains information about the application state, for example whether the
40 // safe mode is activated. 40 // safe mode is activated.
41 @property(nonatomic, assign) AppState* appState; 41 @property(nonatomic, weak) AppState* appState;
42 42
43 // This metrics mediator is used to check and update the metrics accordingly to 43 // This metrics mediator is used to check and update the metrics accordingly to
44 // to the user preferences. 44 // to the user preferences.
45 @property(nonatomic, assign) MetricsMediator* metricsMediator; 45 @property(nonatomic, weak) MetricsMediator* metricsMediator;
46 46
47 // UIResponder addition to execute a Chrome command. Overridden in UIWindow to 47 // UIResponder addition to execute a Chrome command. Overridden in UIWindow to
48 // forward the call to the application delegate. The application delegate 48 // forward the call to the application delegate. The application delegate
49 // forwards the call to this class. 49 // forwards the call to this class.
50 - (void)chromeExecuteCommand:(id)sender; 50 - (void)chromeExecuteCommand:(id)sender;
51 51
52 // Returns whether the tab switcher is active. 52 // Returns whether the tab switcher is active.
53 - (BOOL)isTabSwitcherActive; 53 - (BOOL)isTabSwitcherActive;
54 54
55 @end 55 @end
56 56
57 #endif // IOS_CHROME_APP_MAIN_CONTROLLER_H_ 57 #endif // IOS_CHROME_APP_MAIN_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/main_application_delegate.mm ('k') | ios/chrome/app/main_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698