How can I customize my chromium browser?

1,260 views
Skip to first unread message

Sangwon Seo

unread,
Aug 5, 2023, 9:14:17 AM8/5/23
to Chromium-discuss
Hi, I would like to customize chromium browser

I got to know how to build chromium project in Windows in last few days.

Here's the small goal I want to achieve:

- create small dock (like side panel) and put quick link icon (which brings user to certain website); it is exactly same feature with sidebar in Microsoft Edge. simiar with bookmark but unlikely to it, the icons inside is system fixed.

I'd like to know which code I should look through first, I spend alomst a week to find which code I have to make a change but it is vast amount of code for me.

Thanks :)

PhistucK

unread,
Aug 5, 2023, 11:04:01 AM8/5/23
to sapphir...@gmail.com, Chromium-discuss
It depends on the design you want to implement. If you want the vertical icons to start above the edge of the toolbar (like in Edge), you will have to implement that natively, with C++.
However, if the design would not need that, you can implement whatever you want using HTML/JavaScript/CSS. Extensions can already create a sidebar, I believe, so you can even implement it via an extension.

PhistucK


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Sangwon Seo

unread,
Aug 8, 2023, 5:44:34 PM8/8/23
to Chromium-discuss, PhistucK, Chromium-discuss, sapphir...@gmail.com
Thanks for the reply.

For the requirement of this project, it has to be done natively.
I started to jump into c++ code to customize so that I can create a vertical bar on the right side like Edge.
Can you give me the brief direction where should I look through in code level?
Or if you are willing to help me personally I will highly appreciate it.

PhistucK

unread,
Aug 9, 2023, 4:15:00 AM8/9/23
to Sangwon Seo, Chromium-discuss
I think it still depends on the design, above or below the toolbar?

PhistucK

Sangwon Seo

unread,
Aug 9, 2023, 1:36:17 PM8/9/23
to Chromium-discuss, PhistucK, Chromium-discuss, Sangwon Seo
Yes it's true, still the design issue. It's below the toolbar just like when side panel is opened (must be narrower than side panel).

I am looking through 'chrome/browser/ui/side_panel' folder to get the hint from it, but I don't know which code I can update or reuse it.

PhistucK

unread,
Aug 9, 2023, 5:20:22 PM8/9/23
to Sangwon Seo, Chromium-discuss
Do you need to show the vertical toolbar along with the side panel (simultaneously), in addition to the side panel(either a side panel or a vertical toolbar), or do you only need the vertical toolbar and can replace the side panel?

PhistucK

Sangwon Seo

unread,
Aug 9, 2023, 6:54:45 PM8/9/23
to Chromium-discuss, PhistucK, Chromium-discuss, Sangwon Seo
I need to add vertical toolbar in addition to the side panel (It's the second option you have mentioned above).
There could be a button somewhere can make hide/show those vertical bar but I am not considering it now (Maybe small button on the right side of the side panel).


PhistucK

unread,
Aug 15, 2023, 5:21:17 PM8/15/23
to Sangwon Seo, Chromium-discuss
I think you can follow this one, this seems to lay the side panel out -

PhistucK

Reply all
Reply to author
Forward
0 new messages