GoogleURLTrackerInfoBarDelegate: Initialize uninitialized member in constructor.
[chromium-blink-merge.git] / ui / gfx / switches.cc
blob0df375ef425b24f6839dfca212bd8476a3797ee0
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 // When allowed, the ImageSkia looks up the resource pack with the closest
10 // available scale factor instead of the actual device scale factor and then
11 // rescale on ImageSkia side.
12 // In Windows: default is allowed. Specify --disallow-... to prevent this.
13 // Other platforms: default is not allowed. Specify --allow-... to do this.
14 const char kAllowArbitraryScaleFactorInImageSkia[] =
15 "allow-arbitrary-scale-factor-in-image-skia";
17 const char kDisallowArbitraryScaleFactorInImageSkia[] =
18 "disallow-arbitrary-scale-factor-in-image-skia";
20 // Let text glyphs have X-positions that aren't snapped to the pixel grid in
21 // the browser UI.
22 const char kEnableBrowserTextSubpixelPositioning[] =
23 "enable-browser-text-subpixel-positioning";
25 // Uses the HarfBuzz port of RenderText on all platforms.
26 const char kEnableHarfBuzzRenderText[] =
27 "enable-harfbuzz-rendertext";
29 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
30 // in webkit renderers.
31 const char kEnableWebkitTextSubpixelPositioning[] =
32 "enable-webkit-text-subpixel-positioning";
34 // Overrides the device scale factor for the browser UI and the contents.
35 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
37 } // namespace switches