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

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

Issue 2643773005: Upstream ios/web_view source code. (Closed)
Patch Set: Created 3 years, 11 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 #include "base/memory/weak_ptr.h"
sdefresne 2017/01/20 10:28:13 Remove?
michaeldo 2017/01/24 22:35:26 Done in dep CL.
11 #import "ios/web_view/public/criwv_translate_manager.h"
12
13 namespace translate {
14 class TranslateManager;
15 }
16
17 // CRIWVTranslateManagerImpl is mostly an Objective-C wrapper around
18 // translate::TranslateUIDelegate.
19 @interface CRIWVTranslateManagerImpl : NSObject<CRIWVTranslateManager>
20
21 // |manager| is expexted to outlive this CRIWVTranslateManagerImpl.
22 - (instancetype)initWithTranslateManager:(translate::TranslateManager*)manager
23 sourceLanguage:(const std::string&)source
24 targetLanguage:(const std::string&)target;
sdefresne 2017/01/20 10:28:13 NS_DESIGNATED_INITIALIZER
michaeldo 2017/01/24 22:35:26 Done in dep CL.
25
26 @end
27
28 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698