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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
563 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) | 563 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) |
564 }, | 564 }, |
565 #if defined(OS_WIN) | 565 #if defined(OS_WIN) |
566 { | 566 { |
567 "disable-direct-write", | 567 "disable-direct-write", |
568 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, | 568 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, |
569 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, | 569 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, |
570 kOsWin, | 570 kOsWin, |
571 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) | 571 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) |
572 }, | 572 }, |
573 { | |
574 "enable-win32k-renderer-lockdown", | |
575 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_NAME, | |
Lei Zhang
2015/05/13 17:19:49
Remove the resources from the .grd file?
Will Harris
2015/05/13 17:22:56
Ah yes, good spot. Thanks!
| |
576 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_DESCRIPTION, | |
577 kOsWin, | |
578 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWin32kRendererLockDown, | |
579 switches::kDisableWin32kRendererLockDown) | |
580 }, | |
581 #endif | 573 #endif |
582 { | 574 { |
583 "enable-experimental-canvas-features", | 575 "enable-experimental-canvas-features", |
584 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 576 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
585 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 577 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
586 kOsAll, | 578 kOsAll, |
587 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) | 579 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) |
588 }, | 580 }, |
589 { | 581 { |
590 "disable-accelerated-2d-canvas", | 582 "disable-accelerated-2d-canvas", |
(...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3026 } | 3018 } |
3027 | 3019 |
3028 const Experiment* GetExperiments(size_t* count) { | 3020 const Experiment* GetExperiments(size_t* count) { |
3029 *count = num_experiments; | 3021 *count = num_experiments; |
3030 return experiments; | 3022 return experiments; |
3031 } | 3023 } |
3032 | 3024 |
3033 } // namespace testing | 3025 } // namespace testing |
3034 | 3026 |
3035 } // namespace about_flags | 3027 } // namespace about_flags |
OLD | NEW |