| 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/options/fonts_page_gtk.h" | 5 #include "chrome/browser/gtk/options/fonts_page_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 SetFontsFromButton(&fixed_width_name_, | 179 SetFontsFromButton(&fixed_width_name_, |
| 180 &fixed_width_size_, | 180 &fixed_width_size_, |
| 181 font_button); | 181 font_button); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void FontsPageGtk::OnDefaultEncodingChanged(GtkWidget* combo_box) { | 184 void FontsPageGtk::OnDefaultEncodingChanged(GtkWidget* combo_box) { |
| 185 int index = gtk_combo_box_get_active(GTK_COMBO_BOX(combo_box)); | 185 int index = gtk_combo_box_get_active(GTK_COMBO_BOX(combo_box)); |
| 186 default_encoding_.SetValue(default_encoding_combobox_model_-> | 186 default_encoding_.SetValue(default_encoding_combobox_model_-> |
| 187 GetEncodingCharsetByIndex(index)); | 187 GetEncodingCharsetByIndex(index)); |
| 188 } | 188 } |
| OLD | NEW |