| Index: chrome/browser/resources/settings/controls/controlled_radio_button.html
|
| diff --git a/chrome/browser/resources/settings/controls/controlled_button.html b/chrome/browser/resources/settings/controls/controlled_radio_button.html
|
| similarity index 72%
|
| copy from chrome/browser/resources/settings/controls/controlled_button.html
|
| copy to chrome/browser/resources/settings/controls/controlled_radio_button.html
|
| index 5c028340f6a2a0deaa4e45a16cf9f107622548cd..09073ceef4515780a8458a19e91ca5e94e829230 100644
|
| --- a/chrome/browser/resources/settings/controls/controlled_button.html
|
| +++ b/chrome/browser/resources/settings/controls/controlled_radio_button.html
|
| @@ -1,11 +1,12 @@
|
| <link rel="import" href="chrome://resources/html/polymer.html">
|
| -<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/paper-radio-button.html">
|
| <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_behavior.html">
|
| <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html">
|
| <link rel="import" href="/controls/pref_control_behavior.html">
|
| +<link rel="import" href="/prefs/pref_util.html">
|
| <link rel="import" href="/settings_shared_css.html">
|
|
|
| -<dom-module id="controlled-button">
|
| +<dom-module id="controlled-radio-button">
|
| <template>
|
| <style include="settings-shared">
|
| :host {
|
| @@ -27,15 +28,16 @@
|
| }
|
| </style>
|
|
|
| - <paper-button disabled="[[controlled_]]">
|
| + <paper-radio-button name="{{name}}" disabled="[[controlled_]]"
|
| + checked="{{checked}}">
|
| <content></content>
|
| - </paper-button>
|
| + </paper-radio-button>
|
|
|
| - <template is="dom-if" if="[[controlled_]]">
|
| + <template is="dom-if" if="[[showIndicator_(controlled_, name, pref)]]">
|
| <cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_">
|
| </cr-policy-pref-indicator>
|
| </template>
|
|
|
| </template>
|
| - <script src="/controls/controlled_button.js"></script>
|
| + <script src="/controls/controlled_radio_button.js"></script>
|
| </dom-module>
|
|
|