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

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

Issue 1763783002: Staging an example iOS project to be the dummy target for CRD iOS App. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct comment label. Created 4 years, 9 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
« no previous file with comments | « remoting/client/ios/app_delegate.h ('k') | remoting/client/ios/example_view_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/client/ios/app_delegate.h ('k') | remoting/client/ios/example_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698