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

Unified Diff: chrome/browser/resources/settings/a11y_page/a11y_page.js

Issue 2200463002: Reorganize accessibility settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: chrome/browser/resources/settings/a11y_page/a11y_page.js
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.js b/chrome/browser/resources/settings/a11y_page/a11y_page.js
index 0c56580f9e437e85cf4375adcfe220c8e6cedc67..fd890b0f6fc0715eadae686d6809e1e17b109f06 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js
@@ -4,45 +4,33 @@
/**
* @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>
+ * 'settings-a11y-page' is the small section of advanced settings with
+ * a couple of simple settings or links on most platforms, and a link to
+ * a subpage with lots of other settings on Chrome OS.
*/
Polymer({
is: 'settings-a11y-page',
properties: {
/**
- * Preferences state.
+ * The current active route.
*/
- prefs: {
+ currentRoute: {
type: Object,
notify: true,
},
-<if expr="chromeos">
/**
- * Whether to show experimental accessibility features.
- * @private {boolean}
+ * Preferences state.
*/
- showExperimentalFeatures_: {
- type: Boolean,
- value: function() {
- return loadTimeData.getBoolean('showExperimentalA11yFeatures');
- },
- }
-</if>
+ prefs: {
+ type: Object,
+ notify: true,
+ },
},
/** @private */
- onMoreFeaturesTap_: function() {
- window.open(
- 'https://chrome.google.com/webstore/category/collection/accessibility');
+ onManageAccessibilityFeaturesTap_: function() {
+ this.$.pages.setSubpageChain(['manage-a11y']);
},
});

Powered by Google App Engine
This is Rietveld 408576698