mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
mac: views: Add customization point for acceptsFirstMouse (fixes #3680)
This commit is contained in:
committed by
Marshall Greenblatt
parent
e5bd17cd14
commit
c45f88643a
@@ -6,15 +6,22 @@
|
||||
#define CEF_LIBCEF_BROWSER_VIEWS_NS_WINDOW_H_
|
||||
#pragma once
|
||||
|
||||
#include "include/internal/cef_types.h"
|
||||
|
||||
#include "components/remote_cocoa/app_shim/native_widget_mac_nswindow.h"
|
||||
|
||||
@interface CefNSWindow : NativeWidgetMacNSWindow {
|
||||
@private
|
||||
bool is_frameless_;
|
||||
cef_state_t accepts_first_mouse_;
|
||||
}
|
||||
- (id)initWithStyle:(NSUInteger)style_mask isFrameless:(bool)is_frameless;
|
||||
|
||||
- (id)initWithStyle:(NSUInteger)style_mask
|
||||
isFrameless:(bool)is_frameless
|
||||
acceptsFirstMouse:(cef_state_t)accepts_first_mouse;
|
||||
|
||||
- (BOOL)shouldCenterTrafficLights;
|
||||
- (int)acceptsFirstMouse;
|
||||
@end
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_VIEWS_NS_WINDOW_H_
|
||||
|
Reference in New Issue
Block a user