/* * Copyright (c) 2020-2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { class HTMLIFrameElement final : public BrowsingContextContainer { public: using WrapperType = Bindings::HTMLIFrameElementWrapper; HTMLIFrameElement(DOM::Document&, DOM::QualifiedName); virtual ~HTMLIFrameElement() override; virtual RefPtr create_layout_node(NonnullRefPtr) override; private: virtual void inserted() override; virtual void removed_from(Node*) override; virtual void parse_attribute(const FlyString& name, const String& value) override; void load_src(const String&); }; void run_iframe_load_event_steps(HTML::HTMLIFrameElement&); }