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

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

Issue 2720503006: MD Settings: Internet: Move network lists to a subpage (Closed)
Patch Set: Rebase 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // These are disfavored. If we add anymore, we should add explicit support. 95 // These are disfavored. If we add anymore, we should add explicit support.
96 r.IMPORT_DATA = r.BASIC.createChild('/importData'); 96 r.IMPORT_DATA = r.BASIC.createChild('/importData');
97 r.SIGN_OUT = r.BASIC.createChild('/signOut'); 97 r.SIGN_OUT = r.BASIC.createChild('/signOut');
98 r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData'); 98 r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData');
99 r.RESET_DIALOG = r.ADVANCED.createChild('/resetProfileSettings'); 99 r.RESET_DIALOG = r.ADVANCED.createChild('/resetProfileSettings');
100 r.TRIGGERED_RESET_DIALOG = 100 r.TRIGGERED_RESET_DIALOG =
101 r.ADVANCED.createChild('/triggeredResetProfileSettings'); 101 r.ADVANCED.createChild('/triggeredResetProfileSettings');
102 102
103 // <if expr="chromeos"> 103 // <if expr="chromeos">
104 r.INTERNET = r.BASIC.createSection('/internet', 'internet'); 104 r.INTERNET = r.BASIC.createSection('/internet', 'internet');
105 r.INTERNET_NETWORKS = r.INTERNET.createChild('/networks');
105 r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail'); 106 r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail');
106 r.KNOWN_NETWORKS = r.INTERNET.createChild('/knownNetworks'); 107 r.KNOWN_NETWORKS = r.INTERNET.createChild('/knownNetworks');
107 r.BLUETOOTH = r.BASIC.createSection('/bluetooth', 'bluetooth'); 108 r.BLUETOOTH = r.BASIC.createSection('/bluetooth', 'bluetooth');
108 r.BLUETOOTH_DEVICES = r.BLUETOOTH.createChild('/bluetoothDevices'); 109 r.BLUETOOTH_DEVICES = r.BLUETOOTH.createChild('/bluetoothDevices');
109 // </if> 110 // </if>
110 111
111 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance'); 112 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance');
112 r.FONTS = r.APPEARANCE.createChild('/fonts'); 113 r.FONTS = r.APPEARANCE.createChild('/fonts');
113 114
114 r.DEFAULT_BROWSER = 115 r.DEFAULT_BROWSER =
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 getRouteForPath: getRouteForPath, 400 getRouteForPath: getRouteForPath,
400 initializeRouteFromUrl: initializeRouteFromUrl, 401 initializeRouteFromUrl: initializeRouteFromUrl,
401 resetRouteForTesting: resetRouteForTesting, 402 resetRouteForTesting: resetRouteForTesting,
402 getCurrentRoute: getCurrentRoute, 403 getCurrentRoute: getCurrentRoute,
403 getQueryParameters: getQueryParameters, 404 getQueryParameters: getQueryParameters,
404 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 405 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
405 navigateTo: navigateTo, 406 navigateTo: navigateTo,
406 navigateToPreviousRoute: navigateToPreviousRoute, 407 navigateToPreviousRoute: navigateToPreviousRoute,
407 }; 408 };
408 }); 409 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698