| 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 #ifndef IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ |
| 6 #define IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ | 6 #define IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/web_view/public/cwv_navigation_delegate.h" | |
| 11 #import "ios/web_view/public/cwv_ui_delegate.h" | |
| 12 | |
| 13 // Accessibility label added to the back button. | 10 // Accessibility label added to the back button. |
| 14 extern NSString* const kWebViewShellBackButtonAccessibilityLabel; | 11 extern NSString* const kWebViewShellBackButtonAccessibilityLabel; |
| 15 // Accessibility label added to the forward button. | 12 // Accessibility label added to the forward button. |
| 16 extern NSString* const kWebViewShellForwardButtonAccessibilityLabel; | 13 extern NSString* const kWebViewShellForwardButtonAccessibilityLabel; |
| 17 // Accessibility label added to the URL address text field. | 14 // Accessibility label added to the URL address text field. |
| 18 extern NSString* const kWebViewShellAddressFieldAccessibilityLabel; | 15 extern NSString* const kWebViewShellAddressFieldAccessibilityLabel; |
| 19 // Accessibility identifier added to the text field of JavaScript prompts. | 16 // Accessibility identifier added to the text field of JavaScript prompts. |
| 20 extern NSString* const | 17 extern NSString* const |
| 21 kWebViewShellJavaScriptDialogTextFieldAccessibiltyIdentifier; | 18 kWebViewShellJavaScriptDialogTextFieldAccessibiltyIdentifier; |
| 22 | 19 |
| 23 // Implements the main UI for web_view_shell, including the toolbar and web | 20 // Implements the main UI for web_view_shell, including the toolbar and web |
| 24 // view. | 21 // view. |
| 25 @interface ShellViewController : UIViewController | 22 @interface ShellViewController : UIViewController |
| 26 | 23 |
| 27 @end | 24 @end |
| 28 | 25 |
| 29 #endif // IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ | 26 #endif // IOS_WEB_VIEW_SHELL_SHELL_VIEW_CONTROLLER_H_ |
| OLD | NEW |