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 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 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 */
(...skipping 11 matching lines...) Expand all
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 }, 30 },
31 31
32 <if expr="chromeos"> 32 // <if expr="chromeos">
33 /** @private */ 33 /** @private */
34 onManageAccessibilityFeaturesTap_: function() { 34 onManageAccessibilityFeaturesTap_: function() {
35 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY); 35 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY);
36 }, 36 },
37 </if> 37 // </if>
38 38
39 /** @private */ 39 /** @private */
40 onMoreFeaturesTap_: function() { 40 onMoreFeaturesTap_: function() {
41 window.open( 41 window.open(
42 'https://chrome.google.com/webstore/category/collection/accessibility'); 42 'https://chrome.google.com/webstore/category/collection/accessibility');
43 }, 43 },
44 }); 44 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview.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