OLD | NEW |
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 #include "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) | 438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) |
439 }, | 439 }, |
440 #if defined(OS_WIN) | 440 #if defined(OS_WIN) |
441 { | 441 { |
442 "disable-direct-write", | 442 "disable-direct-write", |
443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, | 443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, |
444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, | 444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, |
445 kOsWin, | 445 kOsWin, |
446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) | 446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) |
447 }, | 447 }, |
| 448 { |
| 449 "enable-win32k-renderer-lockdown", |
| 450 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_NAME, |
| 451 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_DESCRIPTION, |
| 452 kOsWin, |
| 453 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWin32kRendererLockDown, |
| 454 switches::kDisableWin32kRendererLockDown) |
| 455 }, |
448 #endif | 456 #endif |
449 { | 457 { |
450 "enable-experimental-canvas-features", | 458 "enable-experimental-canvas-features", |
451 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 459 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
452 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 460 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
453 kOsAll, | 461 kOsAll, |
454 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) | 462 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) |
455 }, | 463 }, |
456 { | 464 { |
457 "disable-accelerated-2d-canvas", | 465 "disable-accelerated-2d-canvas", |
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 } | 2650 } |
2643 | 2651 |
2644 const Experiment* GetExperiments(size_t* count) { | 2652 const Experiment* GetExperiments(size_t* count) { |
2645 *count = num_experiments; | 2653 *count = num_experiments; |
2646 return experiments; | 2654 return experiments; |
2647 } | 2655 } |
2648 | 2656 |
2649 } // namespace testing | 2657 } // namespace testing |
2650 | 2658 |
2651 } // namespace about_flags | 2659 } // namespace about_flags |
OLD | NEW |