Index: chrome/browser/resources/settings/controls/controlled_button.html |
diff --git a/chrome/browser/resources/settings/controls/controlled_button.html b/chrome/browser/resources/settings/controls/controlled_button.html |
index 9868ce04efb72caf2cab394fa1bdc87ecdad5c92..650e3a42a14f29afc6f0bf494de36a2b9b31ad4d 100644 |
--- a/chrome/browser/resources/settings/controls/controlled_button.html |
+++ b/chrome/browser/resources/settings/controls/controlled_button.html |
@@ -1,9 +1,11 @@ |
<link rel="import" href="chrome://resources/html/assert.html"> |
<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/cr_elements/policy/cr_policy_indicator_behavior.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="/i18n_setup.html"> |
<link rel="import" href="/settings_shared_css.html"> |
<dom-module id="controlled-button"> |
@@ -32,7 +34,7 @@ |
<content></content> |
</paper-button> |
- <template is="dom-if" if="[[controlled_]]"> |
+ <template is="dom-if" if="[[showIndicator_(pref)]]" restamp> |
<cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_"> |
</cr-policy-pref-indicator> |
</template> |