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

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

Issue 2714223004: Update class prefixes in ios/web_view/translate. (Closed)
Patch Set: Rebase and respond to comments. Created 3 years, 9 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 2014 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_CRIWV_TRANSLATE_MANAGER_IMPL_H_
6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_
7
8 #include <string>
9
10 #import "ios/web_view/public/criwv_translate_manager.h"
11
12 namespace translate {
13 class TranslateManager;
14 }
15
16 // CRIWVTranslateManagerImpl is mostly an Objective-C wrapper around
17 // translate::TranslateUIDelegate.
18 @interface CRIWVTranslateManagerImpl : NSObject<CRIWVTranslateManager>
19
20 - (instancetype)init NS_UNAVAILABLE;
21
22 // |manager| is expexted to outlive this CRIWVTranslateManagerImpl.
23 - (instancetype)initWithTranslateManager:(translate::TranslateManager*)manager
24 sourceLanguage:(const std::string&)source
25 targetLanguage:(const std::string&)target
26 NS_DESIGNATED_INITIALIZER;
27
28 @end
29
30 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698