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

Side by Side Diff: chrome/browser/gtk/options/fonts_page_gtk.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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>
8
7 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
8 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
9 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/default_encoding_combo_model.h" 12 #include "chrome/browser/default_encoding_combo_model.h"
12 #include "chrome/browser/gtk/gtk_util.h" 13 #include "chrome/browser/gtk/gtk_util.h"
13 #include "chrome/browser/gtk/options/options_layout_gtk.h" 14 #include "chrome/browser/gtk/options/options_layout_gtk.h"
14 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
16 #include "gfx/font.h" 17 #include "gfx/font.h"
17 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
18 19
19 namespace { 20 namespace {
20 21
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 SetFontsFromButton(&fixed_width_name_, 179 SetFontsFromButton(&fixed_width_name_,
179 &fixed_width_size_, 180 &fixed_width_size_,
180 font_button); 181 font_button);
181 } 182 }
182 183
183 void FontsPageGtk::OnDefaultEncodingChanged(GtkWidget* combo_box) { 184 void FontsPageGtk::OnDefaultEncodingChanged(GtkWidget* combo_box) {
184 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));
185 default_encoding_.SetValue(default_encoding_combobox_model_-> 186 default_encoding_.SetValue(default_encoding_combobox_model_->
186 GetEncodingCharsetByIndex(index)); 187 GetEncodingCharsetByIndex(index));
187 } 188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698