blob: 0c56580f9e437e85cf4375adcfe220c8e6cedc67 (
plain)
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
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview
* 'settings-a11y-page' is the settings page containing accessibility
* settings.
*
* Example:
*
* <iron-animated-pages>
* <settings-a11y-page prefs="{{prefs}}"></settings-a11y-page>
* ... other pages ...
* </iron-animated-pages>
*/
Polymer({
is: 'settings-a11y-page',
properties: {
/**
* Preferences state.
*/
prefs: {
type: Object,
notify: true,
},
<if expr="chromeos">
/**
* Whether to show experimental accessibility features.
* @private {boolean}
*/
showExperimentalFeatures_: {
type: Boolean,
value: function() {
return loadTimeData.getBoolean('showExperimentalA11yFeatures');
},
}
</if>
},
/** @private */
onMoreFeaturesTap_: function() {
window.open(
'https://chrome.google.com/webstore/category/collection/accessibility');
},
});
|