nim_duilib/ui_components/cef_control/app/ipc_string_define.h
jiajia_deng ad9a6b3edc Modified the namespace of the UI component
Signed-off-by: jiajia_deng <2894220@gmail.com>
2019-09-22 11:08:20 +08:00

17 lines
713 B
C++

/** @file ipc_string_define.h
* @brief 定义Render进程与Browser进程通信所用常量
* @copyright (c) 2016, NetEase Inc. All rights reserved
* @author Redrain
* @date 2016/7/19
*/
#pragma once
namespace nim_comp
{
static const char kFocusedNodeChangedMessage[] = "FocusedNodeChanged"; // web页面中获取焦点的元素改变
static const char kExecuteCppCallbackMessage[] = "ExecuteCppCallback"; // 执行 C++ 的消息回调函数
static const char kCallCppFunctionMessage[] = "CallCppFunction"; // web调用C++接口接口的通知
static const char kExecuteJsCallbackMessage[] = "ExecuteJsCallback"; // web调用C++接口接口的通知
static const char kCallJsFunctionMessage[] = "CallJsFunction"; // C++ 调用 JavaScript 通知
}