Allow inclusion of cef_application_mac.h from pure C/ObjC (issue #2297)
This commit is contained in:
parent
89a1f2b372
commit
4a6e9b636e
|
@ -82,6 +82,8 @@
|
||||||
@protocol CefAppProtocol<CrAppControlProtocol>
|
@protocol CefAppProtocol<CrAppControlProtocol>
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
|
||||||
// Controls the state of |isHandlingSendEvent| in the event loop so that it is
|
// Controls the state of |isHandlingSendEvent| in the event loop so that it is
|
||||||
// reset properly.
|
// reset properly.
|
||||||
class CefScopedSendingEvent {
|
class CefScopedSendingEvent {
|
||||||
|
@ -99,6 +101,8 @@ class CefScopedSendingEvent {
|
||||||
BOOL handling_;
|
BOOL handling_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
#endif // defined(OS_MACOSX) && defined(__OBJC__)
|
#endif // defined(OS_MACOSX) && defined(__OBJC__)
|
||||||
|
|
||||||
#endif // CEF_INCLUDE_CEF_APPLICATION_MAC_H_
|
#endif // CEF_INCLUDE_CEF_APPLICATION_MAC_H_
|
||||||
|
|
Loading…
Reference in New Issue