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

Side by Side Diff: ios/clean/chrome/browser/ui/root/root_coordinator.mm

Issue 2948463002: [iOS Clean] Removed old overlay implementation.
Patch Set: rebase & Mark's comments Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/clean/chrome/browser/ui/root/root_coordinator.h" 5 #import "ios/clean/chrome/browser/ui/root/root_coordinator.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc) 7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support." 8 #error "This file requires ARC support."
9 #endif 9 #endif
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 - (void)childCoordinatorDidStart:(BrowserCoordinator*)childCoordinator { 51 - (void)childCoordinatorDidStart:(BrowserCoordinator*)childCoordinator {
52 self.viewController.contentViewController = childCoordinator.viewController; 52 self.viewController.contentViewController = childCoordinator.viewController;
53 } 53 }
54 54
55 - (void)childCoordinatorWillStop:(BrowserCoordinator*)childCoordinator { 55 - (void)childCoordinatorWillStop:(BrowserCoordinator*)childCoordinator {
56 self.viewController.contentViewController = nil; 56 self.viewController.contentViewController = nil;
57 } 57 }
58 58
59 - (BOOL)canAddOverlayCoordinator:(BrowserCoordinator*)overlayCoordinator {
60 return YES;
61 }
62
63 #pragma mark - URLOpening 59 #pragma mark - URLOpening
64 60
65 - (void)openURL:(NSURL*)URL { 61 - (void)openURL:(NSURL*)URL {
66 [self.tabGridCoordinator openURL:URL]; 62 [self.tabGridCoordinator openURL:URL];
67 } 63 }
68 64
69 @end 65 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698