Index: ios/chrome/browser/ui/ntp/new_tab_page_controller_testing.h |
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_controller_testing.h b/ios/chrome/browser/ui/ntp/new_tab_page_controller_testing.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4d1fe486be59b2662e3a094c72599c4bb4611e44 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_controller_testing.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2012 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_UI_NTP_NEW_TAB_PAGE_CONTROLLER_TESTING_H_ |
+#define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_TESTING_H_ |
+ |
+#import "ios/chrome/browser/ui/ntp/new_tab_page_controller.h" |
+ |
+@class NewTabPageView; |
+@interface NewTabPageController (TestSupport) |
+@property(nonatomic, strong) NewTabPageView* ntpView; |
+ |
+- (id<NewTabPagePanelProtocol>)currentController; |
+- (BookmarkHomeTabletNTPController*)bookmarkController; |
+- (id<NewTabPagePanelProtocol>)incognitoController; |
+- (GoogleLandingViewController*)googleLandingController; |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_TESTING_H_ |