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

Side by Side Diff: ios/web_view/public/cwv_translation_language.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_LANGUAGE_H 5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_LANGUAGE_H
6 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_LANGUAGE_H 6 #define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_LANGUAGE_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 // Represents a single translatable language. 14 // Represents a single translatable language.
14 CWV_EXPORT 15 CWV_EXPORT
15 @interface CWVTranslationLanguage : NSObject 16 @interface CWVTranslationLanguage : NSObject
16 17
17 - (instancetype)init NS_UNAVAILABLE; 18 - (instancetype)init NS_UNAVAILABLE;
18 19
19 // The ISO language code. en for English, es for Spanish, etc... 20 // The ISO language code. en for English, es for Spanish, etc...
20 // https://cloud.google.com/translate/docs/languages 21 // https://cloud.google.com/translate/docs/languages
21 @property(nonatomic, copy, readonly) NSString* languageCode; 22 @property(nonatomic, copy, readonly) NSString* languageCode;
22 23
23 // The localized language name. 24 // The localized language name.
24 @property(nonatomic, copy, readonly) NSString* languageName; 25 @property(nonatomic, copy, readonly) NSString* languageName;
25 26
26 @end 27 @end
27 28
28 NS_ASSUME_NONNULL_END 29 NS_ASSUME_NONNULL_END
29 30
30 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_LANGUAGE_H 31 #endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATION_LANGUAGE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698