Index: ios/showcase/settings/settings_coordinator.mm |
diff --git a/ios/showcase/settings/settings_coordinator.mm b/ios/showcase/settings/settings_coordinator.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8e28d4476c4795b1e75b16920092712896b87c81 |
--- /dev/null |
+++ b/ios/showcase/settings/settings_coordinator.mm |
@@ -0,0 +1,22 @@ |
+// 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. |
+ |
+#import "ios/showcase/settings/settings_coordinator.h" |
+ |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
+@implementation SettingsCoordinator |
+ |
+@synthesize baseViewController; |
+ |
+- (void)start { |
+ UIViewController* settings = [[UIViewController alloc] init]; |
+ settings.title = @"Settings"; |
+ settings.view.backgroundColor = [UIColor grayColor]; |
+ [self.baseViewController pushViewController:settings animated:YES]; |
+} |
+ |
+@end |