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

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

Issue 2821063002: Convert bookmarks NTP panel to UIViewController. (Closed)
Patch Set: Fix unit tests 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/chrome/browser/ui/ntp/new_tab_page_controller.h
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_controller.h b/ios/chrome/browser/ui/ntp/new_tab_page_controller.h
index dcbe42e1667aa86c3816e7385dc73b73d031a787..f8714c93b0390450ce4a9fb0bc50577c09df0297 100644
--- a/ios/chrome/browser/ui/ntp/new_tab_page_controller.h
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_controller.h
@@ -36,6 +36,7 @@ std::string FragmentFromIdentifier(PanelIdentifier panel);
} // namespace NewTabPage
+@class BookmarkHomeTabletNTPController;
@protocol CRWSwipeRecognizerProvider;
@class GoogleLandingController;
@protocol NewTabPagePanelProtocol;
@@ -75,7 +76,7 @@ std::string FragmentFromIdentifier(PanelIdentifier panel);
UIGestureRecognizerDelegate,
UIScrollViewDelegate> {
@private
- base::scoped_nsprotocol<id<NewTabPagePanelProtocol>> bookmarkController_;
+ base::scoped_nsobject<BookmarkHomeTabletNTPController> bookmarkController_;
base::scoped_nsobject<GoogleLandingController> googleLandingController_;
base::scoped_nsprotocol<id<NewTabPagePanelProtocol>> incognitoController_;
// The currently visible controller, one of the above.

Powered by Google App Engine
This is Rietveld 408576698