Patch to disable user profile avatar button in open source Chromium builds
Switch branches/tags
Nothing to show
Clone or download
Latest commit fbb2aa4 Mar 18, 2016
Failed to load latest commit information.
0001-Remove-profile-management-button-from-title-bar.patch Fixed patch to allow incognito icon to show up as normal Mar 18, 2016 Update Mar 18, 2016

Patch to disable user profile avatar button in open source Chromium builds


In Chrome 38 google introduced profile switching directly from the Title bar. Many users found it annoying and it was easy to disable through chrome://flags. In Chrome 44 you now had to use a command line switch to remove it. As of Chrome 47 it became default with no way to remove this eye sore. Those of us who only have one user profile found this quite bothersome. It bothered me so much I decided to write a patch and build my own version of Chromium.

The issue is well documented:

The issue was marked as WillNotFix by the Chrome team I decided to take matters into my own hands.


The method bool BrowserView::ShouldShowAvatar() presented an easy opportunity to supress the button. The method is used to tell the UI when it should not draw the button. I simply made it say never.


  • Tested on version 50.0.2660.0
  • Commit ae70d4a tested on version 51.0.2681.0


  • Setup your build environment by following the instructions at
  • Clone this repo
  • Copy 0001-Remove-profile-management-button-from-title-bar.patch to your-build-folder/src/
  • Apply patch with git am < 0001-Remove-profile-management-button-from-title-bar.patch
  • Compile your build
  • Enjoy the clean UI