OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'settings-manage-a11y-page' is the subpage with the accessibility | 7 * 'settings-manage-a11y-page' is the subpage with the accessibility |
8 * settings. | 8 * settings. |
9 */ | 9 */ |
10 Polymer({ | 10 Polymer({ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 * Whether to show experimental accessibility features. | 45 * Whether to show experimental accessibility features. |
46 * @private {boolean} | 46 * @private {boolean} |
47 */ | 47 */ |
48 showExperimentalFeatures_: { | 48 showExperimentalFeatures_: { |
49 type: Boolean, | 49 type: Boolean, |
50 value: function() { | 50 value: function() { |
51 return loadTimeData.getBoolean('showExperimentalA11yFeatures'); | 51 return loadTimeData.getBoolean('showExperimentalA11yFeatures'); |
52 }, | 52 }, |
53 }, | 53 }, |
54 | 54 |
55 /** | |
56 * Whether adjustable large cursor is enabled or not. | |
57 * @private {boolean} | |
58 */ | |
59 enableAdjustableLargeCursor_: { | |
60 type: Boolean, | |
61 value: function() { | |
62 return loadTimeData.getBoolean('enableAdjustableLargeCursor'); | |
63 }, | |
64 }, | |
65 | |
66 /** @private */ | 55 /** @private */ |
67 isGuest_: { | 56 isGuest_: { |
68 type: Boolean, | 57 type: Boolean, |
69 value: function() { return loadTimeData.getBoolean('isGuest'); } | 58 value: function() { return loadTimeData.getBoolean('isGuest'); } |
70 }, | 59 }, |
71 }, | 60 }, |
72 | 61 |
73 /** @private */ | 62 /** @private */ |
74 onChromeVoxSettingsTap_: function() { | 63 onChromeVoxSettingsTap_: function() { |
75 chrome.send('showChromeVoxSettings'); | 64 chrome.send('showChromeVoxSettings'); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 settings.Route.POINTERS, | 101 settings.Route.POINTERS, |
113 /* dynamicParams */ null, /* removeSearch */ true); | 102 /* dynamicParams */ null, /* removeSearch */ true); |
114 }, | 103 }, |
115 | 104 |
116 /** @private */ | 105 /** @private */ |
117 onMoreFeaturesTap_: function() { | 106 onMoreFeaturesTap_: function() { |
118 window.open( | 107 window.open( |
119 'https://chrome.google.com/webstore/category/collection/accessibility'); | 108 'https://chrome.google.com/webstore/category/collection/accessibility'); |
120 }, | 109 }, |
121 }); | 110 }); |
OLD | NEW |