Windows: cefclient: Fix ATL-related build errors (issue #2200)

This commit is contained in:
Marshall Greenblatt 2017-06-19 15:00:18 +03:00
parent 70a01250e1
commit 2773518869
2 changed files with 8 additions and 0 deletions

View File

@ -249,6 +249,11 @@ if(OS_WINDOWS)
add_dependencies(${CEF_TARGET} libcef_dll_wrapper) add_dependencies(${CEF_TARGET} libcef_dll_wrapper)
target_link_libraries(${CEF_TARGET} libcef_lib libcef_dll_wrapper ${CEF_STANDARD_LIBS} glu32.lib imm32.lib opengl32.lib) target_link_libraries(${CEF_TARGET} libcef_lib libcef_dll_wrapper ${CEF_STANDARD_LIBS} glu32.lib imm32.lib opengl32.lib)
if(USE_ATL)
# Required by VS2013 to link accessibility API functions.
target_link_libraries(${CEF_TARGET} oleacc.lib)
endif()
if(USE_SANDBOX) if(USE_SANDBOX)
# Logical target used to link the cef_sandbox library. # Logical target used to link the cef_sandbox library.
ADD_LOGICAL_TARGET("cef_sandbox_lib" "${CEF_SANDBOX_LIB_DEBUG}" "${CEF_SANDBOX_LIB_RELEASE}") ADD_LOGICAL_TARGET("cef_sandbox_lib" "${CEF_SANDBOX_LIB_DEBUG}" "${CEF_SANDBOX_LIB_RELEASE}")

View File

@ -680,6 +680,9 @@ CefNativeAccessible* OsrAXNode::GetNativeAccessibleObject(OsrAXNode* parent) {
namespace client { namespace client {
void OsrAXNode::NotifyAccessibilityEvent(std::string event_type) const {
}
void OsrAXNode::Destroy() {} void OsrAXNode::Destroy() {}
CefNativeAccessible* OsrAXNode::GetNativeAccessibleObject(OsrAXNode* parent) { CefNativeAccessible* OsrAXNode::GetNativeAccessibleObject(OsrAXNode* parent) {