Chromium Code Reviews| Index: ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h |
| diff --git a/ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h b/ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h |
| index fa0ba00c9e0bc4e946c3b0dc94ca6b0c21e95494..91ed173d1cd8925ecc13a964485128acbdb3230b 100644 |
| --- a/ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h |
| +++ b/ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h |
| @@ -8,9 +8,18 @@ |
| #import <UIKit/UIKit.h> |
| #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" |
| +namespace web { |
| +class WebState; |
| +} |
| + |
| // Coordinator that runs a "New Tab Page" : The UI displayed instead of a web |
| // page when a new tab is created. |
| @interface NTPCoordinator : BrowserCoordinator |
| + |
| +// The WebState representing the web page that will be displayed in this NTP. |
| +// Calling code should assign this before starting this coordinator. |
| +@property(nonatomic, assign) web::WebState* webState; |
|
marq (ping after 24h)
2017/04/06 14:30:14
Is this only used to pass on to the home coordinat
justincohen
2017/04/06 18:25:10
Yep.
|
| + |
| @end |
| #endif // IOS_CLEAN_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_COORDINATOR_H_ |