OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
13 #include "chrome/browser/translate/chrome_translate_client.h" | 13 #include "chrome/browser/translate/chrome_translate_client.h" |
14 #include "chrome/browser/ui/translate/language_combobox_model.h" | 14 #include "chrome/browser/ui/translate/language_combobox_model.h" |
15 #include "chrome/browser/ui/translate/translate_bubble_model.h" | 15 #include "chrome/browser/ui/translate/translate_bubble_model.h" |
16 #include "chrome/browser/ui/translate/translate_bubble_test_utils.h" | 16 #include "chrome/browser/ui/translate/translate_bubble_test_utils.h" |
17 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" | 17 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" |
18 #include "components/translate/core/common/translate_errors.h" | 18 #include "components/translate/core/common/translate_errors.h" |
19 #include "content/public/browser/web_contents_observer.h" | 19 #include "content/public/browser/web_contents_observer.h" |
20 #include "ui/views/controls/button/button.h" | 20 #include "ui/views/controls/button/button.h" |
21 #include "ui/views/controls/combobox/combobox_listener.h" | 21 #include "ui/views/controls/combobox/combobox_listener.h" |
22 #include "ui/views/controls/link_listener.h" | 22 #include "ui/views/controls/link_listener.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // Whether the translation is acutually executed. | 212 // Whether the translation is acutually executed. |
213 bool translate_executed_; | 213 bool translate_executed_; |
214 | 214 |
215 // Whether one of denial buttons is clicked. | 215 // Whether one of denial buttons is clicked. |
216 bool denial_button_clicked_; | 216 bool denial_button_clicked_; |
217 | 217 |
218 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); | 218 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); |
219 }; | 219 }; |
220 | 220 |
221 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ | 221 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ |
OLD | NEW |