blob: 87794ad6524f9868f5730b18731eeca0f96ffcc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// 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);
static bool ShouldExposePortalHost(const LocalDOMWindow& window);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PORTAL_DOM_WINDOW_PORTAL_HOST_H_
|