Chromium Code Reviews| Index: ios/clean/chrome/browser/ui/ntp/new_tab_page_home_coordinator.h |
| diff --git a/ios/clean/chrome/browser/ui/ntp/new_tab_page_home_coordinator.h b/ios/clean/chrome/browser/ui/ntp/new_tab_page_home_coordinator.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..caf181c553cc9cbdcbfca0d7a82e0776a977e8ae |
| --- /dev/null |
| +++ b/ios/clean/chrome/browser/ui/ntp/new_tab_page_home_coordinator.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2017 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_CLEAN_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HOME_COORDINATOR_H_ |
| +#define IOS_CLEAN_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HOME_COORDINATOR_H_ |
|
lpromero
2017/04/06 13:01:05
Please add a unittests file.
justincohen
2017/04/06 18:25:10
Done.
|
| + |
| +#import <UIKit/UIKit.h> |
| +#import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" |
| + |
| +namespace web { |
| +class WebState; |
| +} |
| + |
| +@interface NTPHomeCoordinator : BrowserCoordinator |
|
lpromero
2017/04/06 13:01:05
Comment.
rohitrao (ping after 24h)
2017/04/06 13:08:13
Filenames should match the class names, either use
justincohen
2017/04/06 18:25:10
Done.
justincohen
2017/04/06 18:25:10
Per offline conversation, renamed to NTP everywher
|
| + |
| +// The WebState representing the web page that will be displayed in this page. |
| +// Calling code should assign this before starting this coordinator. |
| +@property(nonatomic, assign) web::WebState* webState; |
| + |
| +@end |
| + |
| +#endif // IOS_CLEAN_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HOME_COORDINATOR_H_ |