OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/translate/languages_menu_model.h" | 9 #include "chrome/browser/translate/languages_menu_model.h" |
10 #include "chrome/browser/translate/options_menu_model.h" | 10 #include "chrome/browser/translate/options_menu_model.h" |
11 #include "chrome/browser/translate/translate_infobar_view.h" | 11 #include "chrome/browser/translate/translate_infobar_view.h" |
12 #include "chrome/browser/views/infobars/translate_infobar_base.h" | 12 #include "chrome/browser/ui/views/infobars/translate_infobar_base.h" |
13 #include "views/controls/button/button.h" | 13 #include "views/controls/button/button.h" |
14 #include "views/controls/link.h" | 14 #include "views/controls/link.h" |
15 #include "views/controls/menu/view_menu_delegate.h" | 15 #include "views/controls/menu/view_menu_delegate.h" |
16 | 16 |
17 class InfoBarTextButton; | 17 class InfoBarTextButton; |
18 class TranslateInfoBarDelegate; | 18 class TranslateInfoBarDelegate; |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class Menu2; | 21 class Menu2; |
22 class MenuButton; | 22 class MenuButton; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 scoped_ptr<views::Menu2> options_menu_; | 70 scoped_ptr<views::Menu2> options_menu_; |
71 OptionsMenuModel options_menu_model_; | 71 OptionsMenuModel options_menu_model_; |
72 | 72 |
73 // True if the target language comes before the original one. | 73 // True if the target language comes before the original one. |
74 bool swapped_language_buttons_; | 74 bool swapped_language_buttons_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(AfterTranslateInfoBar); | 76 DISALLOW_COPY_AND_ASSIGN(AfterTranslateInfoBar); |
77 }; | 77 }; |
78 | 78 |
79 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ | 79 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_AFTER_TRANSLATE_INFOBAR_H_ |
OLD | NEW |