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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2806153004: Convert main NTP panel to UIViewController. (Closed)
Patch Set: Update 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/google_landing_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index d8c0b037da04cb3b9a333dad954938fcafe92e1f..051d3f747aca6ec09a962f5353b7ac817e3f7ca0 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -3036,6 +3036,7 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
webToolbarDelegate:self
tabModel:_model];
pageController.swipeRecognizerProvider = self.sideSwipeController;
+ pageController.parentViewController = self;
// Panel is always NTP for iPhone.
NewTabPage::PanelIdentifier panelType = NewTabPage::kMostVisitedPanel;
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/google_landing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698