Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js

Issue 2720413002: MD Settings: add an aria-label to control indicators (often policy) (Closed)
Patch Set: merge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
index 99d5b082bfc9361578d1fadeae1497f88e8da27f..547757cad0eb197b82e4d648d036052c9d38799b 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
@@ -12,12 +12,7 @@ Polymer({
behaviors: [CrPolicyIndicatorBehavior],
properties: {
- /**
- * Optional preference object associated with the indicator. Initialized to
- * null so that computed functions will get called if this is never set.
- * @type {!chrome.settingsPrivate.PrefObject|undefined}
- */
- pref: Object,
+ iconAriaLabel: String,
/**
* Which indicator type to show (or NONE).
@@ -35,6 +30,13 @@ Polymer({
type: String,
computed: 'getIndicatorTooltipForPref_(indicatorType, pref.*)',
},
+
+ /**
+ * Optional preference object associated with the indicator. Initialized to
+ * null so that computed functions will get called if this is never set.
+ * @type {!chrome.settingsPrivate.PrefObject|undefined}
+ */
+ pref: Object,
},
/**
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698