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

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

Issue 2156413002: Settings Router Refactor: Migrate to settings.Route.navigateTo calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use timing fix Created 4 years, 5 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/device_page/keyboard.js
diff --git a/chrome/browser/resources/settings/device_page/keyboard.js b/chrome/browser/resources/settings/device_page/keyboard.js
index 4d98e2980787bd5e56bab37f1bbccd2e32847ed8..968d0013005163bab04393e1fe66bddd6d09a824 100644
--- a/chrome/browser/resources/settings/device_page/keyboard.js
+++ b/chrome/browser/resources/settings/device_page/keyboard.js
@@ -26,12 +26,6 @@ Polymer({
notify: true,
},
- /** The current active route. */
- currentRoute: {
- type: Object,
- notify: true,
- },
-
/** @private Whether to show Caps Lock options. */
showCapsLock_: Boolean,
@@ -117,10 +111,6 @@ Polymer({
},
onShowLanguageInputTap_: function() {
- this.currentRoute = {
- page: 'advanced',
- section: 'languages',
- subpage: [],
- };
+ settings.navigateTo(settings.Route.LANGUAGES);
},
});

Powered by Google App Engine
This is Rietveld 408576698