Revert of Reland debugging for ipc related crash. (patchset #1 id:1 of https://codere...
[chromium-blink-merge.git] / ui / gfx / switches.cc
blob6e7147ee2fc6ff4ead0c8ca8f18679ca2f98e6fd
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 // Overrides the device scale factor for the browser UI and the contents.
10 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
12 #if defined(OS_WIN)
13 // Disables the DirectWrite font rendering system on windows.
14 const char kDisableDirectWrite[] = "disable-direct-write";
16 // Disables DirectWrite font rendering for general UI elements.
17 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
18 #endif
20 #if defined(OS_MACOSX)
21 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for
22 // text editing; this enables it for everything else).
23 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
24 #endif
26 } // namespace switches