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" | 11 #include "base/basictypes.h" |
| 12 #include "base/gtest_prod_util.h" |
12 #include "chrome/browser/translate/chrome_translate_client.h" | 13 #include "chrome/browser/translate/chrome_translate_client.h" |
13 #include "chrome/browser/ui/translate/language_combobox_model.h" | 14 #include "chrome/browser/ui/translate/language_combobox_model.h" |
14 #include "chrome/browser/ui/translate/translate_bubble_model.h" | 15 #include "chrome/browser/ui/translate/translate_bubble_model.h" |
15 #include "chrome/browser/ui/translate/translate_bubble_test_utils.h" | 16 #include "chrome/browser/ui/translate/translate_bubble_test_utils.h" |
16 #include "chrome/browser/ui/views/managed_full_screen_bubble_delegate_view.h" | 17 #include "chrome/browser/ui/views/managed_full_screen_bubble_delegate_view.h" |
17 #include "components/translate/core/common/translate_errors.h" | 18 #include "components/translate/core/common/translate_errors.h" |
18 #include "content/public/browser/web_contents_observer.h" | 19 #include "content/public/browser/web_contents_observer.h" |
19 #include "ui/views/controls/button/button.h" | 20 #include "ui/views/controls/button/button.h" |
20 #include "ui/views/controls/combobox/combobox_listener.h" | 21 #include "ui/views/controls/combobox/combobox_listener.h" |
21 #include "ui/views/controls/link_listener.h" | 22 #include "ui/views/controls/link_listener.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // Whether the translation is acutually executed. | 203 // Whether the translation is acutually executed. |
203 bool translate_executed_; | 204 bool translate_executed_; |
204 | 205 |
205 // Whether one of denial buttons is clicked. | 206 // Whether one of denial buttons is clicked. |
206 bool denial_button_clicked_; | 207 bool denial_button_clicked_; |
207 | 208 |
208 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); | 209 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); |
209 }; | 210 }; |
210 | 211 |
211 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ | 212 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ |
OLD | NEW |