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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Created 3 years, 8 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 2479 matching lines...) Expand 10 before | Expand all | Expand 10 after
2490 FEATURE_VALUE_TYPE(features::kMediaRemoting)}, 2490 FEATURE_VALUE_TYPE(features::kMediaRemoting)},
2491 {"media-remoting-encrypted", flag_descriptions::kMediaRemotingEncryptedName, 2491 {"media-remoting-encrypted", flag_descriptions::kMediaRemotingEncryptedName,
2492 flag_descriptions::kMediaRemotingEncryptedDescription, kOsDesktop, 2492 flag_descriptions::kMediaRemotingEncryptedDescription, kOsDesktop,
2493 FEATURE_VALUE_TYPE(features::kMediaRemotingEncrypted)}, 2493 FEATURE_VALUE_TYPE(features::kMediaRemotingEncrypted)},
2494 #endif 2494 #endif
2495 #if defined(OS_ANDROID) 2495 #if defined(OS_ANDROID)
2496 {"video-fullscreen-orientation-lock", 2496 {"video-fullscreen-orientation-lock",
2497 flag_descriptions::kVideoFullscreenOrientationLockName, 2497 flag_descriptions::kVideoFullscreenOrientationLockName,
2498 flag_descriptions::kVideoFullscreenOrientationLockDescription, kOsAndroid, 2498 flag_descriptions::kVideoFullscreenOrientationLockDescription, kOsAndroid,
2499 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)}, 2499 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)},
2500 {"video-rotate-to-fullscreen",
2501 flag_descriptions::kVideoRotateToFullscreenName,
2502 flag_descriptions::kVideoRotateToFullscreenDescription, kOsAndroid,
2503 FEATURE_VALUE_TYPE(media::kVideoRotateToFullscreen)},
2500 #endif 2504 #endif
2501 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetch, 2505 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetch,
2502 flag_descriptions::kNostatePrefetchDescription, kOsAll, 2506 flag_descriptions::kNostatePrefetchDescription, kOsAll,
2503 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, 2507 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature,
2504 kNoStatePrefetchFeatureVariations, 2508 kNoStatePrefetchFeatureVariations,
2505 "NoStatePrefetchValidation")}, 2509 "NoStatePrefetchValidation")},
2506 #if defined(OS_CHROMEOS) 2510 #if defined(OS_CHROMEOS)
2507 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, 2511 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName,
2508 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, 2512 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS,
2509 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, 2513 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)},
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2939 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2943 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2940 2944
2941 const FeatureEntry* GetFeatureEntries(size_t* count) { 2945 const FeatureEntry* GetFeatureEntries(size_t* count) {
2942 *count = arraysize(kFeatureEntries); 2946 *count = arraysize(kFeatureEntries);
2943 return kFeatureEntries; 2947 return kFeatureEntries;
2944 } 2948 }
2945 2949
2946 } // namespace testing 2950 } // namespace testing
2947 2951
2948 } // namespace about_flags 2952 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698