OLD | NEW |
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 // The fonts page of the fonts & languages options dialog, which contains font | 5 // The fonts page of the fonts & languages options dialog, which contains font |
6 // family and size settings, as well as the default encoding option. | 6 // family and size settings, as well as the default encoding option. |
7 | 7 |
8 #ifndef CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ | 8 #ifndef CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ |
9 #define CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ | 9 #define CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ |
10 #pragma once | 10 #pragma once |
11 | 11 |
12 #include <gtk/gtk.h> | 12 #include <gtk/gtk.h> |
13 | 13 |
14 #include "app/gtk_signal.h" | 14 #include "app/gtk_signal.h" |
15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
16 #include "chrome/browser/character_encoding.h" | 16 #include "chrome/browser/character_encoding.h" |
17 #include "chrome/browser/options_page_base.h" | |
18 #include "chrome/browser/prefs/pref_member.h" | 17 #include "chrome/browser/prefs/pref_member.h" |
| 18 #include "chrome/browser/ui/options/options_page_base.h" |
19 | 19 |
20 class DefaultEncodingComboboxModel; | 20 class DefaultEncodingComboboxModel; |
21 | 21 |
22 class FontsPageGtk : public OptionsPageBase { | 22 class FontsPageGtk : public OptionsPageBase { |
23 public: | 23 public: |
24 explicit FontsPageGtk(Profile* profile); | 24 explicit FontsPageGtk(Profile* profile); |
25 virtual ~FontsPageGtk(); | 25 virtual ~FontsPageGtk(); |
26 | 26 |
27 GtkWidget* get_page_widget() const { return page_; } | 27 GtkWidget* get_page_widget() const { return page_; } |
28 | 28 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 IntegerPrefMember variable_width_size_; | 66 IntegerPrefMember variable_width_size_; |
67 IntegerPrefMember fixed_width_size_; | 67 IntegerPrefMember fixed_width_size_; |
68 | 68 |
69 // Default encoding preference. | 69 // Default encoding preference. |
70 StringPrefMember default_encoding_; | 70 StringPrefMember default_encoding_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(FontsPageGtk); | 72 DISALLOW_COPY_AND_ASSIGN(FontsPageGtk); |
73 }; | 73 }; |
74 | 74 |
75 #endif // CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ | 75 #endif // CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ |
OLD | NEW |