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

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

Issue 2792563003: Settings: a11y: Just hide 'additional features' link (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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-a11y-page' is the small section of advanced settings with 7 * 'settings-a11y-page' is the small section of advanced settings with
8 * a link to the web store accessibility page on most platforms, and 8 * a link to the web store accessibility page on most platforms, and
9 * a subpage with lots of other settings on Chrome OS. 9 * a subpage with lots of other settings on Chrome OS.
10 */ 10 */
11 Polymer({ 11 Polymer({
12 is: 'settings-a11y-page', 12 is: 'settings-a11y-page',
13 13
14 properties: { 14 properties: {
15 /** 15 /**
16 * The current active route. 16 * The current active route.
17 */ 17 */
18 currentRoute: { 18 currentRoute: {
19 type: Object, 19 type: Object,
20 notify: true, 20 notify: true,
21 }, 21 },
22 22
23 /** 23 /**
24 * Preferences state. 24 * Preferences state.
25 */ 25 */
26 prefs: { 26 prefs: {
27 type: Object, 27 type: Object,
28 notify: true, 28 notify: true,
29 }, 29 },
30
31 /** @private */
32 isGuest_: {
33 type: Boolean,
34 value: function() { return loadTimeData.getBoolean('isGuest'); }
35 },
36 }, 30 },
37 31
38 // <if expr="chromeos"> 32 // <if expr="chromeos">
39 /** @private */ 33 /** @private */
40 onManageAccessibilityFeaturesTap_: function() { 34 onManageAccessibilityFeaturesTap_: function() {
41 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY); 35 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY);
42 }, 36 },
43 // </if> 37 // </if>
44 38
45 /** @private */ 39 /** @private */
46 onMoreFeaturesTap_: function() { 40 onMoreFeaturesTap_: function() {
47 window.open( 41 window.open(
48 'https://chrome.google.com/webstore/category/collection/accessibility'); 42 'https://chrome.google.com/webstore/category/collection/accessibility');
49 }, 43 },
50 }); 44 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698