| Index: ui/gfx/switches.cc
|
| diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc
|
| index 2f2eb9a3b829150dd6f5a1e71f645d9b78148f11..38bf11e6581fe7e43e3272dc848e22769204cd5e 100644
|
| --- a/ui/gfx/switches.cc
|
| +++ b/ui/gfx/switches.cc
|
| @@ -6,6 +6,17 @@
|
|
|
| namespace switches {
|
|
|
| +// When allowed, 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.
|
| +// In Windows: default is allowed. Specify --disallow-... to prevent this.
|
| +// Other platforms: default is not allowed. Specify --allow-... to do this.
|
| +const char kAllowArbitraryScaleFactorInImageSkia[] =
|
| + "allow-arbitrary-scale-factor-in-image-skia";
|
| +
|
| +const char kDisallowArbitraryScaleFactorInImageSkia[] =
|
| + "disallow-arbitrary-scale-factor-in-image-skia";
|
| +
|
| // Let text glyphs have X-positions that aren't snapped to the pixel grid in
|
| // the browser UI.
|
| const char kEnableBrowserTextSubpixelPositioning[] =
|
|
|