// // CefViewCoreGlobal.h // CefViewCore // // Created by Sheen Tian on 2023/5/30. // #ifndef CefViewCoreGlobal_h #define CefViewCoreGlobal_h #pragma once #pragma region stl_headers #include #include #pragma endregion #pragma region cef_headers #include #include #include #include #include #include #include #pragma endregion #if CEF_VERSION_MAJOR < 122 using CefFrameId = int64_t; #else using CefFrameId = CefString; template<> struct std::hash { std::size_t operator()(const CefFrameId& k) const { using std::hash; using std::string; return std::hash()(k.ToString()); } }; #endif // CEF_VERSION_MAJOR < 122 #endif // CefViewCoreGlobal_h