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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 }, | 390 }, |
391 { | 391 { |
392 "force-accelerated-composited-scrolling", | 392 "force-accelerated-composited-scrolling", |
393 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | 393 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, |
394 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | 394 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, |
395 kOsAll, | 395 kOsAll, |
396 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, | 396 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, |
397 switches::kDisableAcceleratedOverflowScroll) | 397 switches::kDisableAcceleratedOverflowScroll) |
398 }, | 398 }, |
399 { | 399 { |
| 400 "force-universal-accelerated-composited-scrolling", |
| 401 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, |
| 402 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, |
| 403 kOsAll, |
| 404 ENABLE_DISABLE_VALUE_TYPE( |
| 405 switches::kEnableUniversalAcceleratedOverflowScroll, |
| 406 switches::kDisableUniversalAcceleratedOverflowScroll) |
| 407 }, |
| 408 { |
400 "present-with-GDI", | 409 "present-with-GDI", |
401 IDS_FLAGS_PRESENT_WITH_GDI_NAME, | 410 IDS_FLAGS_PRESENT_WITH_GDI_NAME, |
402 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, | 411 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, |
403 kOsWin, | 412 kOsWin, |
404 MULTI_VALUE_TYPE(kGDIPresentChoices) | 413 MULTI_VALUE_TYPE(kGDIPresentChoices) |
405 }, | 414 }, |
406 { | 415 { |
407 "enable-experimental-canvas-features", | 416 "enable-experimental-canvas-features", |
408 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 417 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
409 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 418 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
(...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2273 } | 2282 } |
2274 | 2283 |
2275 const Experiment* GetExperiments(size_t* count) { | 2284 const Experiment* GetExperiments(size_t* count) { |
2276 *count = num_experiments; | 2285 *count = num_experiments; |
2277 return experiments; | 2286 return experiments; |
2278 } | 2287 } |
2279 | 2288 |
2280 } // namespace testing | 2289 } // namespace testing |
2281 | 2290 |
2282 } // namespace about_flags | 2291 } // namespace about_flags |
OLD | NEW |