Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: ios/web_view/public/cwv_translation_controller.h

Issue 2941683002: Add script to generate CronetChromeWebView.framework (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H 5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H
6 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H 6 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H
7 7
8 #import <ChromeWebView/cwv_export.h>
9 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
10 9
10 #import "cwv_export.h"
11
11 NS_ASSUME_NONNULL_BEGIN 12 NS_ASSUME_NONNULL_BEGIN
12 13
13 @class CWVTranslationLanguage; 14 @class CWVTranslationLanguage;
14 @class CWVTranslationPolicy; 15 @class CWVTranslationPolicy;
15 @protocol CWVTranslationControllerDelegate; 16 @protocol CWVTranslationControllerDelegate;
16 17
17 // The error domain for translation errors. 18 // The error domain for translation errors.
18 extern NSErrorDomain const CWVTranslationErrorDomain; 19 extern NSErrorDomain const CWVTranslationErrorDomain;
19 20
20 // Possible error codes during translation. 21 // Possible error codes during translation.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // |pageHost| should be the hostname of the website. Must not be empty. 77 // |pageHost| should be the hostname of the website. Must not be empty.
77 - (void)setTranslationPolicy:(CWVTranslationPolicy*)policy 78 - (void)setTranslationPolicy:(CWVTranslationPolicy*)policy
78 forPageHost:(NSString*)pageHost; 79 forPageHost:(NSString*)pageHost;
79 - (CWVTranslationPolicy*)translationPolicyForPageHost:(NSString*)pageHost; 80 - (CWVTranslationPolicy*)translationPolicyForPageHost:(NSString*)pageHost;
80 81
81 @end 82 @end
82 83
83 NS_ASSUME_NONNULL_END 84 NS_ASSUME_NONNULL_END
84 85
85 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H 86 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_CONTROLLER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698