OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ |
6 #define CHROME_BROWSER_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ | 6 #define CHROME_BROWSER_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "app/menus/simple_menu_model.h" | |
12 #include "chrome/browser/translate/languages_menu_model.h" | 11 #include "chrome/browser/translate/languages_menu_model.h" |
13 #include "chrome/browser/translate/options_menu_model.h" | 12 #include "chrome/browser/translate/options_menu_model.h" |
14 #include "chrome/browser/translate/translate_infobar_view.h" | 13 #include "chrome/browser/translate/translate_infobar_view.h" |
15 #include "chrome/browser/views/infobars/infobars.h" | 14 #include "chrome/browser/views/infobars/infobars.h" |
16 #include "chrome/browser/views/infobars/translate_infobar_base.h" | 15 #include "chrome/browser/views/infobars/translate_infobar_base.h" |
17 #include "views/controls/button/button.h" | 16 #include "views/controls/button/button.h" |
18 #include "views/controls/link.h" | 17 #include "views/controls/link.h" |
19 #include "views/controls/menu/view_menu_delegate.h" | 18 #include "views/controls/menu/view_menu_delegate.h" |
20 | 19 |
21 class InfoBarTextButton; | 20 class InfoBarTextButton; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 scoped_ptr<views::Menu2> languages_menu_; | 69 scoped_ptr<views::Menu2> languages_menu_; |
71 LanguagesMenuModel languages_menu_model_; | 70 LanguagesMenuModel languages_menu_model_; |
72 | 71 |
73 scoped_ptr<views::Menu2> options_menu_; | 72 scoped_ptr<views::Menu2> options_menu_; |
74 OptionsMenuModel options_menu_model_; | 73 OptionsMenuModel options_menu_model_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); | 75 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); |
77 }; | 76 }; |
78 | 77 |
79 #endif // CHROME_BROWSER_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ | 78 #endif // CHROME_BROWSER_VIEWS_INFOBARS_BEFORE_TRANSLATE_INFOBAR_H_ |
OLD | NEW |