summaryrefslogtreecommitdiffstats
path: root/dom/ipc/PBrowserOrId.ipdlh
diff options
context:
space:
mode:
Diffstat (limited to 'dom/ipc/PBrowserOrId.ipdlh')
-rw-r--r--dom/ipc/PBrowserOrId.ipdlh21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/ipc/PBrowserOrId.ipdlh b/dom/ipc/PBrowserOrId.ipdlh
new file mode 100644
index 000000000..8673f188a
--- /dev/null
+++ b/dom/ipc/PBrowserOrId.ipdlh
@@ -0,0 +1,21 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set sw=2 ts=8 et tw=80 ft=c: */
+/* 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 protocol PBrowser;
+
+using mozilla::dom::TabId from "mozilla/dom/ipc/IdType.h";
+
+namespace mozilla {
+namespace dom {
+
+union PBrowserOrId
+{
+ nullable PBrowser;
+ TabId;
+};
+
+} // namespace dom
+} // namespace mozilla \ No newline at end of file