mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +00:00
LibWeb: Rename PageView => InProcessWebView
This commit is contained in:
parent
ba856c7ebe
commit
56c3748dcc
31 changed files with 88 additions and 88 deletions
|
@ -32,7 +32,7 @@
|
|||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/Layout/LayoutWidget.h>
|
||||
#include <LibWeb/Page/Frame.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
|
@ -60,7 +60,7 @@ void LayoutWidget::did_set_rect()
|
|||
void LayoutWidget::update_widget()
|
||||
{
|
||||
auto adjusted_widget_position = absolute_rect().location().to_type<int>();
|
||||
auto& page_view = static_cast<const PageView&>(frame().page().client());
|
||||
auto& page_view = static_cast<const InProcessWebView&>(frame().page().client());
|
||||
adjusted_widget_position.move_by(-page_view.horizontal_scrollbar().value(), -page_view.vertical_scrollbar().value());
|
||||
widget().move_to(adjusted_widget_position);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue