Skip to content

Thorium Debug Shell - For Devs and Tinkerers.

Compare
Choose a tag to compare
@Alex313031 Alex313031 released this 10 May 09:04
· 69 commits to main since this release
b2da9d9

Summary

This is a special program, built on top of content_shell and incorporating a multitude of options for testing, viewing, and debugging UI resources in Thorium.
Run the views_examples_with_content.exe, and you can select from the menu. Some things are interactive, some load internal resources, and some require loading external resources like viewing .icon files. In that case, you can load a file using its full path in the box towards the bottom.

Use in Thorium

I built this to view and test native Chromium UI icons in the .icon format.
These files are in:
//chromium/src/ui/views/vector_icons ## For many subcomponents like native UI views.
//chromium/src/ui/views/window/vector_icons ## For icons relating to the top bar.
//chromium/src/components/vector_icons ## For components that affect many build targets.
//chromium/src/chrome/app/vector_icons ## For icons only used in the browser.
//chromium/src/ash/resources/vector_icons ## For icons used in Chromium on ChromiumOS.
//chromium/src/chromeos/ui/vector_icons ## For icons specific to ChromiumOS.
//chromium/src/chromecast/ui/vector_icons ## For icons specific to ChromeCast.

Building

To build, use: autoninja -C out/thorium chrome chromedriver content_shell setup mini_installer views_examples_with_content or just
autoninja -C out/thorium views_examples_with_content to exclude building the rest of Thorium.

More info can be found at > https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/components/vector_icons/README.md

@gz83 @midzer @dabugen