mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
LibWeb: Add the Web::URL namespace and move URLEncoder to it
This namespace will be used for all interfaces defined in the URL specification, like URL and URLSearchParams. This has the unfortunate side-effect of requiring us to use the fully qualified AK::URL name whenever we want to refer to the AK class, so this commit also fixes all such references.
This commit is contained in:
parent
2b78e227f2
commit
4629f2e4ad
54 changed files with 236 additions and 225 deletions
|
@ -93,11 +93,11 @@ public:
|
|||
|
||||
void did_edit(Badge<EditEventHandler>);
|
||||
|
||||
void register_frame_nesting(URL const&);
|
||||
bool is_frame_nesting_allowed(URL const&) const;
|
||||
void register_frame_nesting(AK::URL const&);
|
||||
bool is_frame_nesting_allowed(AK::URL const&) const;
|
||||
|
||||
void set_frame_nesting_levels(HashMap<URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); };
|
||||
HashMap<URL, size_t> const& frame_nesting_levels() const { return m_frame_nesting_levels; }
|
||||
void set_frame_nesting_levels(HashMap<AK::URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); };
|
||||
HashMap<AK::URL, size_t> const& frame_nesting_levels() const { return m_frame_nesting_levels; }
|
||||
|
||||
DOM::Document* container_document();
|
||||
DOM::Document const* container_document() const;
|
||||
|
@ -123,7 +123,7 @@ private:
|
|||
|
||||
HashTable<ViewportClient*> m_viewport_clients;
|
||||
|
||||
HashMap<URL, size_t> m_frame_nesting_levels;
|
||||
HashMap<AK::URL, size_t> m_frame_nesting_levels;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue