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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 switches::kEnableGpuRasterization, ""}, | 347 switches::kEnableGpuRasterization, ""}, |
348 {flags_ui::kGenericExperimentChoiceDisabled, | 348 {flags_ui::kGenericExperimentChoiceDisabled, |
349 switches::kDisableGpuRasterization, ""}, | 349 switches::kDisableGpuRasterization, ""}, |
350 {flag_descriptions::kForceGpuRasterization, | 350 {flag_descriptions::kForceGpuRasterization, |
351 switches::kForceGpuRasterization, ""}, | 351 switches::kForceGpuRasterization, ""}, |
352 }; | 352 }; |
353 | 353 |
354 const FeatureEntry::Choice kColorCorrectRenderingChoices[] = { | 354 const FeatureEntry::Choice kColorCorrectRenderingChoices[] = { |
355 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, | 355 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
356 {flags_ui::kGenericExperimentChoiceEnabled, | 356 {flags_ui::kGenericExperimentChoiceEnabled, |
357 cc::switches::kEnableColorCorrectRendering, ""}, | 357 switches::kEnableColorCorrectRendering, ""}, |
358 {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, | 358 {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, |
359 }; | 359 }; |
360 | 360 |
361 const FeatureEntry::Choice kEnableWebGL2Choices[] = { | 361 const FeatureEntry::Choice kEnableWebGL2Choices[] = { |
362 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, | 362 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
363 {flags_ui::kGenericExperimentChoiceEnabled, switches::kEnableES3APIs, ""}, | 363 {flags_ui::kGenericExperimentChoiceEnabled, switches::kEnableES3APIs, ""}, |
364 {flags_ui::kGenericExperimentChoiceDisabled, switches::kDisableES3APIs, ""}, | 364 {flags_ui::kGenericExperimentChoiceDisabled, switches::kDisableES3APIs, ""}, |
365 }; | 365 }; |
366 | 366 |
367 #if defined(OS_CHROMEOS) | 367 #if defined(OS_CHROMEOS) |
(...skipping 2694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3062 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3062 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3063 | 3063 |
3064 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3064 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3065 *count = arraysize(kFeatureEntries); | 3065 *count = arraysize(kFeatureEntries); |
3066 return kFeatureEntries; | 3066 return kFeatureEntries; |
3067 } | 3067 } |
3068 | 3068 |
3069 } // namespace testing | 3069 } // namespace testing |
3070 | 3070 |
3071 } // namespace about_flags | 3071 } // namespace about_flags |
OLD | NEW |