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

Unified Diff: ios/web_view/shell/shell_app_delegate.mm

Issue 2659393004: Convert ios_web_view_shell to pure Objective-C. (Closed)
Patch Set: Move const and format. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web_view/shell/shell_app_delegate.m ('k') | ios/web_view/shell/shell_delegate.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/shell/shell_app_delegate.mm
diff --git a/ios/web_view/shell/shell_app_delegate.mm b/ios/web_view/shell/shell_app_delegate.mm
deleted file mode 100644
index fa6bfc69452eb2fcf572ecd0213d990ee6e3deb3..0000000000000000000000000000000000000000
--- a/ios/web_view/shell/shell_app_delegate.mm
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2014 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 "ios/web_view/shell/shell_app_delegate.h"
-
-#import "ios/web_view/public/criwv.h"
-#import "ios/web_view/shell/shell_delegate.h"
-#import "ios/web_view/shell/shell_view_controller.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-@interface ShellAppDelegate ()
-@property (nonatomic, strong) ShellDelegate* delegate;
-@end
-
-@implementation ShellAppDelegate
-
-@synthesize delegate = _delegate;
-@synthesize window = _window;
-
-- (BOOL)application:(UIApplication*)application
- didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
- self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- self.window.backgroundColor = [UIColor whiteColor];
-
- self.delegate = [[ShellDelegate alloc] init];
- [CRIWV configureWithDelegate:_delegate];
-
- [self.window makeKeyAndVisible];
-
- ShellViewController* controller = [[ShellViewController alloc] init];
- self.window.rootViewController = controller;
-
- return YES;
-}
-
-- (void)applicationWillResignActive:(UIApplication*)application {
-}
-
-- (void)applicationDidEnterBackground:(UIApplication*)application {
-}
-
-- (void)applicationWillEnterForeground:(UIApplication*)application {
-}
-
-- (void)applicationDidBecomeActive:(UIApplication*)application {
-}
-
-- (void)applicationWillTerminate:(UIApplication*)application {
- [CRIWV shutDown];
-}
-
-@end
« no previous file with comments | « ios/web_view/shell/shell_app_delegate.m ('k') | ios/web_view/shell/shell_delegate.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698