Index: chrome/browser/resources/settings/route.js |
diff --git a/chrome/browser/resources/settings/route.js b/chrome/browser/resources/settings/route.js |
index c5f9aa7f5c82258587818ff654cdd42155fa15bd..7508a1d71aeaede0393399b246da296a22d7eb2f 100644 |
--- a/chrome/browser/resources/settings/route.js |
+++ b/chrome/browser/resources/settings/route.js |
@@ -91,6 +91,11 @@ cr.define('settings', function() { |
r.ADVANCED = new Route('/advanced'); |
r.ABOUT = new Route('/help'); |
+ // Navigable dialogs. These are the only non-section children of root pages. |
michaelpg
2016/08/24 20:19:04
http://i.imgur.com/DJ2rRWK.gif
|
+ // These are disfavored. If we add anymore, we should add explicit support. |
michaelpg
2016/08/24 20:19:04
http://i.imgur.com/nTyP9mc.gifv
|
+ r.SIGN_OUT = r.BASIC.createChild('/signOut'); |
+ r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData'); |
+ |
<if expr="chromeos"> |
r.INTERNET = r.BASIC.createSection('/internet', 'internet'); |
r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail'); |
@@ -128,11 +133,6 @@ cr.define('settings', function() { |
r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); |
r.CERTIFICATES = r.PRIVACY.createChild('/certificates'); |
- // CLEAR_BROWSER_DATA is the only navigable dialog route. It's the only child |
- // of a root page that's not a section. Don't add any more routes like these. |
- // If more navigable dialogs are needed, add explicit support in Route. |
michaelpg
2016/08/24 20:19:04
http://i.imgur.com/VQlWOGM.jpg
|
- r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData'); |
- |
r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings'); |
r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all'); |
r.SITE_SETTINGS_SITE_DETAILS = |