Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / gfx / switches.cc
index 2441a14..90813d0 100644 (file)
@@ -6,20 +6,11 @@
 
 namespace switches {
 
-// The ImageSkia looks up the resource pack with the closest available scale
-// factor instead of the actual device scale factor and then rescale on
-// ImageSkia side. This switch disables this feature.
-const char kDisableArbitraryScaleFactorInImageSkia[] =
-    "disable-arbitrary-scale-factor-in-image-skia";
+// Disables the HarfBuzz port of RenderText on all platforms.
+const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext";
 
-// 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";
-
-// Uses the HarfBuzz port of RenderText on all platforms.
-const char kEnableHarfBuzzRenderText[] =
-    "enable-harfbuzz-rendertext";
+// Enables the HarfBuzz port of RenderText on all platforms.
+const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
 
 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
 // in webkit renderers.
@@ -29,4 +20,12 @@ const char kEnableWebkitTextSubpixelPositioning[] =
 // Overrides the device scale factor for the browser UI and the contents.
 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
 
+#if defined(OS_WIN)
+// Disables the DirectWrite font rendering system on windows.
+const char kDisableDirectWrite[] = "disable-direct-write";
+
+// Enables DirectWrite font rendering for general UI elements.
+const char kEnableDirectWriteForUI[] = "enable-directwrite-for-ui";
+#endif
+
 }  // namespace switches