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

Side by Side Diff: chrome/browser/resources/settings/a11y_page/manage_a11y_page.js

Issue 2786453002: Add links to more options pages for Chrome OS accessibility features (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }, 63 },
64 }, 64 },
65 }, 65 },
66 66
67 /** @private */ 67 /** @private */
68 onChromeVoxSettingsTap_: function() { 68 onChromeVoxSettingsTap_: function() {
69 chrome.send('showChromeVoxSettings'); 69 chrome.send('showChromeVoxSettings');
70 }, 70 },
71 71
72 /** @private */ 72 /** @private */
73 onSelectToSpeakSettingsTap_: function() {
74 chrome.send('showSelectToSpeakSettings');
Dan Beam 2017/03/29 13:22:44 these should eventually be in a "browser proxy"
dmazzoni 2017/03/29 15:12:50 Can I do that now? Is there an example of another
Dan Beam 2017/03/29 23:35:04 almost all other pages create an @interface and im
75 },
76
77 /** @private */
78 onSwitchAccessSettingsTap_: function() {
79 chrome.send('showSwitchAccessSettings');
80 },
81
82 /** @private */
73 onDisplayTap_: function() { 83 onDisplayTap_: function() {
74 settings.navigateTo( 84 settings.navigateTo(
75 settings.Route.DISPLAY, 85 settings.Route.DISPLAY,
76 /* dynamicParams */ null, /* removeSearch */ true); 86 /* dynamicParams */ null, /* removeSearch */ true);
77 }, 87 },
78 88
79 /** @private */ 89 /** @private */
80 onAppearanceTap_: function() { 90 onAppearanceTap_: function() {
81 settings.navigateTo( 91 settings.navigateTo(
82 settings.Route.APPEARANCE, 92 settings.Route.APPEARANCE,
(...skipping 13 matching lines...) Expand all
96 settings.Route.POINTERS, 106 settings.Route.POINTERS,
97 /* dynamicParams */ null, /* removeSearch */ true); 107 /* dynamicParams */ null, /* removeSearch */ true);
98 }, 108 },
99 109
100 /** @private */ 110 /** @private */
101 onMoreFeaturesTap_: function() { 111 onMoreFeaturesTap_: function() {
102 window.open( 112 window.open(
103 'https://chrome.google.com/webstore/category/collection/accessibility'); 113 'https://chrome.google.com/webstore/category/collection/accessibility');
104 }, 114 },
105 }); 115 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698