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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« 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