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

Unified Diff: gm/system_preferences_mac.mm

Issue 1286133004: A bit of misc cleanup. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/system_preferences_default.cpp ('k') | gm/techtalk1.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/system_preferences_mac.mm
diff --git a/gm/system_preferences_mac.mm b/gm/system_preferences_mac.mm
deleted file mode 100644
index ee6ab1979f4b5ed2b0f6ab83ad6adc5e746604cf..0000000000000000000000000000000000000000
--- a/gm/system_preferences_mac.mm
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "system_preferences.h"
-
-#import <Cocoa/Cocoa.h>
-
-void setSystemPreferences() {
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-
- // Set LCD font smoothing level for this application (does not affect other
- // applications). Based on resetDefaultsToConsistentValues() in
- // http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
- enum {
- NoFontSmoothing = 0,
- LightFontSmoothing = 1,
- MediumFontSmoothing = 2,
- StrongFontSmoothing = 3,
- };
- NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
- [defaults setInteger:MediumFontSmoothing forKey:@"AppleFontSmoothing"];
-
- [pool release];
-}
« no previous file with comments | « gm/system_preferences_default.cpp ('k') | gm/techtalk1.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698