mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	Ladybird: Stub out new WebView::ViewImplementation APIs
These were added for WebDriver, which doesn't have a Ladybird implementation yet.
This commit is contained in:
		
							parent
							
								
									15e4d151c3
								
							
						
					
					
						commit
						0b15fd4a12
					
				
					 2 changed files with 29 additions and 0 deletions
				
			
		|  | @ -909,6 +909,30 @@ void WebContentView::notify_server_did_update_resource_count(i32 count_waiting) | |||
|     (void)count_waiting; | ||||
| } | ||||
| 
 | ||||
| void WebContentView::notify_server_did_request_restore_window() | ||||
| { | ||||
| } | ||||
| 
 | ||||
| Gfx::IntPoint WebContentView::notify_server_did_request_reposition_window(Gfx::IntPoint const&) | ||||
| { | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
| Gfx::IntSize WebContentView::notify_server_did_request_resize_window(Gfx::IntSize const&) | ||||
| { | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
| Gfx::IntRect WebContentView::notify_server_did_request_maximize_window() | ||||
| { | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
| Gfx::IntRect WebContentView::notify_server_did_request_minimize_window() | ||||
| { | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
| void WebContentView::notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32 request_id) | ||||
| { | ||||
|     auto file = Core::File::open(path, Core::OpenMode::ReadOnly); | ||||
|  |  | |||
|  | @ -138,6 +138,11 @@ public: | |||
|     virtual String notify_server_did_request_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::Source source) override; | ||||
|     virtual void notify_server_did_set_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source) override; | ||||
|     virtual void notify_server_did_update_resource_count(i32 count_waiting) override; | ||||
|     virtual void notify_server_did_request_restore_window() override; | ||||
|     virtual Gfx::IntPoint notify_server_did_request_reposition_window(Gfx::IntPoint const&) override; | ||||
|     virtual Gfx::IntSize notify_server_did_request_resize_window(Gfx::IntSize const&) override; | ||||
|     virtual Gfx::IntRect notify_server_did_request_maximize_window() override; | ||||
|     virtual Gfx::IntRect notify_server_did_request_minimize_window() override; | ||||
|     virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) override; | ||||
| 
 | ||||
| signals: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn