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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.h

Issue 2615003002: Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: Fix ios_chrome_perftests. Created 3 years, 11 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
« no previous file with comments | « ios/chrome/browser/ui/browser_list_ios.mm ('k') | ios/chrome/browser/ui/browser_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller.h
diff --git a/ios/chrome/browser/ui/browser_view_controller.h b/ios/chrome/browser/ui/browser_view_controller.h
index 6531d867bce9b02b4a8e1729cf5cd23391016c14..c5326935d8e2ed974391a9cac56e883c838b7c8c 100644
--- a/ios/chrome/browser/ui/browser_view_controller.h
+++ b/ios/chrome/browser/ui/browser_view_controller.h
@@ -10,7 +10,6 @@
#import <UIKit/UIKit.h>
#import "base/ios/block_types.h"
-#import "ios/chrome/browser/ui/browser_ios.h"
#import "ios/chrome/browser/ui/side_swipe/side_swipe_controller.h"
#import "ios/chrome/browser/ui/toolbar/toolbar_owner.h"
#import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h"
@@ -51,8 +50,7 @@ extern NSString* const kLocationBarResignsFirstResponderNotification;
// The top-level view controller for the browser UI. Manages other controllers
// which implement the interface.
-@interface BrowserViewController : UIViewController<BrowserIOS,
- SideSwipeControllerDelegate,
+@interface BrowserViewController : UIViewController<SideSwipeControllerDelegate,
ToolbarOwner,
UrlLoader,
VoiceSearchPresenter,
@@ -93,6 +91,12 @@ extern NSString* const kLocationBarResignsFirstResponderNotification;
// Returns whether or not text to speech is playing.
@property(nonatomic, assign, readonly, getter=isPlayingTTS) BOOL playingTTS;
+// Returns the TabModel passed to the initializer.
+@property(nonatomic, assign, readonly) TabModel* tabModel;
+
+// Returns the ios::ChromeBrowserState passed to the initializer.
+@property(nonatomic, assign, readonly) ios::ChromeBrowserState* browserState;
+
// Whether the receiver is currently the primary BVC.
- (void)setPrimary:(BOOL)primary;
« no previous file with comments | « ios/chrome/browser/ui/browser_list_ios.mm ('k') | ios/chrome/browser/ui/browser_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698