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

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

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

Powered by Google App Engine
This is Rietveld 408576698