зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c3adf90c7d
Коммит
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;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче