diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-21 10:32:47 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-21 10:32:47 +0000 |
commit | 98f6ad61f4f3c66209036db4bc7a4ae6ff4d1d3d (patch) | |
tree | 5d194dc3e53b4f5a4fa6b31b7756bf426fbe3cb9 /widget/nsFilePickerProxy.cpp | |
parent | 2b6effbf29cb4f7aa85e4f697c79c473cc4c9ea4 (diff) | |
download | uxp-98f6ad61f4f3c66209036db4bc7a4ae6ff4d1d3d.tar.gz |
[widget] Require user interaction when picking files or folders v2
Now with extra sauce to make it work cross-platform and cross-versions and
for HTML input elements only.
Diffstat (limited to 'widget/nsFilePickerProxy.cpp')
-rw-r--r-- | widget/nsFilePickerProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/nsFilePickerProxy.cpp b/widget/nsFilePickerProxy.cpp index 8828c416e9..077168c455 100644 --- a/widget/nsFilePickerProxy.cpp +++ b/widget/nsFilePickerProxy.cpp @@ -27,7 +27,7 @@ nsFilePickerProxy::~nsFilePickerProxy() NS_IMETHODIMP nsFilePickerProxy::Init(mozIDOMWindowProxy* aParent, const nsAString& aTitle, - int16_t aMode) + int16_t aMode, bool aRequireInteraction) { TabChild* tabChild = TabChild::GetFrom(aParent); if (!tabChild) { |