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

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

Issue 2178213002: Add note page to settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylus-add-switch
Patch Set: Address comments and add utility method Created 4 years, 4 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 cr.define('settings', function() { 5 cr.define('settings', function() {
6 /** 6 /**
7 * Class for navigable routes. May only be instantiated within this file. 7 * Class for navigable routes. May only be instantiated within this file.
8 * @constructor 8 * @constructor
9 * @param {string} url 9 * @param {string} url
10 * @private 10 * @private
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 'quick-unlock-choose-method'); 135 'quick-unlock-choose-method');
136 r.QUICK_UNLOCK_SETUP_PIN = 136 r.QUICK_UNLOCK_SETUP_PIN =
137 r.QUICK_UNLOCK_CHOOSE_METHOD.createChild('/quickUnlock/setupPin', 137 r.QUICK_UNLOCK_CHOOSE_METHOD.createChild('/quickUnlock/setupPin',
138 'quick-unlock-setup-pin'); 138 'quick-unlock-setup-pin');
139 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users'); 139 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users');
140 140
141 r.DEVICE = r.BASIC.createSection('/device', 'device'); 141 r.DEVICE = r.BASIC.createSection('/device', 'device');
142 r.POINTERS = r.DEVICE.createChild('/pointer-overlay', 'pointers'); 142 r.POINTERS = r.DEVICE.createChild('/pointer-overlay', 'pointers');
143 r.KEYBARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard'); 143 r.KEYBARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard');
144 r.DISPLAY = r.DEVICE.createChild('/display', 'display'); 144 r.DISPLAY = r.DEVICE.createChild('/display', 'display');
145 r.NOTES = r.DEVICE.createChild('/note', 'note');
145 </if> 146 </if>
146 147
147 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); 148 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
148 r.CERTIFICATES = 149 r.CERTIFICATES =
149 r.PRIVACY.createChild('/certificates', 'manage-certificates'); 150 r.PRIVACY.createChild('/certificates', 'manage-certificates');
150 r.CLEAR_BROWSER_DATA = 151 r.CLEAR_BROWSER_DATA =
151 r.PRIVACY.createDialog('/clearBrowserData', 'clear-browsing-data'); 152 r.PRIVACY.createDialog('/clearBrowserData', 'clear-browsing-data');
152 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings', 'site-settings'); 153 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings', 'site-settings');
153 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all', 'all-sites'); 154 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all', 'all-sites');
154 r.SITE_SETTINGS_ALL_DETAILS = 155 r.SITE_SETTINGS_ALL_DETAILS =
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods'); 260 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods');
260 r.DETAILED_BUILD_INFO = 261 r.DETAILED_BUILD_INFO =
261 r.ABOUT.createChild('/help/details', 'detailed-build-info'); 262 r.ABOUT.createChild('/help/details', 'detailed-build-info');
262 r.DETAILED_BUILD_INFO.section = 'about'; 263 r.DETAILED_BUILD_INFO.section = 'about';
263 </if> 264 </if>
264 265
265 return { 266 return {
266 Route: Route, 267 Route: Route,
267 }; 268 };
268 }); 269 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698