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

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

Issue 2775623002: [ios] WebStateList owns all WebState it manages. (Closed)
Patch Set: Fix gn check Created 3 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PRIVATE_H_ 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_ 6 #define IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
7 7
8 #include "ios/net/request_tracker.h" 8 #include "ios/net/request_tracker.h"
9 9
10 namespace web { 10 namespace web {
11 class NavigationItem; 11 class NavigationItem;
12 class WebStateImpl; 12 class WebStateImpl;
13 } 13 }
14 14
15 // Exposed private methods for testing purpose. 15 // Exposed private methods for testing purpose.
16 @interface Tab () 16 @interface Tab ()
17 17
18 - (OpenInController*)openInController; 18 - (OpenInController*)openInController;
19 - (void)setShouldObserveInfoBarManager:(BOOL)shouldObserveInfoBarManager; 19 - (void)setShouldObserveInfoBarManager:(BOOL)shouldObserveInfoBarManager;
20 - (void)setShouldObserveFaviconChanges:(BOOL)shouldObserveFaviconChanges; 20 - (void)setShouldObserveFaviconChanges:(BOOL)shouldObserveFaviconChanges;
21 21
22 @end 22 @end
23 23
24 @interface Tab (TestingSupport) 24 @interface Tab (TestingSupport)
25 25
26 // Replaces the existing |externalAppLauncher_|. 26 // Replaces the existing |externalAppLauncher_|.
27 - (void)replaceExternalAppLauncher:(id)externalAppLauncher; 27 - (void)replaceExternalAppLauncher:(id)externalAppLauncher;
28 28
29 - (FormInputAccessoryViewController*)inputAccessoryViewController;
30
31 // Returns the Tab owning TabModel.
29 - (TabModel*)parentTabModel; 32 - (TabModel*)parentTabModel;
30 33
31 - (FormInputAccessoryViewController*)inputAccessoryViewController;
32
33 @end 34 @end
34 35
36 @interface Tab (Private)
37
38 // Attaches tab helper-like objects for AttachTabHelpers. Those objects should
39 // be converted in real tab helpers and created by AttachTabHelpers.
40 - (void)attachTabHelpers;
41
42 @end
43
35 #endif // IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_ 44 #endif // IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_web_state_list_delegate.mm ('k') | ios/chrome/browser/tabs/tab_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698