随笔分类 -  electron与chromium内核

摘要:1. D:\chromium110\chromium\src\chrome\app\chrome_exe_main_win.cc #if !defined(WIN_CONSOLE_APP) ////////////非headless模式 int APIENTRY wWinMain(HINSTANCE 阅读全文
posted @ 2023-10-12 17:31 Bigben 阅读(417) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2022-09-02 18:15 Bigben 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2022-08-26 18:10 Bigben 阅读(0) 评论(0) 推荐(0)
摘要:0, 各种对外的delegate,client: MouseWheelEventQueue 的 client_ 是 InputRouterImpl InputRouterImpl 的 client_ 是 RenderWidgetHostImpl RenderWidgetHostImpl 的 dele 阅读全文
posted @ 2021-07-23 11:07 Bigben 阅读(778) 评论(0) 推荐(0)
摘要:Chrome Service Model John Abd-El-Malek February 2016 Objective Move Chrome codebase towards a service-oriented model. This will produce reusable and d 阅读全文
posted @ 2021-06-22 15:45 Bigben 阅读(123) 评论(0) 推荐(0)
摘要:Network Service in Chrome John Abd-El-Malek March 2016 Objective Create a Mojo Network Service in Chrome, and start converting the code to use it. Bac 阅读全文
posted @ 2021-06-22 15:41 Bigben 阅读(381) 评论(0) 推荐(0)
摘要:https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/README.md https://www.chromium.org/developers Chromium docs This directory conta 阅读全文
posted @ 2021-06-22 11:43 Bigben 阅读(214) 评论(0) 推荐(0)
摘要:Service Development Guidelines [TOC] Overview The top-level //services directory contains the sources, public Mojo interface definitions, and public c 阅读全文
posted @ 2021-06-22 11:40 Bigben 阅读(187) 评论(0) 推荐(0)
摘要:html 文本解析栈 > blink_core.dll!blink::LayoutObjectFactory::CreateText(blink::Node * node, scoped_refptr<WTF::StringImpl> str, blink::LegacyLayout legacy) 阅读全文
posted @ 2021-06-16 18:33 Bigben 阅读(234) 评论(0) 推荐(0)
摘要:事件传输 Life of a "set cursor" message Setting the cursor is an example of a typical message that is sent from the renderer to the browser. In the render 阅读全文
posted @ 2021-04-02 12:03 Bigben 阅读(109) 评论(0) 推荐(0)
摘要:chromium内核代码一直在更新,最近又有了大动作。尤其是IPC通信部分,因为性能问题,传统的IPC已经被弃用,虽然不是完全舍弃,但除了严重依赖于时序关系的Navigate相关消息外,其他的所有IPC::Channel都被替换成了mojom。这就导致以前的FrameMsg_Navigate、Res 阅读全文
posted @ 2021-04-01 16:38 Bigben 阅读(2652) 评论(0) 推荐(0)
摘要:Render 开始的类名,比如 RenderFrame,RenderWidget,RenderView,RenderThread 都位于content层 Web开始的类名:比如 WebFrame,blink::WebView,WebWidget位于内核的glue层。内部也就是blink,webkit 阅读全文
posted @ 2021-03-31 16:05 Bigben
摘要:Headless Chrome: an answer to server-side rendering JS sites 原文 中文翻译:https://www.cnblogs.com/Johnzhang/p/8883157.html By Eric Bidelman Engineer @ Goog 阅读全文
posted @ 2021-03-18 10:23 Bigben 阅读(492) 评论(0) 推荐(0)
摘要:谷歌官方的“合成器变迁”。一定要看,是个 eye opening 目前最新技术就是在瓦片都被光栅化后,生成render pass。然后变成 CompositorFrame,发往在gpu进程 display compositor绘制。发送这些层合成的CompositorFrame利用的是Composi 阅读全文
posted @ 2021-03-17 19:43 Bigben 阅读(2764) 评论(0) 推荐(0)
摘要:下载:git clone https://github.com/google/gumbo-parser.git 预先安装gcc等sudo apt-get install libtool $cd gumbo-parser/ $ ./autogen.sh $ ./configure $ make $ s 阅读全文
posted @ 2020-11-24 17:53 Bigben 阅读(292) 评论(0) 推荐(0)
摘要:转自:Chromium学习笔记:程序启动入口分析(Windows) 以下笔记内容均为Windows版本。 本篇笔记跟踪记录了Chromium的启动过程,主要关注 Browser 进程和 Renderer 进程。根据 Chromium 项目的分层设计,我们把 Content API 称作为 Conte 阅读全文
posted @ 2020-11-18 19:51 Bigben 阅读(2449) 评论(0) 推荐(0)
摘要:多进程架构,有一个浏览器进程和N个沙盒渲染器进程,Blink在沙盒渲染中运行。浏览器选项卡、iframe可共享同个渲染器进程。 沙箱运行:在沙箱中,须通过父浏览器进程来调度使用资源(文件访问、网络、音视频播放、用户配置文件读取(cookie,密码)等。Blink将浏览器进程抽象为一组服务,使用Moj 阅读全文
posted @ 2020-11-10 15:34 Bigben 阅读(659) 评论(0) 推荐(0)
摘要:具体参考gn的说明。 1,在全局里面设置编译参数的值:electron/build/args/testing.gn里面设置开关: enable_desktop_capturer=false 会覆盖调定义时的值也可使直接使用:gn --args="enable_doom_melon=true enab 阅读全文
posted @ 2020-11-05 13:52 Bigben 阅读(1202) 评论(0) 推荐(0)
摘要:Getting Started with Headless Chrome By Eric Bidelman Engineer @ Google working on web tooling: Headless Chrome, Puppeteer, Lighthouse TL;DR Headless 阅读全文
posted @ 2020-11-02 19:29 Bigben 阅读(212) 评论(0) 推荐(0)