Bug 1769547 - Do not MOZ_CRASH() on missing process r=nika
[gecko.git] / widget / nsDragServiceProxy.h
blob15aa6fa23e37842d1590ae5d4ec946d67ba4f9c2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef NSDRAGSERVICEPROXY_H
7 #define NSDRAGSERVICEPROXY_H
9 #include "nsBaseDragService.h"
11 class nsDragServiceProxy : public nsBaseDragService {
12 public:
13 nsDragServiceProxy();
15 NS_INLINE_DECL_REFCOUNTING_INHERITED(nsDragServiceProxy, nsBaseDragService)
17 // nsBaseDragService
18 virtual nsresult InvokeDragSessionImpl(
19 nsIArray* anArrayTransferables,
20 const mozilla::Maybe<mozilla::CSSIntRegion>& aRegion,
21 uint32_t aActionType) override;
23 private:
24 virtual ~nsDragServiceProxy();
27 #endif // NSDRAGSERVICEPROXY_H