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

Side by Side Diff: content/public/common/content_switches.h

Issue 644813004: Move the ShouldUseDirectWrite function from sandbox_win.cc/.h to ui/gfx/win/dpi.cc/.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments from sky Created 6 years, 2 months 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 | « content/common/sandbox_win.cc ('k') | content/public/common/content_switches.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Defines all the "content" command-line switches. 5 // Defines all the "content" command-line switches.
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 #endif 275 #endif
276 276
277 #if defined(OS_MACOSX) && !defined(OS_IOS) 277 #if defined(OS_MACOSX) && !defined(OS_IOS)
278 extern const char kDisableCoreAnimationPlugins[]; 278 extern const char kDisableCoreAnimationPlugins[];
279 #endif 279 #endif
280 280
281 #if defined(OS_WIN) 281 #if defined(OS_WIN)
282 // This switch contains the device scale factor passed to certain processes 282 // This switch contains the device scale factor passed to certain processes
283 // like renderers, etc. 283 // like renderers, etc.
284 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; 284 CONTENT_EXPORT extern const char kDeviceScaleFactor[];
285 CONTENT_EXPORT extern const char kDisableDirectWrite[];
286 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; 285 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
287 // This switch will be removed when we enable the win32K lockdown process 286 // This switch will be removed when we enable the win32K lockdown process
288 // mitigation. 287 // mitigation.
289 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; 288 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[];
290 #endif 289 #endif
291 290
292 #if defined(ENABLE_PLUGINS) 291 #if defined(ENABLE_PLUGINS)
293 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; 292 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[];
294 #endif 293 #endif
295 294
296 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 295 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
297 // alphabetical order, or in one of the ifdefs (also in order in each section). 296 // alphabetical order, or in one of the ifdefs (also in order in each section).
298 297
299 } // namespace switches 298 } // namespace switches
300 299
301 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 300 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
OLDNEW
« no previous file with comments | « content/common/sandbox_win.cc ('k') | content/public/common/content_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698