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

Side by Side Diff: ios/chrome/app/main_controller_private.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_controller.mm ('k') | ios/chrome/app/memory_monitor.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PRIVATE_H_ 5 #ifndef IOS_CHROME_APP_MAIN_CONTROLLER_PRIVATE_H_
6 #define IOS_CHROME_APP_MAIN_CONTROLLER_PRIVATE_H_ 6 #define IOS_CHROME_APP_MAIN_CONTROLLER_PRIVATE_H_
7 7
8 #import "base/ios/block_types.h" 8 #import "base/ios/block_types.h"
9 #include "components/browsing_data/core/browsing_data_utils.h" 9 #include "components/browsing_data/core/browsing_data_utils.h"
10 #import "ios/chrome/app/application_delegate/browser_launcher.h" 10 #import "ios/chrome/app/application_delegate/browser_launcher.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 @end 46 @end
47 47
48 // Methods that only exist for tests. 48 // Methods that only exist for tests.
49 @interface MainController (TestingOnly) 49 @interface MainController (TestingOnly)
50 50
51 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager; 51 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager;
52 @property(nonatomic, retain) 52 @property(nonatomic, retain)
53 UIViewController<TabSwitcher>* tabSwitcherController; 53 UIViewController<TabSwitcher>* tabSwitcherController;
54 @property(nonatomic, readonly) 54 @property(nonatomic, readonly)
55 SettingsNavigationController* settingsNavigationController;
56 @property(nonatomic, readonly)
57 SigninInteractionController* signinInteractionController; 55 SigninInteractionController* signinInteractionController;
58 56
59 // The top presented view controller that is not currently being dismissed. 57 // The top presented view controller that is not currently being dismissed.
60 @property(nonatomic, readonly) UIViewController* topPresentedViewController; 58 @property(nonatomic, readonly) UIViewController* topPresentedViewController;
61 59
62 // Tab switcher state. 60 // Tab switcher state.
63 @property(nonatomic, getter=isTabSwitcherActive) BOOL tabSwitcherActive; 61 @property(nonatomic, getter=isTabSwitcherActive) BOOL tabSwitcherActive;
64 @property(nonatomic, readonly) BOOL dismissingTabSwitcher; 62 @property(nonatomic, readonly) BOOL dismissingTabSwitcher;
65 63
66 // Sets up MainController for testing; clears history, closes all tabs and 64 // Sets up MainController for testing; clears history, closes all tabs and
67 // switches to the main BVC. |completionHandler| is called when MainController 65 // switches to the main BVC. |completionHandler| is called when MainController
68 // is completely set up for testing. 66 // is completely set up for testing.
69 - (void)setUpForTestingWithCompletionHandler:(ProceduralBlock)completionHandler; 67 - (void)setUpForTestingWithCompletionHandler:(ProceduralBlock)completionHandler;
70 68
71 // Sets the internal startup state to indicate that the launch was triggered 69 // Sets the internal startup state to indicate that the launch was triggered
72 // by an external app opening the given URL. 70 // by an external app opening the given URL.
73 - (void)setStartupParametersWithURL:(const GURL&)launchURL; 71 - (void)setStartupParametersWithURL:(const GURL&)launchURL;
74 72
75 // Sets the internal state to indicate that the app has been foregrounded. 73 // Sets the internal state to indicate that the app has been foregrounded.
76 - (void)setUpAsForegrounded; 74 - (void)setUpAsForegrounded;
77 75
78 @end 76 @end
79 77
80 #endif // IOS_CHROME_APP_MAIN_CONTROLLER_PRIVATE_H_ 78 #endif // IOS_CHROME_APP_MAIN_CONTROLLER_PRIVATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/main_controller.mm ('k') | ios/chrome/app/memory_monitor.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698