blob: 553d17e3519de5207784f40d67e436ce9c250551 [file] [log] [blame]
// 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"
namespace web {
class NavigationItem;
class WebStateImpl;
}
// Exposed private methods for testing purpose.
@interface Tab ()
- (OpenInController*)openInController;
- (void)setShouldObserveInfoBarManager:(BOOL)shouldObserveInfoBarManager;
- (void)setShouldObserveFaviconChanges:(BOOL)shouldObserveFaviconChanges;
@end
@interface Tab (TestingSupport)
// Replaces the existing |externalAppLauncher_|.
- (void)replaceExternalAppLauncher:(id)externalAppLauncher;
- (FormInputAccessoryViewController*)inputAccessoryViewController;
// Returns the Tab owning TabModel.
- (TabModel*)parentTabModel;
@end
@interface Tab (Private)
// Attaches tab helper-like objects for AttachTabHelpers. Those objects should
// be converted in real tab helpers and created by AttachTabHelpers.
- (void)attachTabHelpers;
@end
#endif // IOS_CHROME_BROWSER_TABS_TAB_PRIVATE_H_