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

Unified Diff: ios/showcase/settings/settings_coordinator.mm

Issue 2592593003: Upstream ios/showcase source code. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/showcase/settings/settings_coordinator.h ('k') | ios/showcase/tab_grid/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ios/showcase/settings/settings_coordinator.h ('k') | ios/showcase/tab_grid/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698