mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Building on macOS now requires the 10.15 SDK. Xcode 11.3 is recommended as Xcode 11.4 is not currently supported (see https://crbug.com/1065146). - Jumbo build configuration is no longer supported. Chromium is skipping the M82 release and consequently no CEF 4085 branch will be created. For details on the Chromium decision see https://groups.google.com/a/chromium.org/d/msg/chromium-dev/Vn7uzglqLz0/JItlSrZxBAAJ
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git content/browser/renderer_host/browser_compositor_view_mac.h content/browser/renderer_host/browser_compositor_view_mac.h
 | |
| index af7b3249d421..1483a48f9074 100644
 | |
| --- content/browser/renderer_host/browser_compositor_view_mac.h
 | |
| +++ content/browser/renderer_host/browser_compositor_view_mac.h
 | |
| @@ -58,6 +58,8 @@ class CONTENT_EXPORT BrowserCompositorMac : public DelegatedFrameHostClient,
 | |
|  
 | |
|    // These will not return nullptr until Destroy is called.
 | |
|    DelegatedFrameHost* GetDelegatedFrameHost();
 | |
| +  ui::Layer* GetRootLayer() { return root_layer_.get(); }
 | |
| +  ui::Compositor* GetCompositor();
 | |
|  
 | |
|    // Force a new surface id to be allocated. Returns true if the
 | |
|    // RenderWidgetHostImpl sent the resulting surface id to the renderer.
 | |
| diff --git content/browser/renderer_host/browser_compositor_view_mac.mm content/browser/renderer_host/browser_compositor_view_mac.mm
 | |
| index ac9fdebbc87d..ebb2556ad908 100644
 | |
| --- content/browser/renderer_host/browser_compositor_view_mac.mm
 | |
| +++ content/browser/renderer_host/browser_compositor_view_mac.mm
 | |
| @@ -85,6 +85,12 @@ DelegatedFrameHost* BrowserCompositorMac::GetDelegatedFrameHost() {
 | |
|    return delegated_frame_host_.get();
 | |
|  }
 | |
|  
 | |
| +ui::Compositor* BrowserCompositorMac::GetCompositor() {
 | |
| +  if (recyclable_compositor_)
 | |
| +    return recyclable_compositor_->compositor();
 | |
| +  return nullptr;
 | |
| +}
 | |
| +
 | |
|  bool BrowserCompositorMac::ForceNewSurfaceId() {
 | |
|    dfh_local_surface_id_allocator_.GenerateId();
 | |
|    delegated_frame_host_->EmbedSurface(
 |