[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / ui / gfx / switches.cc
blob01733ddfebcd283038ce904e7c56741d027f4593
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.
5 #include "ui/gfx/switches.h"
7 namespace switches {
9 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
10 // in webkit renderers.
11 const char kEnableWebkitTextSubpixelPositioning[] =
12 "enable-webkit-text-subpixel-positioning";
14 // Overrides the device scale factor for the browser UI and the contents.
15 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
17 #if defined(OS_WIN)
18 // Disables the DirectWrite font rendering system on windows.
19 const char kDisableDirectWrite[] = "disable-direct-write";
21 // Disables DirectWrite font rendering for general UI elements.
22 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
23 #endif
25 #if defined(OS_MACOSX)
26 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for
27 // text editing; this enables it for everything else).
28 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
29 #endif
31 } // namespace switches