| 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 'settings-device-page' is the settings page for device and | 6 * @fileoverview 'settings-device-page' is the settings page for device and |
| 7 * peripheral settings. | 7 * peripheral settings. |
| 8 * | 8 * |
| 9 * @group Chrome Settings Elements | 9 * @group Chrome Settings Elements |
| 10 * @element settings-device-page | 10 * @element settings-device-page |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 }, | 30 }, |
| 31 }, | 31 }, |
| 32 | 32 |
| 33 /** | 33 /** |
| 34 * Handler for tapping the Touchpad settings menu item. | 34 * Handler for tapping the Touchpad settings menu item. |
| 35 * @private | 35 * @private |
| 36 */ | 36 */ |
| 37 onTouchpadTap_: function() { | 37 onTouchpadTap_: function() { |
| 38 this.$.pages.setSubpageChain(['touchpad']); | 38 this.$.pages.setSubpageChain(['touchpad']); |
| 39 }, | 39 }, |
| 40 |
| 41 /** |
| 42 * Handler for tapping the Keyboard settings menu item. |
| 43 * @private |
| 44 */ |
| 45 onKeyboardTap_: function() { |
| 46 this.$.pages.setSubpageChain(['keyboard']); |
| 47 }, |
| 40 }); | 48 }); |
| OLD | NEW |