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