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 22 matching lines...) Expand all Loading... |
33 @protocol OverscrollActionsControllerDelegate; | 33 @protocol OverscrollActionsControllerDelegate; |
34 @protocol PassKitDialogProvider; | 34 @protocol PassKitDialogProvider; |
35 @class PasswordController; | 35 @class PasswordController; |
36 @class SnapshotManager; | 36 @class SnapshotManager; |
37 @protocol SnapshotOverlayProvider; | 37 @protocol SnapshotOverlayProvider; |
38 @protocol StoreKitLauncher; | 38 @protocol StoreKitLauncher; |
39 @class FormSuggestionController; | 39 @class FormSuggestionController; |
40 @protocol TabDelegate; | 40 @protocol TabDelegate; |
41 @protocol TabDialogDelegate; | 41 @protocol TabDialogDelegate; |
42 @class Tab; | 42 @class Tab; |
| 43 @protocol TabHeadersDelegate; |
43 @class TabModel; | 44 @class TabModel; |
44 @protocol TabSnapshottingDelegate; | 45 @protocol TabSnapshottingDelegate; |
45 @class TranslateControllerImplIOS; | 46 @class TranslateControllerImplIOS; |
46 @class WebControllerSnapshotHelper; | 47 @class WebControllerSnapshotHelper; |
47 | 48 |
48 namespace infobars { | 49 namespace infobars { |
49 class InfoBarManager; | 50 class InfoBarManager; |
50 } | 51 } |
51 | 52 |
52 namespace ios { | 53 namespace ios { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 128 |
128 // webStateImpl is deprecated: use webState instead. | 129 // webStateImpl is deprecated: use webState instead. |
129 @property(nonatomic, readonly) web::WebStateImpl* webStateImpl; | 130 @property(nonatomic, readonly) web::WebStateImpl* webStateImpl; |
130 @property(nonatomic, readonly) web::WebState* webState; | 131 @property(nonatomic, readonly) web::WebState* webState; |
131 | 132 |
132 @property(nonatomic, readonly) CRWWebController* webController; | 133 @property(nonatomic, readonly) CRWWebController* webController; |
133 @property(nonatomic, readonly) PasswordController* passwordController; | 134 @property(nonatomic, readonly) PasswordController* passwordController; |
134 @property(nonatomic, readonly) BOOL canGoBack; | 135 @property(nonatomic, readonly) BOOL canGoBack; |
135 @property(nonatomic, readonly) BOOL canGoForward; | 136 @property(nonatomic, readonly) BOOL canGoForward; |
136 @property(nonatomic, assign) id<TabDelegate> delegate; | 137 @property(nonatomic, assign) id<TabDelegate> delegate; |
| 138 @property(nonatomic, assign) id<TabHeadersDelegate> tabHeadersDelegate; |
137 @property(nonatomic, assign) id<TabSnapshottingDelegate> | 139 @property(nonatomic, assign) id<TabSnapshottingDelegate> |
138 tabSnapshottingDelegate; | 140 tabSnapshottingDelegate; |
139 @property(nonatomic, readonly) BOOL useDesktopUserAgent; | 141 @property(nonatomic, readonly) BOOL useDesktopUserAgent; |
140 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; | 142 @property(nonatomic, assign) id<StoreKitLauncher> storeKitLauncher; |
141 @property(nonatomic, assign) id<FullScreenControllerDelegate> | 143 @property(nonatomic, assign) id<FullScreenControllerDelegate> |
142 fullScreenControllerDelegate; | 144 fullScreenControllerDelegate; |
143 @property(nonatomic, readonly) | 145 @property(nonatomic, readonly) |
144 OverscrollActionsController* overscrollActionsController; | 146 OverscrollActionsController* overscrollActionsController; |
145 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> | 147 @property(nonatomic, assign) id<OverscrollActionsControllerDelegate> |
146 overscrollActionsControllerDelegate; | 148 overscrollActionsControllerDelegate; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 347 |
346 // Called when this tab is hidden. | 348 // Called when this tab is hidden. |
347 - (void)wasHidden; | 349 - (void)wasHidden; |
348 | 350 |
349 // Evaluates U2F result. | 351 // Evaluates U2F result. |
350 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 352 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
351 | 353 |
352 @end | 354 @end |
353 | 355 |
354 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 356 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
OLD | NEW |