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

Side by Side Diff: components/translate/core/browser/translate_ui_delegate.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
« no previous file with comments | « components/translate/core/browser/translate_ranker.h ('k') | components/update_client/action.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "components/translate/core/common/translate_errors.h" 18 #include "components/translate/core/common/translate_errors.h"
19 19
20 namespace translate { 20 namespace translate {
21 21
22 class LanguageState; 22 class LanguageState;
23 class TranslateClient;
24 class TranslateDriver; 23 class TranslateDriver;
25 class TranslateManager; 24 class TranslateManager;
26 class TranslatePrefs; 25 class TranslatePrefs;
27 26
28 // The TranslateUIDelegate is a generic delegate for UI which offers Translate 27 // The TranslateUIDelegate is a generic delegate for UI which offers Translate
29 // feature to the user. 28 // feature to the user.
30 29
31 // Note that the API offers a way to read/set language values through array 30 // Note that the API offers a way to read/set language values through array
32 // indices. Such indices are only valid as long as the visual representation 31 // indices. Such indices are only valid as long as the visual representation
33 // (infobar, bubble...) is in sync with the underlying language list which 32 // (infobar, bubble...) is in sync with the underlying language list which
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 151
153 // The translation related preferences. 152 // The translation related preferences.
154 std::unique_ptr<TranslatePrefs> prefs_; 153 std::unique_ptr<TranslatePrefs> prefs_;
155 154
156 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate); 155 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate);
157 }; 156 };
158 157
159 } // namespace translate 158 } // namespace translate
160 159
161 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ 160 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_ranker.h ('k') | components/update_client/action.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698