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

Unified Diff: ios/web_view/shell/translate_delegate.h

Issue 2839093002: Implemented new Translate API for purely Objective-C clients. (Closed)
Patch Set: added TODO Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ios/web_view/shell/translate_delegate.h
diff --git a/ios/web_view/shell/translate_controller.h b/ios/web_view/shell/translate_delegate.h
similarity index 52%
rename from ios/web_view/shell/translate_controller.h
rename to ios/web_view/shell/translate_delegate.h
index c2522510add7cb606aa117d7d453288ddf724783..069701d0693e147286654ebf1c9d73355b8624ee 100644
--- a/ios/web_view/shell/translate_controller.h
+++ b/ios/web_view/shell/translate_delegate.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_WEB_VIEW_SHELL_TRANSLATE_CONTROLLER_H_
-#define IOS_WEB_VIEW_SHELL_TRANSLATE_CONTROLLER_H_
+#ifndef IOS_WEB_VIEW_SHELL_TRANSLATE_DELEGATE_H_
+#define IOS_WEB_VIEW_SHELL_TRANSLATE_DELEGATE_H_
#import <ChromeWebView/ChromeWebView.h>
#import <Foundation/Foundation.h>
-@interface TranslateController : NSObject<CWVTranslateDelegate>
+@interface TranslateDelegate : NSObject<CWVTranslationControllerDelegate>
Eugene But (OOO till 7-30) 2017/04/27 13:08:09 Should this be TranslationDelegate?
jzw1 2017/04/28 02:34:54 Done.
@end
-#endif // IOS_WEB_VIEW_SHELL_TRANSLATE_CONTROLLER_H_
+#endif // IOS_WEB_VIEW_SHELL_TRANSLATE_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698