Bug 1826682 - Re-Configure() webgpu canvases on resize. r=webgpu-reviewers,nical...
[gecko.git] / ipc / glue / IPCForwards.h
blob8aef88525745ea07749cdc8d49b86d5c19ee89d3
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
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/. */
7 #ifndef mozilla_ipc_IPCForwards_h
8 #define mozilla_ipc_IPCForwards_h
10 // A few helpers to avoid having to include lots of stuff in headers.
12 namespace mozilla {
13 template <typename T>
14 class Maybe;
16 namespace ipc {
17 class IProtocol;
19 } // namespace mozilla
21 namespace IPC {
22 class Message;
23 class MessageReader;
24 class MessageWriter;
25 template <typename T, bool>
26 class ReadResult;
27 } // namespace IPC
29 // TODO(bug 1812271): Remove users of this macro.
30 #define ALLOW_DEPRECATED_READPARAM \
31 public: \
32 enum { kHasDeprecatedReadParamPrivateConstructor = true }; \
33 template <typename, bool> \
34 friend class IPC::ReadResult; \
36 private:
38 #endif