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

Unified Diff: chrome/browser/resources/settings/settings.js

Issue 2231203002: Settings Router Refactor: Normalize URL only for main settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings.js
diff --git a/chrome/browser/resources/settings/settings.js b/chrome/browser/resources/settings/settings.js
index 17ef39bc6c036c6b3cfbbabf9802e5aa705763be..bb59abb216d3d78b622ace0c7baff3db4087f197 100644
--- a/chrome/browser/resources/settings/settings.js
+++ b/chrome/browser/resources/settings/settings.js
@@ -19,6 +19,12 @@ settings.defaultResourceLoaded = true;
Polymer({
is: 'cr-settings',
+ /** @override */
+ created: function() {
+ settings.initializeRouteFromUrl();
+ },
+
+ /** @override */
ready: function() {
this.$.ui.directionDelegate = new settings.DirectionDelegateImpl;
},
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698