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

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

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: Adjusting how gl_renderer draws layers and added a demo app for CRD iOS. 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 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/chromiumoting/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/chromiumoting/example_view_controller.h"
16
17 @implementation AppDelegate
18
19 @synthesize window = _window;
20
21 - (BOOL)application:(UIApplication*)application
22 willFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
23 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
24 self.window.backgroundColor = [UIColor whiteColor];
25 return YES;
26 }
27
28 - (BOOL)application:(UIApplication*)application
29 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
30 ExampleViewController* vc = [[ExampleViewController alloc] init];
31
32 self.window.rootViewController = vc;
33
34 [self.window makeKeyAndVisible];
35 return YES;
36 }
37
38 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698