| 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/translate_infobar_base_gtk.h" | 5 #include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/translate/options_menu_model.h" | 9 #include "chrome/browser/translate/options_menu_model.h" |
| 10 #include "chrome/browser/translate/translate_infobar_delegate.h" | 10 #include "chrome/browser/translate/translate_infobar_delegate.h" |
| 11 #include "chrome/browser/gtk/translate/after_translate_infobar_gtk.h" | 11 #include "chrome/browser/gtk/translate/after_translate_infobar_gtk.h" |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 break; | 232 break; |
| 233 default: | 233 default: |
| 234 NOTREACHED(); | 234 NOTREACHED(); |
| 235 } | 235 } |
| 236 infobar->Init(); | 236 infobar->Init(); |
| 237 // Set |infobar_view_| so that the model can notify the infobar when it | 237 // Set |infobar_view_| so that the model can notify the infobar when it |
| 238 // changes. | 238 // changes. |
| 239 infobar_view_ = infobar; | 239 infobar_view_ = infobar; |
| 240 return infobar; | 240 return infobar; |
| 241 } | 241 } |
| OLD | NEW |