1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<style include="cr-shared-style settings-shared"></style>
<if expr="not is_macosx">
<settings-toggle-button
pref="{{prefs.background_mode.enabled}}"
label="$i18n{backgroundAppsLabel}">
</settings-toggle-button>
<div class="hr"></div>
</if>
<settings-toggle-button id="hardwareAcceleration"
pref="{{prefs.hardware_acceleration_mode.enabled}}"
label="$i18n{hardwareAccelerationLabel}">
<template is="dom-if" if="[[shouldShowRestart_(
prefs.hardware_acceleration_mode.enabled.value)]]">
<cr-button on-click="onRestartClick_" slot="more-actions">
$i18n{restart}
</cr-button>
</template>
</settings-toggle-button>
<!-- <if expr="_google_chrome and is_win"> -->
<template is="dom-if" if="[[showFeatureNotificationsSetting_]]">
<div class="hr"></div>
<settings-toggle-button id="featureNotificationsEnabled"
on-settings-boolean-control-change="onFeatureNotificationsChange_"
pref="{{prefs.feature_notifications_enabled}}"
label="$i18n{featureNotificationsLabel}">
</settings-toggle-button>
</template>
<!-- </if> -->
<div id="proxy" class="cr-row" on-click="onProxyClick_"
actionable$="[[isProxyDefault_]]">
<div class="flex cr-row-text" hidden$="[[!isProxyDefault_]]">
$i18n{proxySettingsLabel}
</div>
<div class="flex cr-row-text"
hidden$="[[!prefs.proxy.extensionId]]">
$i18n{proxySettingsExtensionLabel}
</div>
<div class="flex cr-row-text"
hidden$="[[!isProxyEnforcedByPolicy_]]">
$i18n{proxySettingsPolicyLabel}
</div>
<cr-icon-button class="icon-external"
hidden$="[[!isProxyDefault_]]"
aria-label="$i18n{proxySettingsLabel}"></cr-icon-button>
<template is="dom-if" if="[[isProxyEnforcedByPolicy_]]">
<cr-policy-pref-indicator pref="[[prefs.proxy]]"
icon-aria-label="$i18n{proxySettingsLabel}">
</cr-policy-pref-indicator>
</template>
</div>
<template is="dom-if" if="[[prefs.proxy.extensionId]]">
<div class="cr-row continuation">
<extension-controlled-indicator class="flex"
extension-id="[[prefs.proxy.extensionId]]"
extension-name="[[prefs.proxy.controlledByName]]"
extension-can-be-disabled="[[prefs.proxy.extensionCanBeDisabled]]"
on-extension-disable="onExtensionDisable_">
</extension-controlled-indicator>
</div>
</template>
<template is="dom-if" if="[[shouldShowRelaunchDialog]]" restamp>
<relaunch-confirmation-dialog restart-type="[[restartTypeEnum.RESTART]]"
on-close="onRelaunchDialogClose"></relaunch-confirmation-dialog>
</template>
|