Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Side by Side Diff: ui/gfx/switches.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/skrect_conversion_unittest.cc ('k') | ui/gfx/sys_color_change_listener.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h"
5 #include "ui/gfx/switches.h" 6 #include "ui/gfx/switches.h"
6 7
7 namespace switches { 8 namespace switches {
8 9
9 // Overrides the device scale factor for the browser UI and the contents. 10 // Overrides the device scale factor for the browser UI and the contents.
10 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 11 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
11 12
12 #if defined(OS_WIN) 13 #if defined(OS_WIN)
13 // Disables the DirectWrite font rendering system on windows. 14 // Disables the DirectWrite font rendering system on windows.
14 const char kDisableDirectWrite[] = "disable-direct-write"; 15 const char kDisableDirectWrite[] = "disable-direct-write";
15 16
16 // Disables DirectWrite font rendering for general UI elements. 17 // Disables DirectWrite font rendering for general UI elements.
17 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui"; 18 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
18 #endif 19 #endif
19 20
20 #if defined(OS_MACOSX) 21 #if defined(OS_MACOSX)
21 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for 22 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for
22 // text editing; this enables it for everything else). 23 // text editing; this enables it for everything else).
23 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; 24 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
24 #endif 25 #endif
25 26
26 } // namespace switches 27 } // namespace switches
OLDNEW
« no previous file with comments | « ui/gfx/skrect_conversion_unittest.cc ('k') | ui/gfx/sys_color_change_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698