mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
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:
parent
8be98af77c
commit
4190fd2199
43 changed files with 241 additions and 241 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue