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 "chrome/browser/ui/translate/language_combobox_model.h" | 12 #include "chrome/browser/ui/translate/language_combobox_model.h" |
13 #include "chrome/browser/ui/translate/translate_bubble_model.h" | 13 #include "chrome/browser/ui/translate/translate_bubble_model.h" |
14 #include "chrome/common/translate/translate_errors.h" | 14 #include "components/translate/core/common/translate_errors.h" |
15 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
16 #include "ui/views/bubble/bubble_delegate.h" | 16 #include "ui/views/bubble/bubble_delegate.h" |
17 #include "ui/views/controls/button/button.h" | 17 #include "ui/views/controls/button/button.h" |
18 #include "ui/views/controls/combobox/combobox_listener.h" | 18 #include "ui/views/controls/combobox/combobox_listener.h" |
19 #include "ui/views/controls/link_listener.h" | 19 #include "ui/views/controls/link_listener.h" |
20 | 20 |
21 class PrefService; | 21 class PrefService; |
22 class TranslateBubbleModel; | 22 class TranslateBubbleModel; |
23 | 23 |
24 namespace views { | 24 namespace views { |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 // Whether the translation is acutually executed. | 193 // Whether the translation is acutually executed. |
194 bool translate_executed_; | 194 bool translate_executed_; |
195 | 195 |
196 // Whether one of denial buttons is clicked. | 196 // Whether one of denial buttons is clicked. |
197 bool denial_button_clicked_; | 197 bool denial_button_clicked_; |
198 | 198 |
199 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); | 199 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); |
200 }; | 200 }; |
201 | 201 |
202 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ | 202 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ |
OLD | NEW |