Search code examples
windowsgoogle-chromebrowserchromium

How to change Chromium browser logo and name?


I've built the Chromium browser on my Windows from its source code (Github) by following this documentation. After doing this successfully, I've a chrome.exe file which is able to launch the browser (see screenshot).

My Chromium interface

The next thing I want to implement is to change the logo and name of Chromium (say, MyBrowser) everywhere on the browser. I'm stuck at this step. Is there any way to achieve this by modifying the code or replacing the icon?


Solution

  • You will have to make lots of changes. Before replacing these files, please make sure the files that you are replacing with matches the resolution and format too.

    If you want to change the logo of Chromium then replace these files with yours

    src/chrome/app/theme/chromium/product_logo_22_mono.png
    src/chrome/app/theme/chromium/product_logo_24.png
    src/chrome/app/theme/chromium/product_logo_48.png
    src/chrome/app/theme/chromium/product_logo_64.png
    src/chrome/app/theme/chromium/product_logo_128.png
    src/chrome/app/theme/chromium/product_logo_256.png
    src/chrome/app/theme/default_100_percent/chromium/product_logo_16.png
    src/chrome/app/theme/default_100_percent/chromium/product_logo_32.png
    src/chrome/app/theme/default_100_percent/chromium/product_logo_name_22.png
    src/chrome/app/theme/default_200_percent/chromium/product_logo_16.png
    src/chrome/app/theme/default_200_percent/chromium/product_logo_32.png
    src/chrome/app/theme/default_200_percent/chromium/product_logo_name_22.png
    src/chrome/app/theme/default_200_percent/chromium/product_logo_name_48.png
    src/chrome/app/theme/chromium/win/tiles/Logo.png
    src/chrome/app/theme/chromium/win/tiles/SmallLogo.png
    

    Then replace this icon file: For Windows:

    src/chrome/app/theme/chromium/win/chromium.ico
    

    For macOS:

    src/chrome/app/theme/chromium/mac/app.icns
    

    To change the name of the browser and messages displayed in Chromium, open and modify these files

    src/chrome/app/theme/chromium/BRANDING
    src/chrome/app/generated_resources.grd
    src/chrome/app/chromium_strings.grd
    

    You should replace Chromium or Chrome references from the above files with your brand