赞助

随笔分类 -  CEF开源库

摘要:转载:https://www.cnblogs.com/TianFang/p/9906786.html 转载:https://stackoverflow.com/questions/29117882/debugging-javascript-in-chromium-embedded-framework 阅读全文
posted @ 2019-06-10 10:57 车臣 阅读(3618) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/wdw984/article/details/85275289 1.首先要让我们自己的CefClient这个类公有继承CefRequestHandler 2.添加Request事件构造函数 3.然后重写父类的OnBeforeBrowse和OnBefo 阅读全文
posted @ 2019-05-15 14:24 车臣 阅读(2744) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.deanhan.cn/js-paste-upload.html 转载:https://segmentfault.com/a/1190000002915597 转载:https://www.cnblogs.com/dcb3688/p/4610638.html 转载:htt 阅读全文
posted @ 2019-04-09 14:27 车臣 阅读(1035) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/lengyuezuixue/article/details/79769103 在项目开发过程中遇到一个需求,通过C++调用js方法传参给前端显示图片,但前端如果想显示一个本地绝对路径的一张图片,必须把图片内容转换成base64,原因是浏览器中的Jav 阅读全文
posted @ 2019-03-11 14:50 车臣 阅读(1540) 评论(0) 推荐(0) 编辑
摘要:参考:https://peter.sh/experiments/chromium-command-line-switches/ List of Chromium Command Line Switches 转载:https://bbs.csdn.net/topics/391996198 转载:htt 阅读全文
posted @ 2019-01-24 10:09 车臣 阅读(10955) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/foruok/article/details/50687864(解析json) 转载:https://blog.csdn.net/foruok/article/details/51132462(构建json) 在CEF项目开发中避免不了要使用json 阅读全文
posted @ 2019-01-19 14:09 车臣 阅读(1364) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/wxxweb/p/3738696.html 在CefBrowserSettings也就是_cef_browser_settings_t结构体中,有个成员变量web_security,来看下它的注释 方法1. 将其赋值为true,即可运行跨域访问 阅读全文
posted @ 2019-01-18 17:46 车臣 阅读(2030) 评论(0) 推荐(0) 编辑
摘要:参考文档:http://magpcss.org/ceforum/apidocs3/projects/(default)/CefCookieManager.html 转载:https://www.cnblogs.com/guolixiucai/p/6994559.html 转载:https://blo 阅读全文
posted @ 2019-01-18 10:47 车臣 阅读(5862) 评论(0) 推荐(0) 编辑
摘要:在项目开发过程中,有时候需要进行调试测试,然后我们可以在cef上下文菜单中添加自定义开发者工具菜单项,这样会比较方便,最后效果: 实现过程: 让自己的MyClientHandler来继承 CefContextMenuHandler这个抽象类,然对其下面的纯虚函数进行重写 1.获得事件处理器 2. 重 阅读全文
posted @ 2019-01-10 17:38 车臣 阅读(4157) 评论(1) 推荐(1) 编辑
摘要:Keyboardcodes:https://www.androidos.net.cn/android/4.3_r1/xref/external/webkit/Source/WebCore/platform/chromium/KeyboardCodes.h 1.首先要让我们自己的CefClient这个 阅读全文
posted @ 2018-12-11 10:37 车臣 阅读(3624) 评论(4) 推荐(1) 编辑
摘要:转载:https://blog.csdn.net/liuyan20092009/article/details/53819473?locationNum=6&fps=1 转载:https://blog.csdn.net/guniwi/article/details/83013415 转载:https 阅读全文
posted @ 2018-12-08 16:08 车臣 阅读(4382) 评论(0) 推荐(0) 编辑
摘要:参考资料:https://www.aliyun.com/zixun/wenji/1247250.html 转载:https://www.cnblogs.com/gongxijun/p/4857977.html 转载:https://www.cnblogs.com/jackiesteed/articl 阅读全文
posted @ 2018-11-24 16:12 车臣 阅读(2083) 评论(0) 推荐(0) 编辑
摘要:转载:http://blog.csdn.net/weolar/article/details/51994895 CEF加载慢的时候,加上以下代码,通过命令行的方式: 阅读全文
posted @ 2017-05-24 15:59 车臣 阅读(5241) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/xiezhongyuan07/article/details/84402083 在开发过程遇到一个问题,CEF加载一个静态页面,然后在静态页面上有一个上传头像的功能,上传头像采用input file标签,可是弹出的标签默认文字是英文, 通过查看CEF 阅读全文
posted @ 2017-05-24 12:03 车臣 阅读(5259) 评论(0) 推荐(1) 编辑
摘要:CefSettings结构体允许定义全局的CEF配置,经常用到的配置项如下: single_process 设置为true时,Browser和Renderer使用一个进程。此项也可以通过命令行参数“single-process”配置。查看本文中“进程”章节获取更多的信息。 browser_subpr 阅读全文
posted @ 2017-05-08 15:59 车臣 阅读(9295) 评论(0) 推荐(1) 编辑
摘要:转载:http://www.cctry.com/thread-258549-1-1.html 转载:http://blog.sina.com.cn/s/blog_dad2c54101019cmo.html 转载:http://blog.csdn.net/qhh_qhh/article/details 阅读全文
posted @ 2017-04-17 09:49 车臣 阅读(4754) 评论(0) 推荐(0) 编辑
摘要:转载:http://blog.csdn.net/liuyan20092009/article/details/53819473 转载:https://blog.csdn.net/u012778714(封装成Duilib控件) 转载:https://blog.csdn.net/CYY_JLSAINI/ 阅读全文
posted @ 2017-04-05 16:48 车臣 阅读(2225) 评论(0) 推荐(0) 编辑
摘要:转载:http://blog.csdn.net/foruok/article/details/50573612 转载:http://blog.csdn.net/foruok/article/details/50584985 转载:http://blog.csdn.net/mfcing/article 阅读全文
posted @ 2016-12-06 16:47 车臣 阅读(6038) 评论(0) 推荐(0) 编辑
摘要:CEF版本是Branch 2171 开发环境是VS2012 查看一下libcef_dll_wrapper工程属性,确定Code Generation 选择MTD(Debug) 或者MT(Release),这个设置是编译出的静态库是多线程静态链接,在其他工程中使用时,使用者的工程属性也要对应设置MTD 阅读全文
posted @ 2016-12-01 16:08 车臣 阅读(6169) 评论(1) 推荐(1) 编辑