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

Side by Side Diff: ios/web_view/shell/shell_app_delegate.m

Issue 2659393004: Convert ios_web_view_shell to pure Objective-C. (Closed)
Patch Set: Move const and format. Created 3 years, 10 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 | « ios/web_view/shell/BUILD.gn ('k') | ios/web_view/shell/shell_app_delegate.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/web_view/shell/shell_app_delegate.h" 5 #import "ios/web_view/shell/shell_app_delegate.h"
6 6
7 #import "ios/web_view/public/criwv.h" 7 #import "ios/web_view/public/criwv.h"
8 #import "ios/web_view/shell/shell_delegate.h" 8 #import "ios/web_view/shell/shell_delegate.h"
9 #import "ios/web_view/shell/shell_view_controller.h" 9 #import "ios/web_view/shell/shell_view_controller.h"
10 10
11 #if !defined(__has_feature) || !__has_feature(objc_arc) 11 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support." 12 #error "This file requires ARC support."
13 #endif 13 #endif
14 14
15 @interface ShellAppDelegate () 15 @interface ShellAppDelegate ()
16 @property (nonatomic, strong) ShellDelegate* delegate; 16 @property(nonatomic, strong) ShellDelegate* delegate;
17 @end 17 @end
18 18
19 @implementation ShellAppDelegate 19 @implementation ShellAppDelegate
20 20
21 @synthesize delegate = _delegate; 21 @synthesize delegate = _delegate;
22 @synthesize window = _window; 22 @synthesize window = _window;
23 23
24 - (BOOL)application:(UIApplication*)application 24 - (BOOL)application:(UIApplication*)application
25 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { 25 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
26 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 26 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
(...skipping 20 matching lines...) Expand all
47 } 47 }
48 48
49 - (void)applicationDidBecomeActive:(UIApplication*)application { 49 - (void)applicationDidBecomeActive:(UIApplication*)application {
50 } 50 }
51 51
52 - (void)applicationWillTerminate:(UIApplication*)application { 52 - (void)applicationWillTerminate:(UIApplication*)application {
53 [CRIWV shutDown]; 53 [CRIWV shutDown];
54 } 54 }
55 55
56 @end 56 @end
OLDNEW
« no previous file with comments | « ios/web_view/shell/BUILD.gn ('k') | ios/web_view/shell/shell_app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698