Home | History | Annotate | Download | only in gfx
      1 // Copyright 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "ui/gfx/switches.h"
      6 
      7 namespace switches {
      8 
      9 // Let text glyphs have X-positions that aren't snapped to the pixel grid in
     10 // the browser UI.
     11 const char kEnableBrowserTextSubpixelPositioning[] =
     12     "enable-browser-text-subpixel-positioning";
     13 
     14 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
     15 // in webkit renderers.
     16 const char kEnableWebkitTextSubpixelPositioning[] =
     17     "enable-webkit-text-subpixel-positioning";
     18 
     19 // Overrides the device scale factor for the browser UI and the contents.
     20 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
     21 
     22 // Enables/Disables High DPI support (windows)
     23 const char kHighDPISupport[] = "high-dpi-support";
     24 
     25 }  // namespace switches
     26