chromium/chrome/browser/resources/settings/ai_page/ai_page.html

<style include="cr-shared-style settings-shared">
  .list-frame {
    padding-inline-end: 0;
  }

  .list-frame settings-toggle-button,
  .list-frame cr-link-row {
    padding-inline-start: 0;
  }
</style>

<settings-toggle-button
    pref="{{prefs.optimization_guide.model_execution_main_toggle_setting_state}}"
    hidden="[[!shouldShowMainToggle_(showComposeControl_,
        showTabOrganizationControl_, showWallpaperSearchControl_)]]"
    numeric-unchecked-values="[[numericUncheckedValues_]]"
    numeric-checked-value="[[featureOptInStateEnum_.ENABLED]]"
    label="$i18n{aiPageMainLabel}"
    sub-label="$i18n{aiPageMainSublabel}">
</settings-toggle-button>

<cr-collapse opened="[[isExpanded_(
    prefs.optimization_guide.model_execution_main_toggle_setting_state.value)]]">
  <div class="list-frame">
    <settings-toggle-button
        hidden="[[!showComposeControl_]]"
        pref="{{prefs.optimization_guide.compose_setting_state}}"
        numeric-unchecked-values="[[numericUncheckedValues_]]"
        numeric-checked-value="[[featureOptInStateEnum_.ENABLED]]"
        label="$i18n{aiComposeLabel}"
        sub-label="$i18n{aiComposeSublabel}">
    </settings-toggle-button>
    <settings-toggle-button
        class$="[[getTabOrganizationHrCssClass_(showComposeControl_)]]"
        hidden="[[!showTabOrganizationControl_]]"
        pref="{{prefs.optimization_guide.tab_organization_setting_state}}"
        numeric-unchecked-values="[[numericUncheckedValues_]]"
        numeric-checked-value="[[featureOptInStateEnum_.ENABLED]]"
        label="$i18n{experimentalAdvancedFeature2Label}"
        sub-label="$i18n{experimentalAdvancedFeature2Sublabel}">
    </settings-toggle-button>
    <settings-toggle-button
        class$="[[getWallpaperSearchHrCssClass_(
            showComposeControl_, showTabOrganizationControl_)]]"
        hidden="[[!showWallpaperSearchControl_]]"
        pref="{{prefs.optimization_guide.wallpaper_search_setting_state}}"
        numeric-unchecked-values="[[numericUncheckedValues_]]"
        numeric-checked-value="[[featureOptInStateEnum_.ENABLED]]"
        label="$i18n{experimentalAdvancedFeature3Label}"
        sub-label="$i18n{experimentalAdvancedFeature3Sublabel}">
    </settings-toggle-button>
  </div>
</cr-collapse>
<cr-link-row id="historySearchRow"
    class="hr"
    hidden="[[!showHistorySearchControl_]]"
    label="$i18n{historySearchSettingLabel}"
    sub-label="$i18n{historySearchSettingSublabel}"
    role-description="$i18n{subpageArrowRoleDescription}"
    on-click="onHistorySearchRowClick_">
</cr-link-row>