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

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

Issue 2484423004: [MD settings] settings for pdf documents (Closed)
Patch Set: made method private Created 4 years, 1 month 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 r.SITE_SETTINGS_KEYGEN = r.SITE_SETTINGS.createChild('keygen'); 158 r.SITE_SETTINGS_KEYGEN = r.SITE_SETTINGS.createChild('keygen');
159 r.SITE_SETTINGS_LOCATION = r.SITE_SETTINGS.createChild('location'); 159 r.SITE_SETTINGS_LOCATION = r.SITE_SETTINGS.createChild('location');
160 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone'); 160 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone');
161 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications'); 161 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications');
162 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); 162 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash');
163 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); 163 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups');
164 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = 164 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS =
165 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); 165 r.SITE_SETTINGS.createChild('unsandboxedPlugins');
166 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); 166 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices');
167 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); 167 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels');
168 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments');
168 169
169 <if expr="chromeos"> 170 <if expr="chromeos">
170 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); 171 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime');
171 r.BLUETOOTH = r.ADVANCED.createSection('/bluetooth', 'bluetooth'); 172 r.BLUETOOTH = r.ADVANCED.createSection('/bluetooth', 'bluetooth');
172 </if> 173 </if>
173 174
174 r.PASSWORDS = 175 r.PASSWORDS =
175 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms'); 176 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms');
176 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); 177 r.AUTOFILL = r.PASSWORDS.createChild('/autofill');
177 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords'); 178 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords');
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 RouteObserverBehavior: RouteObserverBehavior, 370 RouteObserverBehavior: RouteObserverBehavior,
370 getRouteForPath: getRouteForPath, 371 getRouteForPath: getRouteForPath,
371 initializeRouteFromUrl: initializeRouteFromUrl, 372 initializeRouteFromUrl: initializeRouteFromUrl,
372 getCurrentRoute: getCurrentRoute, 373 getCurrentRoute: getCurrentRoute,
373 getQueryParameters: getQueryParameters, 374 getQueryParameters: getQueryParameters,
374 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 375 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
375 navigateTo: navigateTo, 376 navigateTo: navigateTo,
376 navigateToPreviousRoute: navigateToPreviousRoute, 377 navigateToPreviousRoute: navigateToPreviousRoute,
377 }; 378 };
378 }); 379 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698