From 4a6e9b636ee683a2d79883abe51ef89abcc32a9d Mon Sep 17 00:00:00 2001 From: Lk Xf Date: Wed, 15 Nov 2017 19:55:16 +0000 Subject: [PATCH] Allow inclusion of cef_application_mac.h from pure C/ObjC (issue #2297) --- include/cef_application_mac.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/cef_application_mac.h b/include/cef_application_mac.h index 503c536f2..da6d4050f 100644 --- a/include/cef_application_mac.h +++ b/include/cef_application_mac.h @@ -82,6 +82,8 @@ @protocol CefAppProtocol @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_