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

Unified Diff: sky/shell/ios/sky_view_controller.mm

Issue 1171573002: Basic Sky shell for iOS targets (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months 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
« sky/shell/ios/sky_surface.mm ('K') | « sky/shell/ios/sky_view_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ios/sky_view_controller.mm
diff --git a/sky/shell/ios/sky_view_controller.mm b/sky/shell/ios/sky_view_controller.mm
new file mode 100644
index 0000000000000000000000000000000000000000..ee2e38ad762b1c9ac9ed8e7e7c3620ef789f4671
--- /dev/null
+++ b/sky/shell/ios/sky_view_controller.mm
@@ -0,0 +1,24 @@
+// Copyright 2015 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 "sky_view_controller.h"
+#import "sky_surface.h"
+
+#import <UIKit/UIKit.h>
+#import <QuartzCore/QuartzCore.h>
+
+@implementation SkyViewController
+
+- (void)loadView {
+ SkySurface* surface = [[SkySurface alloc] init];
+
+ surface.autoresizingMask =
+ UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
+
+ self.view = surface;
+
+ [surface release];
+}
+
+@end
« sky/shell/ios/sky_surface.mm ('K') | « sky/shell/ios/sky_view_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698