Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1083383005: Connect the new video rendering path to the compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vra
Patch Set: Update LoginCustomFlags histogram. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2415 }, 2415 },
2416 #if defined(OS_ANDROID) 2416 #if defined(OS_ANDROID)
2417 { 2417 {
2418 "enable-autofill-keyboard-accessory-view", 2418 "enable-autofill-keyboard-accessory-view",
2419 IDS_FLAGS_AUTOFILL_ACCESSORY_VIEW_NAME, 2419 IDS_FLAGS_AUTOFILL_ACCESSORY_VIEW_NAME,
2420 IDS_FLAGS_AUTOFILL_ACCESSORY_VIEW_DESCRIPTION, 2420 IDS_FLAGS_AUTOFILL_ACCESSORY_VIEW_DESCRIPTION,
2421 kOsAndroid, 2421 kOsAndroid,
2422 SINGLE_VALUE_TYPE(autofill::switches::kEnableAccessorySuggestionView) 2422 SINGLE_VALUE_TYPE(autofill::switches::kEnableAccessorySuggestionView)
2423 }, 2423 },
2424 #endif // defined(OS_ANDROID) 2424 #endif // defined(OS_ANDROID)
2425 {
2426 "enable-new-video-renderer",
2427 IDS_FLAGS_ENABLE_NEW_VIDEO_RENDERER_NAME,
2428 IDS_FLAGS_ENABLE_NEW_VIDEO_RENDERER_DESCRIPTION,
2429 kOsAll,
2430 SINGLE_VALUE_TYPE(switches::kEnableNewVideoRenderer)
2431 },
2425 // NOTE: Adding new command-line switches requires adding corresponding 2432 // NOTE: Adding new command-line switches requires adding corresponding
2426 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2433 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2427 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2434 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2428 }; 2435 };
2429 2436
2430 const Experiment* experiments = kExperiments; 2437 const Experiment* experiments = kExperiments;
2431 size_t num_experiments = arraysize(kExperiments); 2438 size_t num_experiments = arraysize(kExperiments);
2432 2439
2433 // Stores and encapsulates the little state that about:flags has. 2440 // Stores and encapsulates the little state that about:flags has.
2434 class FlagsState { 2441 class FlagsState {
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
3003 } 3010 }
3004 3011
3005 const Experiment* GetExperiments(size_t* count) { 3012 const Experiment* GetExperiments(size_t* count) {
3006 *count = num_experiments; 3013 *count = num_experiments;
3007 return experiments; 3014 return experiments;
3008 } 3015 }
3009 3016
3010 } // namespace testing 3017 } // namespace testing
3011 3018
3012 } // namespace about_flags 3019 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698