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

Unified Diff: ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h

Issue 2785893003: [ios clean] Add placeholder for NTP bookmarks, chrome home and open tabs. (Closed)
Patch Set: Address various comments Created 3 years, 8 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/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_

Powered by Google App Engine
This is Rietveld 408576698