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

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

Issue 2628273004: Revert of Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: 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 c5326935d8e2ed974391a9cac56e883c838b7c8c..6531d867bce9b02b4a8e1729cf5cd23391016c14 100644
--- a/ios/chrome/browser/ui/browser_view_controller.h
+++ b/ios/chrome/browser/ui/browser_view_controller.h
@@ -10,6 +10,7 @@
#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"
@@ -50,7 +51,8 @@
// The top-level view controller for the browser UI. Manages other controllers
// which implement the interface.
-@interface BrowserViewController : UIViewController<SideSwipeControllerDelegate,
+@interface BrowserViewController : UIViewController<BrowserIOS,
+ SideSwipeControllerDelegate,
ToolbarOwner,
UrlLoader,
VoiceSearchPresenter,
@@ -90,12 +92,6 @@
// 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