OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <ChromeWebView/cwv_export.h> | |
6 #import <Foundation/Foundation.h> | 5 #import <Foundation/Foundation.h> |
7 | 6 |
| 7 #import "cwv_export.h" |
| 8 |
8 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H | 9 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H |
9 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H | 10 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H |
10 | 11 |
11 NS_ASSUME_NONNULL_BEGIN | 12 NS_ASSUME_NONNULL_BEGIN |
12 | 13 |
13 @class CWVTranslationController; | 14 @class CWVTranslationController; |
14 @class CWVLanguageDetectionResult; | 15 @class CWVLanguageDetectionResult; |
15 @class CWVTranslationLanguage; | 16 @class CWVTranslationLanguage; |
16 | 17 |
17 // Updates delegate on translation progress. | 18 // Updates delegate on translation progress. |
(...skipping 19 matching lines...) Expand all Loading... |
37 - (void)translationController:(CWVTranslationController*)controller | 38 - (void)translationController:(CWVTranslationController*)controller |
38 didFinishTranslationFromLanguage:(CWVTranslationLanguage*)sourceLanguage | 39 didFinishTranslationFromLanguage:(CWVTranslationLanguage*)sourceLanguage |
39 toLanguage:(CWVTranslationLanguage*)targetLanguage | 40 toLanguage:(CWVTranslationLanguage*)targetLanguage |
40 error:(nullable NSError*)error; | 41 error:(nullable NSError*)error; |
41 | 42 |
42 @end | 43 @end |
43 | 44 |
44 NS_ASSUME_NONNULL_END | 45 NS_ASSUME_NONNULL_END |
45 | 46 |
46 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H | 47 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_DELEGATE_H |
OLD | NEW |