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

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

Issue 2650323002: Cleanup ios/web_view. (Closed)
Patch Set: Respond to 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 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_CLIENT_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_CLIENT_H_
6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_CLIENT_H_ 6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #import "base/mac/scoped_nsobject.h"
12 #include "components/translate/core/browser/translate_client.h" 11 #include "components/translate/core/browser/translate_client.h"
13 #include "components/translate/core/browser/translate_step.h" 12 #include "components/translate/core/browser/translate_step.h"
14 #include "components/translate/core/common/translate_errors.h" 13 #include "components/translate/core/common/translate_errors.h"
15 #import "components/translate/ios/browser/ios_translate_driver.h" 14 #import "components/translate/ios/browser/ios_translate_driver.h"
16 #include "ios/web/public/web_state/web_state_observer.h" 15 #include "ios/web/public/web_state/web_state_observer.h"
17 #import "ios/web/public/web_state/web_state_user_data.h" 16 #import "ios/web/public/web_state/web_state_user_data.h"
18 17
19 @protocol CRIWVTranslateDelegate; 18 @protocol CRIWVTranslateDelegate;
20 class PrefService; 19 class PrefService;
21 20
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 73
75 // Delegate provided by the embedder. 74 // Delegate provided by the embedder.
76 id<CRIWVTranslateDelegate> delegate_; // Weak. 75 id<CRIWVTranslateDelegate> delegate_; // Weak.
77 76
78 DISALLOW_COPY_AND_ASSIGN(CRIWVTranslateClient); 77 DISALLOW_COPY_AND_ASSIGN(CRIWVTranslateClient);
79 }; 78 };
80 79
81 } // namespace ios_web_view 80 } // namespace ios_web_view
82 81
83 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_CLIENT_H_ 82 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CRIWV_TRANSLATE_CLIENT_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv_web_view_impl.mm ('k') | ios/web_view/internal/translate/criwv_translate_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698