mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1731994: part 3) Extend documentation of ContentPermissionRequestBase
's constructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D126349
This commit is contained in:
parent
c3adf90c7d
commit
5d0afe9005
@ -137,6 +137,7 @@ class ContentPermissionRequestBase : public nsIContentPermissionRequest {
|
||||
|
||||
protected:
|
||||
// @param aPrefName see `mPrefName`.
|
||||
// @param aType see `mType`.
|
||||
ContentPermissionRequestBase(nsIPrincipal* aPrincipal,
|
||||
nsPIDOMWindowInner* aWindow,
|
||||
const nsACString& aPrefName,
|
||||
@ -155,7 +156,10 @@ class ContentPermissionRequestBase : public nsIContentPermissionRequest {
|
||||
// to either true or false. If no such testing is required, mPrefName may be
|
||||
// empty.
|
||||
const nsCString mPrefName;
|
||||
|
||||
// The type of the request, such as "autoplay-media-audible".
|
||||
const nsCString mType;
|
||||
|
||||
bool mIsHandlingUserInput;
|
||||
bool mMaybeUnsafePermissionDelegate;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user