如何开始编辑 Chromium 的源代码?

发布于 2025-01-07 20:10:21 字数 499 浏览 0 评论 0原文

我是一个有点新手的程序员(我的意思是我精通多种编程语言,但从未参加过正式课程),并且希望出于自己的目的对 Chromium Web 浏览器进行大量修改。我需要对 UI 进行重大更改,并对 V8 嵌入式 javascript 引擎进行一些重大更改,我想知道可以从哪里开始。我想我真正需要知道的是:

  1. 我是否应该遵守某些编程约定才能更好地理解 Chromium 的工作原理?
  2. 是否有关于源文件系统如何工作的指南/教程?
  3. 有没有关于如何专门编辑/解释 Chromium 源代码的指南/教程?
  4. 我应该尝试修改 Chromium,还是应该尝试使用 WebKit 和 V8 构建自己的 Web 浏览器?
  5. 我也在考虑使用基于 FireFox 的浏览器。这样会比较容易上手吗?由于我计划在工作中学习,因此我希望能够理解

任何帮助,以及来自您自己的个人经历的任何智慧宝石,我们将不胜感激。

PS:我正在运行 Ubuntu 11.10,如果这有什么区别的话。

I am a somewhat novice programmer (by which I mean I am proficient in many programming languages, but have never taken formal classes) and would like to heavily mod the Chromium web browser for my own purposes. I would need to change the UI significantly, as well as make somewhat major changes to the V8 embedded javascript engine, and I would like to know where I can start. I guess what I really need to know is:

  1. Are there certain programming conventions I should observe to better understand how Chromium works?
  2. Are there any guides/tutorials on how the file system used for the source works?
  3. Are there any guides/tutorials on how to edit/interpret the Chromium source code specifically?
  4. Should I try to mod Chromium, or should I try to build my own web browser using WebKit and V8?
  5. I am also considering basing by browser on FireFox. Would that be easier to get started with? Since I plan on learning as I work, I would like to be able to understand the

Any help would be greatly appreciated, as well as any gems of wisdom from your own, personal experiences.

P.S.: I'm running Ubuntu 11.10, if that makes a difference at all.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

失而复得 2025-01-14 20:10:21

Chromium.org 网站有一些资源:

(听起来是 RTFM-y,我知道,抱歉)

也就是说,您可能最好调整现有的浏览器代码库,而不是“从头开始”创建一个浏览器代码库 - 我认为这是一项至少令人畏惧的任务。

The Chromium.org site has some resources :

(Sounds RTFM-y, I know, sorry)

That said, you're probably better of tweaking an existing browser codebase rather than creating one "from scratch" - a task which I would assume to be daunting at least.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文