| OLD | NEW |
| 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/cwv.h" | 7 #import <ChromeWebView/ChromeWebView.h> |
| 8 |
| 8 #import "ios/web_view/shell/shell_delegate.h" | 9 #import "ios/web_view/shell/shell_delegate.h" |
| 9 #import "ios/web_view/shell/shell_view_controller.h" | 10 #import "ios/web_view/shell/shell_view_controller.h" |
| 10 | 11 |
| 11 #if !defined(__has_feature) || !__has_feature(objc_arc) | 12 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 12 #error "This file requires ARC support." | 13 #error "This file requires ARC support." |
| 13 #endif | 14 #endif |
| 14 | 15 |
| 15 @interface ShellAppDelegate () | 16 @interface ShellAppDelegate () |
| 16 @property(nonatomic, strong) ShellDelegate* delegate; | 17 @property(nonatomic, strong) ShellDelegate* delegate; |
| 17 @end | 18 @end |
| (...skipping 29 matching lines...) Expand all Loading... |
| 47 } | 48 } |
| 48 | 49 |
| 49 - (void)applicationDidBecomeActive:(UIApplication*)application { | 50 - (void)applicationDidBecomeActive:(UIApplication*)application { |
| 50 } | 51 } |
| 51 | 52 |
| 52 - (void)applicationWillTerminate:(UIApplication*)application { | 53 - (void)applicationWillTerminate:(UIApplication*)application { |
| 53 [CWV shutDown]; | 54 [CWV shutDown]; |
| 54 } | 55 } |
| 55 | 56 |
| 56 @end | 57 @end |
| OLD | NEW |