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

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

Issue 2640093004: WebStateList is an array of web::WebState* wrappers. (Closed)
Patch Set: Fix leaks (caught by unit tests). 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 f1e97728c069646fd11ee36debd62777fc72ace6..6a0c3d18a50bdd969e82dfdbf2d8fbfb5d04ceee 100644
--- a/ios/chrome/browser/tabs/tab.h
+++ b/ios/chrome/browser/tabs/tab.h
@@ -12,6 +12,7 @@
#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"
@@ -63,7 +64,6 @@ 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,7 +98,8 @@ 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>
+@interface Tab
+ : NSObject<CRWWebDelegate, ManageAccountsDelegate, WebStateHandle>
// Browser state associated with this Tab.
@property(nonatomic, readonly) ios::ChromeBrowserState* browserState;
@@ -126,10 +127,6 @@ 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