Index: ui/gfx/switches.cc |
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f25ea9b2c28a7d9d74132bd30651624b8efa28dd |
--- /dev/null |
+++ b/ui/gfx/switches.cc |
@@ -0,0 +1,26 @@ |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/gfx/switches.h" |
+ |
+namespace gfx { |
+namespace switches { |
+ |
+// Whether or not ImageSkiaOperations methods can scale one of images |
+// if they don't have the same scale factor. |
+const char kDisableScalingInImageSkiaOperations[] = |
+ "disable-scaling-in-image-skia-operations"; |
+ |
+// Let text glyphs have X-positions that aren't snapped to the pixel grid in |
+// the browser UI. |
+const char kEnableBrowserTextSubpixelPositioning[] = |
+ "enable-browser-text-subpixel-positioning"; |
+ |
+// Enable text glyphs to have X-positions that aren't snapped to the pixel grid |
+// in webkit renderers. |
+const char kEnableWebkitTextSubpixelPositioning[] = |
+ "enable-webkit-text-subpixel-positioning"; |
+ |
+} // namespace switches |
+} // namespace gfx |