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

@ -17,11 +17,11 @@
namespace Web {
class Frame;
class BrowsingContext;
class EventHandler {
public:
explicit EventHandler(Badge<Frame>, Frame&);
explicit EventHandler(Badge<BrowsingContext>, BrowsingContext&);
~EventHandler();
bool handle_mouseup(const Gfx::IntPoint&, unsigned button, unsigned modifiers);
@ -42,7 +42,7 @@ private:
Layout::InitialContainingBlockBox* layout_root();
const Layout::InitialContainingBlockBox* layout_root() const;
Frame& m_frame;
BrowsingContext& m_frame;
bool m_in_mouse_selection { false };