OLD | NEW |
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 Loading... |
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 }); |
OLD | NEW |