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

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

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge Created 3 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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 }, 76 },
77 77
78 /** @private */ 78 /** @private */
79 onSwitchAccessSettingsTap_: function() { 79 onSwitchAccessSettingsTap_: function() {
80 chrome.send('showSwitchAccessSettings'); 80 chrome.send('showSwitchAccessSettings');
81 }, 81 },
82 82
83 /** @private */ 83 /** @private */
84 onDisplayTap_: function() { 84 onDisplayTap_: function() {
85 settings.navigateTo( 85 settings.navigateTo(
86 settings.Route.DISPLAY, 86 settings.routes.DISPLAY,
87 /* dynamicParams */ null, /* removeSearch */ true); 87 /* dynamicParams */ null, /* removeSearch */ true);
88 }, 88 },
89 89
90 /** @private */ 90 /** @private */
91 onAppearanceTap_: function() { 91 onAppearanceTap_: function() {
92 settings.navigateTo( 92 settings.navigateTo(
93 settings.Route.APPEARANCE, 93 settings.routes.APPEARANCE,
94 /* dynamicParams */ null, /* removeSearch */ true); 94 /* dynamicParams */ null, /* removeSearch */ true);
95 }, 95 },
96 96
97 /** @private */ 97 /** @private */
98 onKeyboardTap_: function() { 98 onKeyboardTap_: function() {
99 settings.navigateTo( 99 settings.navigateTo(
100 settings.Route.KEYBOARD, 100 settings.routes.KEYBOARD,
101 /* dynamicParams */ null, /* removeSearch */ true); 101 /* dynamicParams */ null, /* removeSearch */ true);
102 }, 102 },
103 103
104 /** @private */ 104 /** @private */
105 onMouseTap_: function() { 105 onMouseTap_: function() {
106 settings.navigateTo( 106 settings.navigateTo(
107 settings.Route.POINTERS, 107 settings.routes.POINTERS,
108 /* dynamicParams */ null, /* removeSearch */ true); 108 /* dynamicParams */ null, /* removeSearch */ true);
109 }, 109 },
110 }); 110 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/a11y_page.js ('k') | chrome/browser/resources/settings/about_page/about_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698