|
@@ -121,6 +121,9 @@ public:
|
|
bool is_webdriver_active() const { return m_is_webdriver_active; }
|
|
bool is_webdriver_active() const { return m_is_webdriver_active; }
|
|
void set_is_webdriver_active(bool b) { m_is_webdriver_active = b; }
|
|
void set_is_webdriver_active(bool b) { m_is_webdriver_active = b; }
|
|
|
|
|
|
|
|
+ Gfx::StandardCursor current_cursor() const { return m_current_cursor; }
|
|
|
|
+ void set_current_cursor(Gfx::StandardCursor cursor) { m_current_cursor = cursor; }
|
|
|
|
+
|
|
DevicePixelPoint window_position() const { return m_window_position; }
|
|
DevicePixelPoint window_position() const { return m_window_position; }
|
|
void set_window_position(DevicePixelPoint position) { m_window_position = position; }
|
|
void set_window_position(DevicePixelPoint position) { m_window_position = position; }
|
|
|
|
|
|
@@ -246,6 +249,8 @@ private:
|
|
// The webdriver-active flag is set to true when the user agent is under remote control. It is initially false.
|
|
// The webdriver-active flag is set to true when the user agent is under remote control. It is initially false.
|
|
bool m_is_webdriver_active { false };
|
|
bool m_is_webdriver_active { false };
|
|
|
|
|
|
|
|
+ Gfx::StandardCursor m_current_cursor { Gfx::StandardCursor::Arrow };
|
|
|
|
+
|
|
DevicePixelPoint m_window_position {};
|
|
DevicePixelPoint m_window_position {};
|
|
DevicePixelSize m_window_size {};
|
|
DevicePixelSize m_window_size {};
|
|
GC::Ptr<GC::Function<void(DevicePixelRect)>> m_window_rect_observer;
|
|
GC::Ptr<GC::Function<void(DevicePixelRect)>> m_window_rect_observer;
|