OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/gtk/translate/after_translate_infobar_gtk.h" | 5 #include "chrome/browser/gtk/translate/after_translate_infobar_gtk.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/gtk/gtk_util.h" | 10 #include "chrome/browser/gtk/gtk_util.h" |
11 #include "chrome/browser/translate/translate_infobar_delegate.h" | 11 #include "chrome/browser/translate/translate_infobar_delegate.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 GetDelegate()->RevertTranslation(); | 94 GetDelegate()->RevertTranslation(); |
95 } | 95 } |
96 | 96 |
97 void AfterTranslateInfoBar::SetOriginalLanguage(int language_index) { | 97 void AfterTranslateInfoBar::SetOriginalLanguage(int language_index) { |
98 GetDelegate()->SetOriginalLanguage(language_index); | 98 GetDelegate()->SetOriginalLanguage(language_index); |
99 } | 99 } |
100 | 100 |
101 void AfterTranslateInfoBar::SetTargetLanguage(int language_index) { | 101 void AfterTranslateInfoBar::SetTargetLanguage(int language_index) { |
102 GetDelegate()->SetTargetLanguage(language_index); | 102 GetDelegate()->SetTargetLanguage(language_index); |
103 } | 103 } |
OLD | NEW |