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 @property(nonatomic, readonly) BOOL useDesktopUserAgent; | 136 |
| 137 // Whether or not desktop user agent is used for the currently visible page. |
| 138 @property(nonatomic, readonly) BOOL usesDesktopUserAgent; |
| 139 |
137 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; | 140 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; |
138 @property(nonatomic, assign) id<FullScreenControllerDelegate> | 141 @property(nonatomic, assign) id<FullScreenControllerDelegate> |
139 fullScreenControllerDelegate; | 142 fullScreenControllerDelegate; |
140 @property(nonatomic, readonly) | 143 @property(nonatomic, readonly) |
141 OverscrollActionsController* overscrollActionsController; | 144 OverscrollActionsController* overscrollActionsController; |
142 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> | 145 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> |
143 overscrollActionsControllerDelegate; | 146 overscrollActionsControllerDelegate; |
144 @property(nonatomic, assign) id<SnapshotOverlayProvider> | 147 @property(nonatomic, assign) id<SnapshotOverlayProvider> |
145 snapshotOverlayProvider; | 148 snapshotOverlayProvider; |
146 | 149 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 | 339 |
337 // Called when this tab is hidden. | 340 // Called when this tab is hidden. |
338 - (void)wasHidden; | 341 - (void)wasHidden; |
339 | 342 |
340 // Evaluates U2F result. | 343 // Evaluates U2F result. |
341 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 344 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
342 | 345 |
343 @end | 346 @end |
344 | 347 |
345 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 348 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
OLD | NEW |