Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: chrome/browser/views/infobars/translate_infobars.h

Issue 2602003: Refactored the translate infobars. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Synced Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/infobars/translate_infobars.h
diff --git a/chrome/browser/views/infobars/translate_infobars.h b/chrome/browser/views/infobars/translate_infobars.h
index 60e3dcb648d7b132fc4ffde54a1a4e8c840da838..3c0ac944bf3572c980ce2958ebd721a163123a7f 100644
--- a/chrome/browser/views/infobars/translate_infobars.h
+++ b/chrome/browser/views/infobars/translate_infobars.h
@@ -19,9 +19,9 @@ class ImageView;
class Label;
class MenuButton;
}
+class InfoBarTextButton;
class LanguagesMenuModel;
class OptionsMenuModel;
-class TranslateTextButton;
// This file contains implementations for infobars for the Translate feature.
@@ -95,13 +95,13 @@ class TranslateInfoBar : public InfoBar,
views::Label* label_3_;
views::Label* translating_label_;
views::Label* error_label_;
- TranslateTextButton* accept_button_;
- TranslateTextButton* deny_button_;
+ InfoBarTextButton* accept_button_;
+ InfoBarTextButton* deny_button_;
views::MenuButton* original_language_menu_button_;
views::MenuButton* target_language_menu_button_;
- TranslateTextButton* revert_button_;
+ InfoBarTextButton* revert_button_;
views::MenuButton* options_menu_button_;
- TranslateTextButton* retry_button_;
+ InfoBarTextButton* retry_button_;
scoped_ptr<LanguagesMenuModel> original_language_menu_model_;
scoped_ptr<LanguagesMenuModel> target_language_menu_model_;
« no previous file with comments | « chrome/browser/views/infobars/translate_infobar_base.cc ('k') | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698