| Index: ios/showcase/toolbar/sc_toolbar_coordinator.mm
|
| diff --git a/ios/showcase/toolbar/sc_toolbar_coordinator.mm b/ios/showcase/toolbar/sc_toolbar_coordinator.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3291310e688e69fd6d3685be51a35a1bf465dc63
|
| --- /dev/null
|
| +++ b/ios/showcase/toolbar/sc_toolbar_coordinator.mm
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 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.
|
| +
|
| +#import "ios/showcase/toolbar/sc_toolbar_coordinator.h"
|
| +
|
| +#import "ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.h"
|
| +
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| +@implementation SCToolbarCoordinator
|
| +@synthesize baseViewController = _baseViewController;
|
| +
|
| +- (void)start {
|
| + ToolbarViewController* viewController = [[ToolbarViewController alloc] init];
|
| + viewController.title = @"Toolbar";
|
| + [self.baseViewController pushViewController:viewController animated:YES];
|
| +}
|
| +
|
| +@end
|
|
|