OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/cocoa_protocols_mac.h" | 7 #include "base/cocoa_protocols_mac.h" |
8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
9 #include "chrome/browser/pref_member.h" | 9 #include "chrome/browser/prefs/pref_member.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 | 12 |
13 // Used to keep track of which type of font the user is currently selecting. | 13 // Used to keep track of which type of font the user is currently selecting. |
14 enum FontSettingType { | 14 enum FontSettingType { |
15 FontSettingSerif, | 15 FontSettingSerif, |
16 FontSettingSansSerif, | 16 FontSettingSansSerif, |
17 FontSettingFixed | 17 FontSettingFixed |
18 }; | 18 }; |
19 | 19 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // and |-save:| after it persists the settings. | 85 // and |-save:| after it persists the settings. |
86 - (IBAction)closeSheet:(id)sender; | 86 - (IBAction)closeSheet:(id)sender; |
87 | 87 |
88 // Persists the new values into the preferences and closes the sheet. | 88 // Persists the new values into the preferences and closes the sheet. |
89 - (IBAction)save:(id)sender; | 89 - (IBAction)save:(id)sender; |
90 | 90 |
91 // Returns the |encodings_| array. This is used by bindings for KVO/KVC. | 91 // Returns the |encodings_| array. This is used by bindings for KVO/KVC. |
92 - (NSArray*)encodings; | 92 - (NSArray*)encodings; |
93 | 93 |
94 @end | 94 @end |
OLD | NEW |