Adding a New Settings Page to chrome://settings in Chromium
The left-hand menu of the settings page is edited in
chrome/browser/resources/settings/settings_menu/settings_menu.html
If you want to add or remove a setting, that is where you change it.
To add one, put in a block like this:
<a id="new_setting" href="/new_setting"
hidden="[[!pageVisibility.new_setting]]">
<iron-icon icon="settings:assignment"></iron-icon>
$i18n{newSettingTitle}
</a>
Then create a directory chrome/browser/resources/settings/new_setting
and put the settings page inside it.
Create new_setting_page.html and new_setting_page.js — that is the content.
Create new_setting_section.htm and new_setting_section.js — that is the section.