| 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_view_controller.h" | 5 #import "ios/web_view/shell/shell_view_controller.h" |
| 6 | 6 |
| 7 #import <ChromeWebView/ChromeWebView.h> |
| 7 #import <MobileCoreServices/MobileCoreServices.h> | 8 #import <MobileCoreServices/MobileCoreServices.h> |
| 8 | 9 |
| 9 #import "ios/web_view/public/cwv.h" | |
| 10 #import "ios/web_view/public/cwv_html_element.h" | |
| 11 #import "ios/web_view/public/cwv_navigation_action.h" | |
| 12 #import "ios/web_view/public/cwv_navigation_delegate.h" | |
| 13 #import "ios/web_view/public/cwv_ui_delegate.h" | |
| 14 #import "ios/web_view/public/cwv_web_view.h" | |
| 15 #import "ios/web_view/shell/translate_controller.h" | 10 #import "ios/web_view/shell/translate_controller.h" |
| 16 | 11 |
| 17 #if !defined(__has_feature) || !__has_feature(objc_arc) | 12 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 18 #error "This file requires ARC support." | 13 #error "This file requires ARC support." |
| 19 #endif | 14 #endif |
| 20 | 15 |
| 21 // Externed accessibility identifier. | 16 // Externed accessibility identifier. |
| 22 NSString* const kWebViewShellBackButtonAccessibilityLabel = @"Back"; | 17 NSString* const kWebViewShellBackButtonAccessibilityLabel = @"Back"; |
| 23 NSString* const kWebViewShellForwardButtonAccessibilityLabel = @"Forward"; | 18 NSString* const kWebViewShellForwardButtonAccessibilityLabel = @"Forward"; |
| 24 NSString* const kWebViewShellAddressFieldAccessibilityLabel = @"Address field"; | 19 NSString* const kWebViewShellAddressFieldAccessibilityLabel = @"Address field"; |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // TODO(crbug.com/679895): Add some visual indication that the page load has | 343 // TODO(crbug.com/679895): Add some visual indication that the page load has |
| 349 // finished. | 344 // finished. |
| 350 [self updateToolbar]; | 345 [self updateToolbar]; |
| 351 } | 346 } |
| 352 | 347 |
| 353 - (void)webViewWebContentProcessDidTerminate:(CWVWebView*)webView { | 348 - (void)webViewWebContentProcessDidTerminate:(CWVWebView*)webView { |
| 354 NSLog(@"webViewWebContentProcessDidTerminate"); | 349 NSLog(@"webViewWebContentProcessDidTerminate"); |
| 355 } | 350 } |
| 356 | 351 |
| 357 @end | 352 @end |
| OLD | NEW |