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

Side by Side Diff: chrome/browser/flag_descriptions.h

Issue 2837023002: Create autoplay policy flag and merge cross-origin autoplay blocking into it. (Closed)
Patch Set: fix tests Created 3 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef CHROME_BROWSER_FLAG_DESCRIPTIONS_H_ 5 #ifndef CHROME_BROWSER_FLAG_DESCRIPTIONS_H_
6 #define CHROME_BROWSER_FLAG_DESCRIPTIONS_H_ 6 #define CHROME_BROWSER_FLAG_DESCRIPTIONS_H_
7 7
8 // Includes needed for macros allowing conditional compilation of some strings. 8 // Includes needed for macros allowing conditional compilation of some strings.
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "build/buildflag.h" 10 #include "build/buildflag.h"
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // Description for the flag to enable Token Binding. Please do not translate 706 // Description for the flag to enable Token Binding. Please do not translate
707 // 'Token Binding'. 707 // 'Token Binding'.
708 extern const char kEnableTokenBindingDescription[]; 708 extern const char kEnableTokenBindingDescription[];
709 709
710 // Title for the flag for gesture requiment for media playback 710 // Title for the flag for gesture requiment for media playback
711 extern const char kGestureRequirementForMediaPlaybackName[]; 711 extern const char kGestureRequirementForMediaPlaybackName[];
712 712
713 // Description for the flag for gesture requiment for media playback 713 // Description for the flag for gesture requiment for media playback
714 extern const char kGestureRequirementForMediaPlaybackDescription[]; 714 extern const char kGestureRequirementForMediaPlaybackDescription[];
715 715
716 #if !defined(OS_ANDROID)
717
718 // Title for the flag for gesture requiment for media playback
719 extern const char kCrossOriginMediaPlaybackRequiresUserGestureName[];
720
721 // Description for the flag for gesture requiment for media playback
722 extern const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[];
723
724 #endif // !defined(OS_ANDROID)
725
726 // Description for the flag to adjust the default behaviour for document level 716 // Description for the flag to adjust the default behaviour for document level
727 // passive touch listeners. 717 // passive touch listeners.
728 extern const char kPassiveDocumentEventListenersDescription[]; 718 extern const char kPassiveDocumentEventListenersDescription[];
729 719
730 // Name for the flag to adjust the default behaviour for document level passive 720 // Name for the flag to adjust the default behaviour for document level passive
731 // listeners. 721 // listeners.
732 extern const char kPassiveDocumentEventListenersName[]; 722 extern const char kPassiveDocumentEventListenersName[];
733 723
734 // Description for the flag to adjust the default behaviour for passive touch 724 // Description for the flag to adjust the default behaviour for passive touch
735 // listeners during fling. 725 // listeners during fling.
(...skipping 2569 matching lines...) Expand 10 before | Expand all | Expand 10 after
3305 #if defined(OS_ANDROID) 3295 #if defined(OS_ANDROID)
3306 3296
3307 // Name of the flag that enables the omnibox's clipboard URL provider. 3297 // Name of the flag that enables the omnibox's clipboard URL provider.
3308 extern const char kEnableOmniboxClipboardProviderName[]; 3298 extern const char kEnableOmniboxClipboardProviderName[];
3309 3299
3310 // Description of the flag that enables the omnibox's clipboard URL provider. 3300 // Description of the flag that enables the omnibox's clipboard URL provider.
3311 extern const char kEnableOmniboxClipboardProviderDescription[]; 3301 extern const char kEnableOmniboxClipboardProviderDescription[];
3312 3302
3313 #endif // defined(OS_ANDROID) 3303 #endif // defined(OS_ANDROID)
3314 3304
3305 // Name of the autoplay policy flag.
3306 extern const char kAutoplayPolicyName[];
3307
3308 // Description of the autoplay policy entry.
3309 extern const char kAutoplayPolicyDescription[];
3310
3311 // Description of the autoplay policy that requires a user gesture on cross
3312 // origin iframes.
3313 extern const char kAutoplayPolicyCrossOriginUserGestureRequired[];
3314
3315 // Description of the autoplay policy that has no user gesture requirements.
3316 extern const char kAutoplayPolicyNoUserGestureRequired[];
3317
3318 // Description of the autoplay policy that requires a user gesture.
3319 extern const char kAutoplayPolicyUserGestureRequired[];
3320
3315 } // namespace flag_descriptions 3321 } // namespace flag_descriptions
3316 3322
3317 #endif // CHROME_BROWSER_FLAG_DESCRIPTIONS_H_ 3323 #endif // CHROME_BROWSER_FLAG_DESCRIPTIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698