diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 16:10:49 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 16:10:49 +0000 |
commit | 612142dcec5745fb61907c35cc20a83122625cb3 (patch) | |
tree | 60aa1f0d71530c01cef468acebd04a75a71fe13f /chrome/chrome_browser.gypi | |
parent | 55a81838a8d44fe0050be4d1f0a13a17c3533810 (diff) | |
download | chromium_src-612142dcec5745fb61907c35cc20a83122625cb3.zip chromium_src-612142dcec5745fb61907c35cc20a83122625cb3.tar.gz chromium_src-612142dcec5745fb61907c35cc20a83122625cb3.tar.bz2 |
Porting the infobars on Linux to the new TranslateInfobarDelegate2.
Each translate infobar is now its own class and most of the logic is in the delegate.
BUG=40828
TEST=Thoroughly test the translate feature on Linux.
Review URL: http://codereview.chromium.org/2867017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rwxr-xr-x | chrome/chrome_browser.gypi | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 5ede262..cd71d7f 100755 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1508,8 +1508,14 @@ 'browser/gtk/task_manager_gtk.h', 'browser/gtk/theme_install_bubble_view_gtk.cc', 'browser/gtk/theme_install_bubble_view_gtk.h', - 'browser/gtk/translate_infobars.cc', - 'browser/gtk/translate_infobars.h', + 'browser/gtk/translate/after_translate_infobar_gtk.cc', + 'browser/gtk/translate/after_translate_infobar_gtk.h', + 'browser/gtk/translate/before_translate_infobar_gtk.cc', + 'browser/gtk/translate/before_translate_infobar_gtk.h', + 'browser/gtk/translate/translate_infobar_base_gtk.cc', + 'browser/gtk/translate/translate_infobar_base_gtk.h', + 'browser/gtk/translate/translate_message_infobar_gtk.cc', + 'browser/gtk/translate/translate_message_infobar_gtk.h', 'browser/gtk/update_recommended_dialog.cc', 'browser/gtk/update_recommended_dialog.h', 'browser/gtk/view_id_util.cc', @@ -2293,12 +2299,8 @@ 'browser/translate/options_menu_model2.cc', 'browser/translate/options_menu_model2.h', 'browser/translate/translate_infobar_view.h', - 'browser/translate/translate_infobars_delegates.cc', - 'browser/translate/translate_infobars_delegates.h', 'browser/translate/translate_infobar_delegate2.cc', 'browser/translate/translate_infobar_delegate2.h', - 'browser/translate/translate_manager.cc', - 'browser/translate/translate_manager.h', 'browser/translate/translate_manager2.cc', 'browser/translate/translate_manager2.h', 'browser/translate/translate_prefs.cc', @@ -2485,8 +2487,6 @@ 'browser/views/infobars/infobar_text_button.h', 'browser/views/infobars/infobars.cc', 'browser/views/infobars/infobars.h', - 'browser/views/infobars/translate_infobars.cc', - 'browser/views/infobars/translate_infobars.h', 'browser/views/infobars/translate_infobar_base.cc', 'browser/views/infobars/translate_infobar_base.h', 'browser/views/infobars/translate_message_infobar.cc', @@ -2816,6 +2816,11 @@ ], 'sources': [ 'browser/net/ssl_config_service_manager_system.cc', + # Mac is still using the older TranslateManager. + 'browser/translate/translate_manager.cc', + 'browser/translate/translate_manager.h', + 'browser/translate/translate_infobars_delegates.cc', + 'browser/translate/translate_infobars_delegates.h', # Build Apple sample code '../third_party/apple/ImageAndTextCell.h', '../third_party/apple/ImageAndTextCell.m', |