LibWeb: Rename Web::Frame to Web::BrowsingContext

Our "frame" concept very closely matches what the web specs call a
"browsing context", so let's rename it to that. :^)

The "main frame" becomes the "top-level browsing context",
and "sub-frames" are now "nested browsing contexts".
This commit is contained in:
Andreas Kling 2021-05-30 12:36:53 +02:00
commit 4190fd2199
Notes: sideshowbarker 2024-07-18 17:10:44 +09:00
43 changed files with 241 additions and 241 deletions

View file

@ -13,7 +13,7 @@ namespace Web {
class EditEventHandler {
public:
explicit EditEventHandler(Frame& frame)
explicit EditEventHandler(BrowsingContext& frame)
: m_frame(frame)
{
}
@ -25,7 +25,7 @@ public:
virtual void handle_insert(DOM::Position, u32 code_point);
private:
Frame& m_frame;
BrowsingContext& m_frame;
};
}