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

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

Issue 872673002: Do not use win32k renderer lockdown if DirectWrite is disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move IsWin32kRendererLockdownEnabled to content/common Created 5 years, 10 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
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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // like renderers, etc. 280 // like renderers, etc.
281 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; 281 CONTENT_EXPORT extern const char kDeviceScaleFactor[];
282 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; 282 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
283 // This switch will be removed when we enable the win32K lockdown process 283 // This switch will be removed when we enable the win32K lockdown process
284 // mitigation. 284 // mitigation.
285 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; 285 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[];
286 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; 286 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[];
287 // Switch to uniquely identify names shared memory section for font cache 287 // Switch to uniquely identify names shared memory section for font cache
288 // across chromium flavors. 288 // across chromium flavors.
289 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; 289 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[];
290 CONTENT_EXPORT bool IsWin32kRendererLockdownEnabled();
291 #endif 290 #endif
292 291
293 CONTENT_EXPORT extern const char kEnableNpapi[]; 292 CONTENT_EXPORT extern const char kEnableNpapi[];
294 293
295 #if defined(ENABLE_PLUGINS) 294 #if defined(ENABLE_PLUGINS)
296 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; 295 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[];
297 #endif 296 #endif
298 297
299 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 298 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
300 // alphabetical order, or in one of the ifdefs (also in order in each section). 299 // alphabetical order, or in one of the ifdefs (also in order in each section).
301 300
302 } // namespace switches 301 } // namespace switches
303 302
304 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 303 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698