| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // The current title of the tab. | 110 // The current title of the tab. |
| 111 @property(nonatomic, readonly) NSString* title; | 111 @property(nonatomic, readonly) NSString* title; |
| 112 | 112 |
| 113 // Original page title or nil if the page did not provide one. | 113 // Original page title or nil if the page did not provide one. |
| 114 @property(nonatomic, readonly) NSString* originalTitle; | 114 @property(nonatomic, readonly) NSString* originalTitle; |
| 115 | 115 |
| 116 @property(nonatomic, readonly) NSString* urlDisplayString; | 116 @property(nonatomic, readonly) NSString* urlDisplayString; |
| 117 @property(nonatomic, readonly) NSString* windowName; | 117 @property(nonatomic, readonly) NSString* windowName; |
| 118 | 118 |
| 119 // ID associated with this tab, from the SessionManager. | 119 // ID associated with this tab. |
| 120 @property(nonatomic, readonly) NSString* tabId; | 120 @property(nonatomic, readonly) NSString* tabId; |
| 121 | 121 |
| 122 // ID of the opener of this tab. |
| 123 @property(nonatomic, readonly) NSString* openerID; |
| 124 |
| 125 // NavigationIndex of the opener of this tab. |
| 126 @property(nonatomic, readonly) NSInteger openerNavigationIndex; |
| 127 |
| 122 // |YES| if snapshot overlay should load from the grey image cache. | 128 // |YES| if snapshot overlay should load from the grey image cache. |
| 123 @property(nonatomic, assign) BOOL useGreyImageCache; | 129 @property(nonatomic, assign) BOOL useGreyImageCache; |
| 124 | 130 |
| 125 // The Webstate associated with this Tab. | 131 // The Webstate associated with this Tab. |
| 126 @property(nonatomic, readonly) web::WebState* webState; | 132 @property(nonatomic, readonly) web::WebState* webState; |
| 127 | 133 |
| 128 @property(nonatomic, readonly) CRWWebController* webController; | 134 @property(nonatomic, readonly) CRWWebController* webController; |
| 129 @property(nonatomic, readonly) PasswordController* passwordController; | 135 @property(nonatomic, readonly) PasswordController* passwordController; |
| 130 @property(nonatomic, readonly) BOOL canGoBack; | 136 @property(nonatomic, readonly) BOOL canGoBack; |
| 131 @property(nonatomic, readonly) BOOL canGoForward; | 137 @property(nonatomic, readonly) BOOL canGoForward; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 345 |
| 340 // Called when this tab is hidden. | 346 // Called when this tab is hidden. |
| 341 - (void)wasHidden; | 347 - (void)wasHidden; |
| 342 | 348 |
| 343 // Evaluates U2F result. | 349 // Evaluates U2F result. |
| 344 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 350 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
| 345 | 351 |
| 346 @end | 352 @end |
| 347 | 353 |
| 348 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 354 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
| OLD | NEW |