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

Side by Side 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: fix chromeos tests 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 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-keyboard' is the settings subpage with keyboard settings. 7 * 'settings-keyboard' is the settings subpage with keyboard settings.
8 */ 8 */
9 9
10 // TODO(michaelpg): The docs below are duplicates of settings_dropdown_menu, 10 // TODO(michaelpg): The docs below are duplicates of settings_dropdown_menu,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 this.showCapsLock_ = showCapsLock; 110 this.showCapsLock_ = showCapsLock;
111 this.showDiamondKey_ = showDiamondKey; 111 this.showDiamondKey_ = showDiamondKey;
112 }, 112 },
113 113
114 onShowKeyboardShortcutsOverlayTap_: function() { 114 onShowKeyboardShortcutsOverlayTap_: function() {
115 settings.DevicePageBrowserProxyImpl.getInstance() 115 settings.DevicePageBrowserProxyImpl.getInstance()
116 .showKeyboardShortcutsOverlay(); 116 .showKeyboardShortcutsOverlay();
117 }, 117 },
118 118
119 onShowLanguageInputTap_: function() { 119 onShowLanguageInputTap_: function() {
120 this.currentRoute = { 120 settings.navigateTo(settings.Route.LANGUAGES);
121 page: 'advanced',
122 section: 'languages',
123 subpage: [],
124 };
125 }, 121 },
126 }); 122 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698