search-prompt="$i18n{search}" clear-label="$i18n{clearSearch}" autofocus
menu-label="$i18n{mainMenu}" narrow="{{narrow}}" narrow-threshold="1000"
show-menu="[[narrow]]">
+ <!-- SAMSUNG_NEXT_BROWSER -->
+ <!-- Remove "Developer mode" from Extension page.
<div class="more-actions">
<span id="devModeLabel">$i18n{toolbarDevMode}</span>
<cr-tooltip-icon hidden="[[!shouldDisableDevMode_(
checked="[[inDevMode]]" aria-labelledby="devModeLabel">
</cr-toggle>
</div>
+ -->
+ <!-- SAMSUNG_NEXT_BROWSER -->
</cr-toolbar>
<template is="dom-if" if="[[showPackDialog_]]" restamp>
<extensions-pack-dialog delegate="[[delegate]]"
</settings-people-page>
</settings-section>
</template>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<template is="dom-if" if="[[showPage_(pageVisibility.autofill)]]"
restamp>
<settings-section page-title="$i18n{autofillPageTitle}"
- section="autofill">
+ section="autofill" hidden="true">
<settings-autofill-page prefs="{{prefs}}"></settings-autofill-page>
</settings-section>
</template>
<if expr="not is_chromeos">
<template is="dom-if" if="[[showPage_(pageVisibility.defaultBrowser)]]"
restamp>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{defaultBrowser}"
- section="defaultBrowser">
+ section="defaultBrowser" hidden="true">
<settings-default-browser-page></settings-default-browser-page>
</settings-section>
</template>
language-helper="{{languageHelper}}">
</settings-languages>
</if>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section
<if expr="not chromeos_ash">
page-title="$i18n{languagesCardTitle}"
<if expr="chromeos_ash">
page-title="$i18n{languagesPageTitle}"
</if>
- section="languages">
+ section="languages" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<if expr="chromeos_ash">
<cr-link-row id="openChromeOSLanguagesSettings"
on-click="onOpenChromeOsLanguagesSettingsClick_"
<if expr="not chromeos_ash">
<template is="dom-if" if="[[showPage_(pageVisibility.spellCheck)]]"
restamp>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{spellCheckTitle}"
section="spellCheck" nest-under-section="languages"
- id="spellCheckSettingsSection">
+ id="spellCheckSettingsSection" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<settings-spell-check-page prefs="{{prefs}}"
languages="{{languages}}"
language-helper="{{languageHelper}}">
</settings-spell-check-page>
</settings-section>
</template>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{translatePageTitle}"
- section="translate" nest-under-section="languages">
+ section="translate" nest-under-section="languages" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<settings-translate-page prefs="{{prefs}}"
languages="{{languages}}"
language-helper="{{languageHelper}}">
</if>
<template is="dom-if" if="[[showPage_(pageVisibility.downloads)]]"
restamp>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{downloadsPageTitle}"
- section="downloads">
+ section="downloads" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<settings-downloads-page prefs="{{prefs}}">
</settings-downloads-page>
</settings-section>
</template>
<template is="dom-if" if="[[showPage_(pageVisibility.a11y)]]"
restamp>
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{a11yPageTitle}"
- section="a11y">
+ section="a11y" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<settings-a11y-page prefs="{{prefs}}"
languages="{{languages}}"
language-helper="{{languageHelper}}">
</settings-section>
</template>
<if expr="not chromeos_ash">
+ <!-- SAMSUNG_NEXT_BROWSER -->
<settings-section page-title="$i18n{systemPageTitle}"
- section="system">
+ section="system" hidden="true"> <!-- added hidden="true" for not displaying at search lists -->
<settings-system-page prefs="{{prefs}}"></settings-system-page>
</settings-section>
</if>
r.FONTS = r.APPEARANCE.createChild('/fonts');
}
+ /* Removed unused setting page items of the browser from the search lists
if (visibility.autofill !== false) {
r.AUTOFILL = r.BASIC.createSection(
'/autofill', 'autofill', loadTimeData.getString('autofillPageTitle'));
// <if expr="is_win or is_macosx">
r.PASSKEYS = r.AUTOFILL.createChild('/passkeys');
// </if>
- }
+ }*/
if (visibility.privacy !== false) {
r.PRIVACY = r.BASIC.createSection(
}
// <if expr="not is_chromeos">
+ /* Removed unused setting page items of the browser from the search lists
if (visibility.defaultBrowser !== false) {
r.DEFAULT_BROWSER = r.BASIC.createSection(
'/defaultBrowser', 'defaultBrowser',
loadTimeData.getString('defaultBrowser'));
- }
+ }*/
// </if>
r.SEARCH_ENGINES = r.SEARCH.createChild('/searchEngines');
if (visibility.advancedSettings !== false) {
r.ADVANCED = new Route('/advanced');
+ /* Removed unused setting page items of the browser from the search lists
r.LANGUAGES = r.ADVANCED.createSection(
'/languages', 'languages',
loadTimeData.getString('languagesPageTitle'));
r.SYSTEM = r.ADVANCED.createSection(
'/system', 'system', loadTimeData.getString('systemPageTitle'));
// </if>
+ */
if (visibility.reset !== false) {
r.RESET = r.ADVANCED.createSection(