mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Rename HTMLIFrameElement::hosted_frame() => content_frame()
This matches the standard API names contentWindow and contentDocument.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 02:16:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/86a4eaca389
@@ -39,8 +39,8 @@ public:
|
||||
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
|
||||
|
||||
Frame* hosted_frame() { return m_hosted_frame; }
|
||||
const Frame* hosted_frame() const { return m_hosted_frame; }
|
||||
Frame* content_frame() { return m_content_frame; }
|
||||
const Frame* content_frame() const { return m_content_frame; }
|
||||
|
||||
const DOM::Document* content_document() const;
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
|
||||
void load_src(const String&);
|
||||
|
||||
RefPtr<Frame> m_hosted_frame;
|
||||
RefPtr<Frame> m_content_frame;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user