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 loaded page. | |
Eugene But (OOO till 7-30)
2017/02/23 00:54:23
Please update the comment, because visibleItem doe
liaoyuke
2017/02/23 01:10:14
Done.
| |
138 @property(nonatomic, readonly, getter=isUsingDesktopUserAgent) | |
139 BOOL usesDesktopUserAgent; | |
140 | |
137 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; | 141 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; |
138 @property(nonatomic, assign) id<FullScreenControllerDelegate> | 142 @property(nonatomic, assign) id<FullScreenControllerDelegate> |
139 fullScreenControllerDelegate; | 143 fullScreenControllerDelegate; |
140 @property(nonatomic, readonly) | 144 @property(nonatomic, readonly) |
141 OverscrollActionsController* overscrollActionsController; | 145 OverscrollActionsController* overscrollActionsController; |
142 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> | 146 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> |
143 overscrollActionsControllerDelegate; | 147 overscrollActionsControllerDelegate; |
144 @property(nonatomic, assign) id<SnapshotOverlayProvider> | 148 @property(nonatomic, assign) id<SnapshotOverlayProvider> |
145 snapshotOverlayProvider; | 149 snapshotOverlayProvider; |
146 | 150 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
336 | 340 |
337 // Called when this tab is hidden. | 341 // Called when this tab is hidden. |
338 - (void)wasHidden; | 342 - (void)wasHidden; |
339 | 343 |
340 // Evaluates U2F result. | 344 // Evaluates U2F result. |
341 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 345 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
342 | 346 |
343 @end | 347 @end |
344 | 348 |
345 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 349 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
OLD | NEW |