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

Side by Side Diff: ios/web_view/internal/translate/cwv_translation_language_internal.h

Issue 2839093002: Implemented new Translate API for purely Objective-C clients. (Closed)
Patch Set: merge Created 3 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_LANGUAGE_INTERNAL_H
6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_LANGUAGE_INTERNAL_H
7
8 #import "ios/web_view/public/cwv_translation_language.h"
9
10 #include <string>
11
12 #include "base/strings/string16.h"
13
14 NS_ASSUME_NONNULL_BEGIN
15
16 @interface CWVTranslationLanguage ()
17
18 - (instancetype)initWithLanguageCode:(const std::string&)languageCode
19 languageName:(const base::string16&)languageName
20 NS_DESIGNATED_INITIALIZER;
21
22 @end
23
24 NS_ASSUME_NONNULL_END
25
26 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_LANGUAGE_INTERNAL_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698