mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update to Chromium version 125.0.6422.0 (#1287751)
This commit is contained in:
		@@ -1,11 +1,11 @@
 | 
			
		||||
diff --git content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm
 | 
			
		||||
index 5649f120ccefa..c6c1a676a24cf 100644
 | 
			
		||||
index 0c9e9a86a0242..dc80361d0c9a0 100644
 | 
			
		||||
--- content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm
 | 
			
		||||
+++ content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm
 | 
			
		||||
@@ -164,6 +164,13 @@ void ExtractUnderlines(NSAttributedString* string,
 | 
			
		||||
 | 
			
		||||
@@ -165,6 +165,13 @@ void ExtractUnderlines(NSAttributedString* string,
 | 
			
		||||
 
 | 
			
		||||
 // RenderWidgetHostViewCocoa ---------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
+@interface NSWindow (CefCustomMethods)
 | 
			
		||||
+- (int)acceptsFirstMouse;
 | 
			
		||||
+@end
 | 
			
		||||
@@ -15,10 +15,10 @@ index 5649f120ccefa..c6c1a676a24cf 100644
 | 
			
		||||
+
 | 
			
		||||
 // Private methods:
 | 
			
		||||
 @interface RenderWidgetHostViewCocoa ()
 | 
			
		||||
 | 
			
		||||
@@ -744,6 +751,14 @@ void ExtractUnderlines(NSAttributedString* string,
 | 
			
		||||
 
 | 
			
		||||
@@ -750,6 +757,14 @@ void ExtractUnderlines(NSAttributedString* string,
 | 
			
		||||
 }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 - (BOOL)acceptsFirstMouse:(NSEvent*)theEvent {
 | 
			
		||||
+  if ([self.window respondsToSelector:@selector(acceptsFirstMouse)]) {
 | 
			
		||||
+    const auto mode = [self.window acceptsFirstMouse];
 | 
			
		||||
@@ -30,4 +30,4 @@ index 5649f120ccefa..c6c1a676a24cf 100644
 | 
			
		||||
+  }
 | 
			
		||||
   return [self acceptsMouseEventsWhenInactive];
 | 
			
		||||
 }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user