Chromium Code Reviews| Index: chrome/browser/ui/cocoa/translate/translate_bubble_controller.h |
| diff --git a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h |
| index d65f159c58f516d134e4d0f7656b963be5c92535..b8435eba4d7bebb878daedeb6ce8f1ab6942f6ec 100644 |
| --- a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h |
| +++ b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h |
| @@ -4,6 +4,7 @@ |
| #import <Cocoa/Cocoa.h> |
| +#include "base/mac/scoped_nsobject.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "chrome/browser/translate/translate_tab_helper.h" |
| #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
| @@ -11,7 +12,9 @@ |
| @class BrowserWindowController; |
| +class LanguageComboboxModel; |
| class TranslateBubbleModel; |
| +class TranslateDenialComboboxModel; |
| namespace content { |
| class WebContents; |
| @@ -26,6 +29,20 @@ class WebContents; |
| content::WebContents* webContents_; |
| scoped_ptr<TranslateBubbleModel> model_; |
| + base::scoped_nsobject<NSView> beforeTranslateView_; |
| + base::scoped_nsobject<NSView> translatingView_; |
| + base::scoped_nsobject<NSView> afterTranslateView_; |
| + base::scoped_nsobject<NSView> errorView_; |
| + base::scoped_nsobject<NSView> advancedView_; |
| + |
| + NSButton* advancedDoneButton_; |
|
groby-ooo-7-16
2014/03/25 18:49:05
Please add comment who owns those buttons.
hajimehoshi
2014/03/26 11:06:05
Done.
|
| + NSButton* advancedCancelButton_; |
| + NSButton* alwaysTranslateCheckbox_; |
| + |
| + scoped_ptr<TranslateDenialComboboxModel> translateDenialComboboxModel_; |
| + scoped_ptr<LanguageComboboxModel> sourceLanguageComboboxModel_; |
| + scoped_ptr<LanguageComboboxModel> targetLanguageComboboxModel_; |
| + |
| // Whether the translation is actually executed once at least. |
| BOOL translateExecuted_; |
| } |