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

Side by Side Diff: ios/web_view/internal/translate/cwv_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, 10 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 2014 The Chromium Authors. All rights reserved. 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 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_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATE_MANAGER_IMPL_H_
6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_ 6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATE_MANAGER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import "ios/web_view/public/criwv_translate_manager.h" 10 #import "ios/web_view/public/criwv_translate_manager.h"
11 11
12 namespace translate { 12 namespace translate {
13 class TranslateManager; 13 class TranslateManager;
14 } 14 }
15 15
16 // CRIWVTranslateManagerImpl is mostly an Objective-C wrapper around 16 // CWVTranslateManagerImpl is mostly an Objective-C wrapper around
17 // translate::TranslateUIDelegate. 17 // translate::TranslateUIDelegate.
18 @interface CRIWVTranslateManagerImpl : NSObject<CRIWVTranslateManager> 18 @interface CWVTranslateManagerImpl : NSObject<CRIWVTranslateManager>
19 19
20 - (instancetype)init NS_UNAVAILABLE; 20 - (instancetype)init NS_UNAVAILABLE;
21 21
22 // |manager| is expexted to outlive this CRIWVTranslateManagerImpl. 22 // |manager| is expexted to outlive this CWVTranslateManagerImpl.
23 - (instancetype)initWithTranslateManager:(translate::TranslateManager*)manager 23 - (instancetype)initWithTranslateManager:(translate::TranslateManager*)manager
24 sourceLanguage:(const std::string&)source 24 sourceLanguage:(const std::string&)source
25 targetLanguage:(const std::string&)target 25 targetLanguage:(const std::string&)target
26 NS_DESIGNATED_INITIALIZER; 26 NS_DESIGNATED_INITIALIZER;
27 27
28 @end 28 @end
29 29
30 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_ 30 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATE_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698