| Index: chrome/browser/resources/settings/search_page/search_page.html
|
| diff --git a/chrome/browser/resources/settings/search_page/search_page.html b/chrome/browser/resources/settings/search_page/search_page.html
|
| index 0320f0f3e31c165f2bf19fcebfbbe40e22acd3aa..bfba93ab2b6fb32764894ea4100b2ed83d4f47c0 100644
|
| --- a/chrome/browser/resources/settings/search_page/search_page.html
|
| +++ b/chrome/browser/resources/settings/search_page/search_page.html
|
| @@ -5,7 +5,7 @@
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
|
| <link rel="import" href="/controls/extension_controlled_indicator.html">
|
| -<link rel="import" href="/controls/settings_checkbox.html">
|
| +<link rel="import" href="/controls/settings_toggle_button.html">
|
| <link rel="import" href="/icons.html">
|
| <link rel="import" href="/i18n_setup.html">
|
| <link rel="import" href="/route.html">
|
| @@ -67,27 +67,27 @@
|
| <template is="dom-if" if="[[googleNowAvailable_]]">
|
| <!-- Google Now cards in the launcher -->
|
| <div class="settings-box continuation">
|
| - <settings-checkbox id="googleNowEnable"
|
| - label="$i18n{searchEnableGoogleNowLabel}"
|
| - pref="{{prefs.google_now_launcher.enabled}}">
|
| - </settings-checkbox>
|
| + <settings-toggle-button id="googleNowEnable"
|
| + pref="{{prefs.google_now_launcher.enabled}}"
|
| + label="$i18n{searchEnableGoogleNowLabel}">
|
| + </settings-toggle-button>
|
| </div>
|
| </template>
|
|
|
| <template is="dom-if" if="[[hotwordInfo_.allowed]]">
|
| <!-- Hotword (OK Google) -->
|
| <div class="settings-box two-line continuation">
|
| - <settings-checkbox id="hotwordSearchEnable" class="start"
|
| + <settings-toggle-button id="hotwordSearchEnable" class="start"
|
| + pref="{{hotwordSearchEnablePref_}}"
|
| label="$i18n{searchOkGoogleLabel}"
|
| sub-label="[[getHotwordSearchEnableSubLabel_(
|
| hotwordInfo_.alwaysOn)]]"
|
| - pref="{{hotwordSearchEnablePref_}}"
|
| on-change="onHotwordSearchEnableChange_">
|
| <a href="$i18nRaw{hotwordLearnMoreUrl}" target="_blank"
|
| on-tap="doNothing_">
|
| $i18n{searchOkGoogleLearnMore}
|
| </a>
|
| - </settings-checkbox>
|
| + </settings-toggle-button>
|
| <div class="secondary-action"
|
| hidden$="[[!getShowHotwordSearchRetrain_(hotwordInfo_.*)]]">
|
| <paper-button on-tap="onRetrainTap_" class="secondary-button">
|
|
|