blob: 5158ded13527c4732c9d1ff4425fddc90107096d [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_ROOT_COORDINATOR_H_
#define IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_
#include <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 RootCoordinator : 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_ROOT_COORDINATOR_H_