summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h')
-rw-r--r--chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h b/chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h
new file mode 100644
index 00000000000..96e0154f385
--- /dev/null
+++ b/chromium/third_party/blink/renderer/core/html/portal/dom_window_portal_host.h
@@ -0,0 +1,22 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PORTAL_DOM_WINDOW_PORTAL_HOST_H_
+#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PORTAL_DOM_WINDOW_PORTAL_HOST_H_
+
+#include "third_party/blink/renderer/core/core_export.h"
+
+namespace blink {
+
+class LocalDOMWindow;
+class PortalHost;
+
+class CORE_EXPORT DOMWindowPortalHost {
+ public:
+ static PortalHost* portalHost(LocalDOMWindow& window);
+};
+
+} // namespace blink
+
+#endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PORTAL_DOM_WINDOW_PORTAL_HOST_H_