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

Unified Diff: ios/chrome/browser/ui/ntp/new_tab_page_controller_testing.h

Issue 2889963002: [ObjC ARC] Converts ios/chrome/browser/ui/ntp:ntp_internal to ARC.
Patch Set: Moved testing method accessing ivars to a category Created 3 years, 7 months 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
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_
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_controller.mm ('k') | ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698