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

Side by Side Diff: remoting/client/ios/app_delegate.mm

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: cleaning up includes. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support."
7 #endif
8
9 #import "remoting/client/ios/app_delegate.h"
10
11 #include "base/logging.h"
12
13 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/base/resource/resource_bundle.h"
15 #import "remoting/client/ios/example_view_controller.h"
16
17
18 @implementation AppDelegate
19
20 @synthesize window = _window;
21
22 - (BOOL)application:(UIApplication*)application
23 willFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
24 self.window =
25 [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
26 self.window.backgroundColor = [UIColor whiteColor];
27 return YES;
28 }
29
30 - (BOOL)application:(UIApplication*)application
31 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
32
33 ExampleViewController *vc = [[ExampleViewController alloc] init];
34
35 self.window.rootViewController = vc;
36
37 [self.window makeKeyAndVisible];
38 return YES;
39 }
40
41 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698