diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /dom/ipc/RemoteWebProgress.cpp | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/ipc/RemoteWebProgress.cpp')
-rw-r--r-- | dom/ipc/RemoteWebProgress.cpp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dom/ipc/RemoteWebProgress.cpp b/dom/ipc/RemoteWebProgress.cpp new file mode 100644 index 0000000000..0bba9a3aa9 --- /dev/null +++ b/dom/ipc/RemoteWebProgress.cpp @@ -0,0 +1,58 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "RemoteWebProgress.h" + +namespace mozilla::dom { + +NS_IMPL_ADDREF(RemoteWebProgress) +NS_IMPL_RELEASE(RemoteWebProgress) + +NS_INTERFACE_MAP_BEGIN(RemoteWebProgress) + NS_INTERFACE_MAP_ENTRY(nsISupports) + NS_INTERFACE_MAP_ENTRY(nsIWebProgress) +NS_INTERFACE_MAP_END + +NS_IMETHODIMP RemoteWebProgress::AddProgressListener( + nsIWebProgressListener* aListener, uint32_t aNotifyMask) { + return NS_ERROR_NOT_IMPLEMENTED; +} + +NS_IMETHODIMP RemoteWebProgress::RemoveProgressListener( + nsIWebProgressListener* aListener) { + return NS_ERROR_NOT_IMPLEMENTED; +} + +NS_IMETHODIMP RemoteWebProgress::GetDOMWindow(mozIDOMWindowProxy** aDOMWindow) { + return NS_ERROR_NOT_AVAILABLE; +} + +NS_IMETHODIMP RemoteWebProgress::GetIsTopLevel(bool* aIsTopLevel) { + NS_ENSURE_ARG_POINTER(aIsTopLevel); + *aIsTopLevel = mIsTopLevel; + return NS_OK; +} + +NS_IMETHODIMP RemoteWebProgress::GetIsLoadingDocument( + bool* aIsLoadingDocument) { + NS_ENSURE_ARG_POINTER(aIsLoadingDocument); + *aIsLoadingDocument = mIsLoadingDocument; + return NS_OK; +} + +NS_IMETHODIMP RemoteWebProgress::GetLoadType(uint32_t* aLoadType) { + NS_ENSURE_ARG_POINTER(aLoadType); + *aLoadType = mLoadType; + return NS_OK; +} + +NS_IMETHODIMP RemoteWebProgress::GetTarget(nsIEventTarget** aTarget) { + return NS_ERROR_NOT_IMPLEMENTED; +} + +NS_IMETHODIMP RemoteWebProgress::SetTarget(nsIEventTarget* aTarget) { + return NS_ERROR_NOT_IMPLEMENTED; +} + +} // namespace mozilla::dom |