Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Side by Side Diff: ios/chrome/browser/tabs/tab.h

Issue 2720613005: Refactor serialisation of openerId & openerNavigationIndex. (Closed)
Patch Set: Fix CRWSessionController's initializer comment. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/sessions/session_window_unittest.mm ('k') | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/sessions/session_window_unittest.mm ('k') | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698