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

Side by Side Diff: components/translate/core/browser/translate_infobar_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
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_INFOBAR_DELEGATE_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 11 matching lines...) Expand all
22 #include "components/translate/core/browser/translate_ui_delegate.h" 22 #include "components/translate/core/browser/translate_ui_delegate.h"
23 #include "components/translate/core/common/translate_constants.h" 23 #include "components/translate/core/common/translate_constants.h"
24 #include "components/translate/core/common/translate_errors.h" 24 #include "components/translate/core/common/translate_errors.h"
25 25
26 namespace infobars { 26 namespace infobars {
27 class InfoBarManager; 27 class InfoBarManager;
28 } 28 }
29 29
30 namespace translate { 30 namespace translate {
31 31
32 class TranslateClient;
33 class TranslateDriver; 32 class TranslateDriver;
34 class TranslateManager; 33 class TranslateManager;
35 34
36 class TranslateInfoBarDelegate : public infobars::InfoBarDelegate { 35 class TranslateInfoBarDelegate : public infobars::InfoBarDelegate {
37 public: 36 public:
38 // The types of background color animations. 37 // The types of background color animations.
39 enum BackgroundAnimationType { 38 enum BackgroundAnimationType {
40 NONE, 39 NONE,
41 NORMAL_TO_ERROR, 40 NORMAL_TO_ERROR,
42 ERROR_TO_NORMAL 41 ERROR_TO_NORMAL
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 226
228 // Whether the translation was triggered via a menu click vs automatically 227 // Whether the translation was triggered via a menu click vs automatically
229 // (due to language detection, preferences...) 228 // (due to language detection, preferences...)
230 bool triggered_from_menu_; 229 bool triggered_from_menu_;
231 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate); 230 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate);
232 }; 231 };
233 232
234 } // namespace translate 233 } // namespace translate
235 234
236 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_ 235 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/translate/content/renderer/translate_helper.h ('k') | components/translate/core/browser/translate_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698