Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6682301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:41:24+00:00 2026-05-26T04:41:24+00:00

I just checked out chromium’s source, but I desperately need to learn how to

  • 0

I just checked out chromium’s source, but I desperately need to learn how to navigate around this monster.

How would I search for parts of the code that implement behavior/features I’m interested in?

Let’s say I want to see what happens after a URL is entered into the address bar. How do I find that piece of code?

Or, that I want to see what happens when, while parsing HTML, a certain tag is reached.

I have before me a huge amount of source code, and no skill of navigating around it. How do I learn that skill?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:41:25+00:00Added an answer on May 26, 2026 at 4:41 am

    My recommendation for sort of diving in is to take a look at the source for http://code.google.com/p/chromiumembedded/.

    It’s sort of the condensed version of Chrome and if you look at the files it specifically uses, either ones included in its source tree, or files included therein from the Chromium repo at large. The Chromium code base is a huge amount of stuff, most of which isn’t actually in the browser. There’s a ton of pulled in code from third party repos which are then boiled down in the build process or Chromium’s implementation is located somewhere else in the tree, there’s a lot of side projects that (while interesting and an awesome resource for a wide breadth of stuff) will prevent you from achieving your goal of specifically honing in on the browser implementation and how that fits together.

    CEF is great because you can see someone who’s already done the process of pulling all that stuff together to build a project very specifically scoped at the browser view and nothing else. You can see which parts are primarily derived from webkit easily, you can see where the crossover comes in with Google’s implementations, and you can see pretty easily how V8 gets tossed into the mix.

    I do say “easily” in relative terms because we’re still talking a huge amount of code overall. CEF will put you smack in the center of the requirements, but that stuff is still pulling in the massive amount of various things from the rest of the tree. Compiling it takes me about an hour on a really good computer with 12 gigs of ram and 8 cores, and the generated files take up like 6-10 gigs depending.

    At the very least, there’s not going to be any sort of quick jump into the shallow end to pick something here or there piecemeal. Browsers are incredibly complex pieces of engineering necessarily, because they have to subsume such a huge amount of individual pieces of functionality and then combine them into a shared context. You may find the one thing you’re looking for, but you’ll find that it’s part of a class library that likely is composed of dozens or hundreds of files, which in turn relies on a hundred more of these libraries to handle each task, so to really take something away you’ll have to commit time to taking in a lot more than any given piece of information.

    Edit: oh also as your specific example.

    src is root http://src.chromium.org/viewvc/chrome/trunk/src

    /chrome http://src.chromium.org/viewvc/chrome/trunk/src/chrome

    The “chrome” tree largely contains the direct implementations (a lot of stuff isn’t in there though, most of it even, but that’s the starting point). This has overlap with chromeos (chromeos is kind of chromium browser taken to a crazy extreme)

    /chrome/browser http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/

    Is getting you to close to where you want to be. You start to see specific references to things that you can match to the browser, like the tabs and whatnot (ignoring the giant elephant of the actual browser implementation itself which is what takes up the majority of the mindspace in all this stuff)

    /chrome/browser/ui http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/ui/

    Brings you to where most of the ui code is for the browser. It can be confusing when there’s crossover or when stuff migrates, like there’s a “ui” in the root src directory which has some crossover.

    And finally http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/ui/omnibox/

    Which has a surprisingly small amount of code in it. But this is what you find a lot. The code here is an implementation of a number of classes that are built up elsewhere. For non-webview gui component you’ll find them mostly pointing back to the root “ui” and the native widgets stuff there, which is where the bulk of the actual event handling code is if I remember correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just read about Guava and checked out its source code but don't
I checked out a post similar to this but the linkage was different the
I need help in understanding git rebase for this situation. I checked out a
I just checked out a revision from Subversion to a new folder. Opened the
I'd sooner not just permanently have a bunch of files checked out to me,
I have this piece of Javascript and it just won't work. I allready checked
I just checked my Chromium task manager and noticed that my Goats Teleported count
I've just checked out a solution from Subversion and ReSharper is telling me it
On my production server, I just have master always checked out. I do git
I checked out MVC months ago and didn't really get it.. but recently as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.