blob: e4d93118502cf2f34c661a84c0a5ac4c4f268d97 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_CHROME_ROOT_COORDINATOR_H_
#define IOS_CHROME_BROWSER_CHROME_ROOT_COORDINATOR_H_
#import <UIKit/UIKit.h>
#import "ios/chrome/browser/chrome_coordinator.h"
// A coordinator specialization for the case where the coordinator is
// creating and managing the root view controller for a UIWindow.
@interface ChromeRootCoordinator : ChromeCoordinator
- (nullable instancetype)initWithWindow:(nullable UIWindow*)window
NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithBaseViewController:
(nullable UIViewController*)viewController NS_UNAVAILABLE;
@property(weak, nonatomic, readonly, nullable) UIWindow* window;
@end
#endif // IOS_CHROME_BROWSER_CHROME_ROOT_COORDINATOR_H_