Allow inclusion of cef_application_mac.h from pure C/ObjC (issue #2297)

This commit is contained in:
Lk Xf
2017-11-15 19:55:16 +00:00
committed by Marshall Greenblatt
parent 4b39753c41
commit c32f283647

View File

@ -82,6 +82,8 @@
@protocol CefAppProtocol<CrAppControlProtocol>
@end
#ifdef __cplusplus
// Controls the state of |isHandlingSendEvent| in the event loop so that it is
// reset properly.
class CefScopedSendingEvent {
@ -99,6 +101,8 @@ class CefScopedSendingEvent {
BOOL handling_;
};
#endif // __cplusplus
#endif // defined(OS_MACOSX) && defined(__OBJC__)
#endif // CEF_INCLUDE_CEF_APPLICATION_MAC_H_