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

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

Issue 2839093002: Implemented new Translate API for purely Objective-C clients. (Closed)
Patch Set: merge Created 3 years, 7 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/cwv_language_detection_result.h ('k') | ios/web_view/public/cwv_translate_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/cwv_translate_delegate.h
diff --git a/ios/web_view/public/cwv_translate_delegate.h b/ios/web_view/public/cwv_translate_delegate.h
deleted file mode 100644
index d05ab15d90d451f3331dc41aeeaad7493f6b2b45..0000000000000000000000000000000000000000
--- a/ios/web_view/public/cwv_translate_delegate.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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_CWV_TRANSLATE_DELEGATE_H_
-#define IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATE_DELEGATE_H_
-
-#import <ChromeWebView/cwv_export.h>
-#import <Foundation/Foundation.h>
-
-@protocol CWVTranslateManager;
-
-typedef NS_ENUM(NSInteger, CRIWVTransateStep) {
- CRIWVTransateStepBeforeTranslate,
- CRIWVTransateStepTranslating,
- CRIWVTransateStepAfterTranslate,
- CRIWVTransateStepError,
-};
-
-// Delegate interface for the CRIWVTranslate. Embedders can implement the
-// functions in order to customize the behavior.
-CWV_EXPORT
-@protocol CWVTranslateDelegate
-
-- (void)translateStepChanged:(CRIWVTransateStep)step
- manager:(id<CWVTranslateManager>)manager;
-
-@end
-
-#endif // IOS_WEB_VIEW_PUBLIC_CWV_TRANSLATE_DELEGATE_H_
« no previous file with comments | « ios/web_view/public/cwv_language_detection_result.h ('k') | ios/web_view/public/cwv_translate_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698