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

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

Issue 2226003002: Settings Router Refactor: Remove subpage-back. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/resources/settings/settings_page/settings_animated_pages.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
index 682ead2dc14c8c474601fbe74938ce5aba6b00c1..d48ed482723c9631e18cb6b242c4d91d3af0f853 100644
--- a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
+++ b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
@@ -36,12 +36,6 @@ Polymer({
// Observe the light DOM so we know when it's ready.
this.lightDomObserver_ = Polymer.dom(this).observeNodes(
this.lightDomChanged_.bind(this));
-
- this.addEventListener('subpage-back', function() {
- var parent = settings.getCurrentRoute().parent;
- assert(parent);
- settings.navigateTo(parent);
- }.bind(this));
},
/**

Powered by Google App Engine
This is Rietveld 408576698