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

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

Issue 2682293002: Add desktop UI for the subresource filter content setting. (Closed)
Patch Set: . Created 3 years, 9 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} path 9 * @param {string} path
10 * @private 10 * @private
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); 171 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash');
172 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); 172 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups');
173 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = 173 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS =
174 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); 174 r.SITE_SETTINGS.createChild('unsandboxedPlugins');
175 r.SITE_SETTINGS_MIDI_DEVICES = r.SITE_SETTINGS.createChild('midiDevices'); 175 r.SITE_SETTINGS_MIDI_DEVICES = r.SITE_SETTINGS.createChild('midiDevices');
176 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); 176 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices');
177 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); 177 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels');
178 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments'); 178 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments');
179 r.SITE_SETTINGS_PROTECTED_CONTENT = 179 r.SITE_SETTINGS_PROTECTED_CONTENT =
180 r.SITE_SETTINGS.createChild('protectedContent'); 180 r.SITE_SETTINGS.createChild('protectedContent');
181 r.SITE_SETTINGS_SUBRESOURCE_FILTER =
182 r.SITE_SETTINGS.createChild('subresourceFilter');
181 183
182 // <if expr="chromeos"> 184 // <if expr="chromeos">
183 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); 185 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime');
184 // </if> 186 // </if>
185 187
186 r.PASSWORDS = 188 r.PASSWORDS =
187 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms'); 189 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms');
188 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); 190 r.AUTOFILL = r.PASSWORDS.createChild('/autofill');
189 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords'); 191 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords');
190 192
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 getRouteForPath: getRouteForPath, 402 getRouteForPath: getRouteForPath,
401 initializeRouteFromUrl: initializeRouteFromUrl, 403 initializeRouteFromUrl: initializeRouteFromUrl,
402 resetRouteForTesting: resetRouteForTesting, 404 resetRouteForTesting: resetRouteForTesting,
403 getCurrentRoute: getCurrentRoute, 405 getCurrentRoute: getCurrentRoute,
404 getQueryParameters: getQueryParameters, 406 getQueryParameters: getQueryParameters,
405 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 407 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
406 navigateTo: navigateTo, 408 navigateTo: navigateTo,
407 navigateToPreviousRoute: navigateToPreviousRoute, 409 navigateToPreviousRoute: navigateToPreviousRoute,
408 }; 410 };
409 }); 411 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698