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

Unified Diff: ios/web_view/public/criwv_translate_manager.h

Issue 2653083002: Cleanup ios/web_view. (Closed)
Patch Set: Respond to more comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web_view/public/criwv_translate_delegate.h ('k') | ios/web_view/public/criwv_web_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/criwv_translate_manager.h
diff --git a/ios/web_view/public/criwv_translate_manager.h b/ios/web_view/public/criwv_translate_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..8acd498d193673552025b4b8baec9b818e73b347
--- /dev/null
+++ b/ios/web_view/public/criwv_translate_manager.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_TRANSLATE_MANAGER_H_
+#define IOS_WEB_VIEW_PUBLIC_CRIWV_TRANSLATE_MANAGER_H_
+
+#import <Foundation/Foundation.h>
+
+// Interface to manage the translation flow.
+// Clients are not supposed to instantiate or subclass it.
+@protocol CRIWVTranslateManager<NSObject>
+
+- (void)translate;
+
+- (void)revertTranslation;
+
+@end
+
+#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_TRANSLATE_MANAGER_H_
« no previous file with comments | « ios/web_view/public/criwv_translate_delegate.h ('k') | ios/web_view/public/criwv_web_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698