OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BROWSER_TABS_TAB_H_ | 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_ |
6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ | 6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 @property(nonatomic, readonly) web::WebState* webState; | 126 @property(nonatomic, readonly) web::WebState* webState; |
127 | 127 |
128 @property(nonatomic, readonly) CRWWebController* webController; | 128 @property(nonatomic, readonly) CRWWebController* webController; |
129 @property(nonatomic, readonly) PasswordController* passwordController; | 129 @property(nonatomic, readonly) PasswordController* passwordController; |
130 @property(nonatomic, readonly) BOOL canGoBack; | 130 @property(nonatomic, readonly) BOOL canGoBack; |
131 @property(nonatomic, readonly) BOOL canGoForward; | 131 @property(nonatomic, readonly) BOOL canGoForward; |
132 @property(nonatomic, assign) id<TabDelegate> delegate; | 132 @property(nonatomic, assign) id<TabDelegate> delegate; |
133 @property(nonatomic, assign) id<TabHeadersDelegate> tabHeadersDelegate; | 133 @property(nonatomic, assign) id<TabHeadersDelegate> tabHeadersDelegate; |
134 @property(nonatomic, assign) id<TabSnapshottingDelegate> | 134 @property(nonatomic, assign) id<TabSnapshottingDelegate> |
135 tabSnapshottingDelegate; | 135 tabSnapshottingDelegate; |
136 | 136 @property(nonatomic, readonly) BOOL useDesktopUserAgent; |
137 // Whether or not desktop user agent is used for the currently visible page. | |
138 @property(nonatomic, readonly) BOOL usesDesktopUserAgent; | |
139 | |
140 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; | 137 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; |
141 @property(nonatomic, assign) id<FullScreenControllerDelegate> | 138 @property(nonatomic, assign) id<FullScreenControllerDelegate> |
142 fullScreenControllerDelegate; | 139 fullScreenControllerDelegate; |
143 @property(nonatomic, readonly) | 140 @property(nonatomic, readonly) |
144 OverscrollActionsController* overscrollActionsController; | 141 OverscrollActionsController* overscrollActionsController; |
145 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> | 142 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> |
146 overscrollActionsControllerDelegate; | 143 overscrollActionsControllerDelegate; |
147 @property(nonatomic, assign) id<SnapshotOverlayProvider> | 144 @property(nonatomic, assign) id<SnapshotOverlayProvider> |
148 snapshotOverlayProvider; | 145 snapshotOverlayProvider; |
149 | 146 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 | 336 |
340 // Called when this tab is hidden. | 337 // Called when this tab is hidden. |
341 - (void)wasHidden; | 338 - (void)wasHidden; |
342 | 339 |
343 // Evaluates U2F result. | 340 // Evaluates U2F result. |
344 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 341 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
345 | 342 |
346 @end | 343 @end |
347 | 344 |
348 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 345 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
OLD | NEW |