Update to Chromium version 124.0.6367.60

This commit is contained in:
Marshall Greenblatt
2024-04-16 13:52:24 +00:00
committed by Marshall Greenblatt
parent e461d8f247
commit ccc63c9e55
7 changed files with 19 additions and 19 deletions

View File

@@ -3,9 +3,9 @@ index 5649f120ccefa..c6c1a676a24cf 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,
// 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,
}
- (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];
}