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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 { | 406 { |
407 "force-universal-accelerated-composited-scrolling", | 407 "force-universal-accelerated-composited-scrolling", |
408 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | 408 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, |
409 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | 409 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, |
410 kOsAll, | 410 kOsAll, |
411 ENABLE_DISABLE_VALUE_TYPE( | 411 ENABLE_DISABLE_VALUE_TYPE( |
412 switches::kEnableUniversalAcceleratedOverflowScroll, | 412 switches::kEnableUniversalAcceleratedOverflowScroll, |
413 switches::kDisableUniversalAcceleratedOverflowScroll) | 413 switches::kDisableUniversalAcceleratedOverflowScroll) |
414 }, | 414 }, |
415 { | 415 { |
| 416 "enable-layer-squashing", |
| 417 IDS_FLAGS_LAYER_SQUASHING_NAME, |
| 418 IDS_FLAGS_LAYER_SQUASHING_DESCRIPTION, |
| 419 kOsAll, |
| 420 ENABLE_DISABLE_VALUE_TYPE( |
| 421 switches::kEnableLayerSquashing, |
| 422 switches::kDisableLayerSquashing) |
| 423 }, |
| 424 { |
416 "present-with-GDI", | 425 "present-with-GDI", |
417 IDS_FLAGS_PRESENT_WITH_GDI_NAME, | 426 IDS_FLAGS_PRESENT_WITH_GDI_NAME, |
418 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, | 427 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, |
419 kOsWin, | 428 kOsWin, |
420 MULTI_VALUE_TYPE(kGDIPresentChoices) | 429 MULTI_VALUE_TYPE(kGDIPresentChoices) |
421 }, | 430 }, |
422 { | 431 { |
423 "enable-experimental-canvas-features", | 432 "enable-experimental-canvas-features", |
424 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 433 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
425 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 434 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2322 } | 2331 } |
2323 | 2332 |
2324 const Experiment* GetExperiments(size_t* count) { | 2333 const Experiment* GetExperiments(size_t* count) { |
2325 *count = num_experiments; | 2334 *count = num_experiments; |
2326 return experiments; | 2335 return experiments; |
2327 } | 2336 } |
2328 | 2337 |
2329 } // namespace testing | 2338 } // namespace testing |
2330 | 2339 |
2331 } // namespace about_flags | 2340 } // namespace about_flags |
OLD | NEW |