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

Unified Diff: ios/chrome/browser/tabs/tab.h

Issue 2649403002: Revert of WebStateList is an array of web::WebState* wrappers. (Closed)
Patch Set: Fix conflicts with other CLs. 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/tabs/BUILD.gn ('k') | ios/chrome/browser/tabs/tab_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab.h
diff --git a/ios/chrome/browser/tabs/tab.h b/ios/chrome/browser/tabs/tab.h
index b108643a919d9979bae169237d4b75d97233cf34..96e137f552a671b2488002a317f5583e5e88fbaa 100644
--- a/ios/chrome/browser/tabs/tab.h
+++ b/ios/chrome/browser/tabs/tab.h
@@ -12,7 +12,6 @@
#import "components/signin/ios/browser/manage_accounts_delegate.h"
#include "ios/net/request_tracker.h"
-#import "ios/shared/chrome/browser/tabs/web_state_handle.h"
#import "ios/web/public/web_state/ui/crw_web_delegate.h"
#include "ui/base/page_transition_types.h"
@@ -64,6 +63,7 @@ namespace web {
class NavigationManagerImpl;
struct Referrer;
class WebState;
+class WebStateImpl;
}
// Notification sent by a Tab when it starts to load a new URL. This
@@ -98,8 +98,7 @@ extern NSString* const kProxyPassthroughHeaderValue;
// desktop Chrome's TabContents in that it encapsulates rendering. Acts as the
// delegate for the CRWWebController in order to process info about pages having
// loaded.
-@interface Tab
- : NSObject<CRWWebDelegate, ManageAccountsDelegate, WebStateHandle>
+@interface Tab : NSObject<CRWWebDelegate, ManageAccountsDelegate>
// Browser state associated with this Tab.
@property(nonatomic, readonly) ios::ChromeBrowserState* browserState;
@@ -127,6 +126,10 @@ extern NSString* const kProxyPassthroughHeaderValue;
// |YES| if snapshot overlay should load from the grey image cache.
@property(nonatomic, assign) BOOL useGreyImageCache;
+// webStateImpl is deprecated: use webState instead.
+@property(nonatomic, readonly) web::WebStateImpl* webStateImpl;
+@property(nonatomic, readonly) web::WebState* webState;
+
@property(nonatomic, readonly) CRWWebController* webController;
@property(nonatomic, readonly) PasswordController* passwordController;
@property(nonatomic, readonly) BOOL canGoBack;
« no previous file with comments | « ios/chrome/browser/tabs/BUILD.gn ('k') | ios/chrome/browser/tabs/tab_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698