随笔分类 - electron与chromium内核
摘要:1. D:\chromium110\chromium\src\chrome\app\chrome_exe_main_win.cc #if !defined(WIN_CONSOLE_APP) ////////////非headless模式 int APIENTRY wWinMain(HINSTANCE
阅读全文
摘要:0, 各种对外的delegate,client: MouseWheelEventQueue 的 client_ 是 InputRouterImpl InputRouterImpl 的 client_ 是 RenderWidgetHostImpl RenderWidgetHostImpl 的 dele
阅读全文
摘要:Chrome Service Model John Abd-El-Malek February 2016 Objective Move Chrome codebase towards a service-oriented model. This will produce reusable and d
阅读全文
摘要: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
阅读全文
摘要:https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/README.md https://www.chromium.org/developers Chromium docs This directory conta
阅读全文
摘要:Service Development Guidelines [TOC] Overview The top-level //services directory contains the sources, public Mojo interface definitions, and public c
阅读全文
摘要:html 文本解析栈 > blink_core.dll!blink::LayoutObjectFactory::CreateText(blink::Node * node, scoped_refptr<WTF::StringImpl> str, blink::LegacyLayout legacy)
阅读全文
摘要:事件传输 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
阅读全文
摘要:chromium内核代码一直在更新,最近又有了大动作。尤其是IPC通信部分,因为性能问题,传统的IPC已经被弃用,虽然不是完全舍弃,但除了严重依赖于时序关系的Navigate相关消息外,其他的所有IPC::Channel都被替换成了mojom。这就导致以前的FrameMsg_Navigate、Res
阅读全文
摘要: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
阅读全文
摘要:谷歌官方的“合成器变迁”。一定要看,是个 eye opening 目前最新技术就是在瓦片都被光栅化后,生成render pass。然后变成 CompositorFrame,发往在gpu进程 display compositor绘制。发送这些层合成的CompositorFrame利用的是Composi
阅读全文
摘要:
阅读全文
摘要:下载:git clone https://github.com/google/gumbo-parser.git 预先安装gcc等sudo apt-get install libtool $cd gumbo-parser/ $ ./autogen.sh $ ./configure $ make $ s
阅读全文
摘要:转自:Chromium学习笔记:程序启动入口分析(Windows) 以下笔记内容均为Windows版本。 本篇笔记跟踪记录了Chromium的启动过程,主要关注 Browser 进程和 Renderer 进程。根据 Chromium 项目的分层设计,我们把 Content API 称作为 Conte
阅读全文
摘要:多进程架构,有一个浏览器进程和N个沙盒渲染器进程,Blink在沙盒渲染中运行。浏览器选项卡、iframe可共享同个渲染器进程。 沙箱运行:在沙箱中,须通过父浏览器进程来调度使用资源(文件访问、网络、音视频播放、用户配置文件读取(cookie,密码)等。Blink将浏览器进程抽象为一组服务,使用Moj
阅读全文
摘要:具体参考gn的说明。 1,在全局里面设置编译参数的值:electron/build/args/testing.gn里面设置开关: enable_desktop_capturer=false 会覆盖调定义时的值也可使直接使用:gn --args="enable_doom_melon=true enab
阅读全文
摘要:Getting Started with Headless Chrome By Eric Bidelman Engineer @ Google working on web tooling: Headless Chrome, Puppeteer, Lighthouse TL;DR Headless
阅读全文

浙公网安备 33010602011771号