| Index: ios/chrome/browser/tabs/tab_private.h
|
| diff --git a/ios/chrome/browser/tabs/tab_private.h b/ios/chrome/browser/tabs/tab_private.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..63b147659f37a14dd84a2a20eafa9f0e48e59a80
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/tabs/tab_private.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
|
| +#define IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
|
| +
|
| +#include "ios/net/request_tracker.h"
|
| +
|
| +// Exposed private methods for testing purpose.
|
| +@interface Tab ()
|
| +
|
| +- (OpenInController*)openInController;
|
| +- (void)closeThisTab;
|
| +- (CRWSessionEntry*)currentSessionEntry;
|
| +- (void)setShouldObserveInfoBarManager:(BOOL)shouldObserveInfoBarManager;
|
| +- (void)setShouldObserveFaviconChanges:(BOOL)shouldObserveFaviconChanges;
|
| +
|
| +@end
|
| +
|
| +@interface Tab (TestingSupport)
|
| +
|
| +// Replaces the existing web state. This method should be called once
|
| +// right after init and before any call to |view|.
|
| +- (void)replaceWebStateImpl:(std::unique_ptr<web::WebStateImpl>)webStateImpl;
|
| +
|
| +// Replaces the existing |externalAppLauncher_|.
|
| +- (void)replaceExternalAppLauncher:(id)externalAppLauncher;
|
| +
|
| +- (TabModel*)parentTabModel;
|
| +
|
| +- (FormInputAccessoryViewController*)inputAccessoryViewController;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_
|
|
|