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

Side by Side Diff: chrome/browser/ui/cocoa/options/font_language_settings_controller.mm

Issue 6339002: [Mac] Consolidate all files relating to preferences in a subdir of c/b/ui/coc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months 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 #import "chrome/browser/ui/cocoa/font_language_settings_controller.h" 5 #import "chrome/browser/ui/cocoa/options/font_language_settings_controller.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #import "base/mac/mac_util.h" 8 #import "base/mac/mac_util.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/character_encoding.h" 10 #include "chrome/browser/character_encoding.h"
11 #include "chrome/browser/fonts_languages_window.h" 11 #include "chrome/browser/fonts_languages_window.h"
12 #include "chrome/browser/prefs/pref_service.h" 12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 15
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 return; 271 return;
272 } 272 }
273 [field setFont:font]; 273 [field setFont:font];
274 NSString* value = 274 NSString* value =
275 [NSString stringWithFormat:@"%@, %g", [font fontName], [font pointSize]]; 275 [NSString stringWithFormat:@"%@, %g", [font fontName], [font pointSize]];
276 [field setStringValue:value]; 276 [field setStringValue:value];
277 [field setFrameOrigin:[self getFontFieldOrigin:field forLabel:label]]; 277 [field setFrameOrigin:[self getFontFieldOrigin:field forLabel:label]];
278 } 278 }
279 279
280 @end 280 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698