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_BEFORE_TRANSLATE_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_BEFORE_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/infobars.h" | 12 #include "chrome/browser/ui/views/infobars/infobars.h" |
13 #include "chrome/browser/views/infobars/translate_infobar_base.h" | 13 #include "chrome/browser/ui/views/infobars/translate_infobar_base.h" |
14 #include "views/controls/button/button.h" | 14 #include "views/controls/button/button.h" |
15 #include "views/controls/link.h" | 15 #include "views/controls/link.h" |
16 #include "views/controls/menu/view_menu_delegate.h" | 16 #include "views/controls/menu/view_menu_delegate.h" |
17 | 17 |
18 class InfoBarTextButton; | 18 class InfoBarTextButton; |
19 class TranslateInfoBarDelegate; | 19 class TranslateInfoBarDelegate; |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 class Menu2; | 22 class Menu2; |
23 class MenuButton; | 23 class MenuButton; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 scoped_ptr<views::Menu2> languages_menu_; | 67 scoped_ptr<views::Menu2> languages_menu_; |
68 LanguagesMenuModel languages_menu_model_; | 68 LanguagesMenuModel languages_menu_model_; |
69 | 69 |
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 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); | 73 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); |
74 }; | 74 }; |
75 | 75 |
76 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ | 76 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ |
OLD | NEW |