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 <MobileCoreServices/MobileCoreServices.h> | 7 #import <MobileCoreServices/MobileCoreServices.h> |
8 | 8 |
9 #import "ios/web_view/public/cwv.h" | 9 #import "ios/web_view/public/cwv.h" |
10 #import "ios/web_view/public/cwv_html_element.h" | 10 #import "ios/web_view/public/cwv_html_element.h" |
| 11 #import "ios/web_view/public/cwv_navigation_delegate.h" |
| 12 #import "ios/web_view/public/cwv_ui_delegate.h" |
11 #import "ios/web_view/public/cwv_web_view.h" | 13 #import "ios/web_view/public/cwv_web_view.h" |
12 #import "ios/web_view/shell/translate_controller.h" | 14 #import "ios/web_view/shell/translate_controller.h" |
13 | 15 |
14 #if !defined(__has_feature) || !__has_feature(objc_arc) | 16 #if !defined(__has_feature) || !__has_feature(objc_arc) |
15 #error "This file requires ARC support." | 17 #error "This file requires ARC support." |
16 #endif | 18 #endif |
17 | 19 |
18 // Externed accessibility identifier. | 20 // Externed accessibility identifier. |
19 NSString* const kWebViewShellBackButtonAccessibilityLabel = @"Back"; | 21 NSString* const kWebViewShellBackButtonAccessibilityLabel = @"Back"; |
20 NSString* const kWebViewShellForwardButtonAccessibilityLabel = @"Forward"; | 22 NSString* const kWebViewShellForwardButtonAccessibilityLabel = @"Forward"; |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 // TODO(crbug.com/679895): Add some visual indication that the page load has | 334 // TODO(crbug.com/679895): Add some visual indication that the page load has |
333 // finished. | 335 // finished. |
334 [self updateToolbar]; | 336 [self updateToolbar]; |
335 } | 337 } |
336 | 338 |
337 - (void)webViewWebContentProcessDidTerminate:(CWVWebView*)webView { | 339 - (void)webViewWebContentProcessDidTerminate:(CWVWebView*)webView { |
338 NSLog(@"webViewWebContentProcessDidTerminate"); | 340 NSLog(@"webViewWebContentProcessDidTerminate"); |
339 } | 341 } |
340 | 342 |
341 @end | 343 @end |
OLD | NEW |