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

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

Issue 2585233003: Upstream Chrome on iOS source code [2/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
7
8 #include "ios/net/request_tracker.h"
9
10 // Exposed private methods for testing purpose.
11 @interface Tab ()
12
13 - (OpenInController*)openInController;
14 - (void)closeThisTab;
15 - (CRWSessionEntry*)currentSessionEntry;
16 - (void)setShouldObserveInfoBarManager:(BOOL)shouldObserveInfoBarManager;
17 - (void)setShouldObserveFaviconChanges:(BOOL)shouldObserveFaviconChanges;
18
19 @end
20
21 @interface Tab (TestingSupport)
22
23 // Replaces the existing web state. This method should be called once
24 // right after init and before any call to |view|.
25 - (void)replaceWebStateImpl:(std::unique_ptr<web::WebStateImpl>)webStateImpl;
26
27 // Replaces the existing |externalAppLauncher_|.
28 - (void)replaceExternalAppLauncher:(id)externalAppLauncher;
29
30 - (TabModel*)parentTabModel;
31
32 - (FormInputAccessoryViewController*)inputAccessoryViewController;
33
34 @end
35
36 #endif // IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_unittest.mm ('k') | ios/chrome/browser/tabs/tab_snapshotting_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698