| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * Interface for controllers to interact with main SwitchAccess class. |
| 7 * |
| 8 * @interface |
| 9 */ |
| 10 let SwitchAccessInterface = function() { |
| 11 /** |
| 12 * @type {SwitchAccessPrefs} |
| 13 */ |
| 14 this.switchAccessPrefs = null; |
| 15 }; |
| 16 |
| 17 SwitchAccessInterface.prototype = { |
| 18 moveToNext: function() {}, |
| 19 |
| 20 moveToPrevious: function() {}, |
| 21 |
| 22 doDefault: function() {}, |
| 23 |
| 24 showOptionsPage: function() {}, |
| 25 |
| 26 performedUserAction: function() {}, |
| 27 |
| 28 debugMoveToNext: function() {}, |
| 29 |
| 30 debugMoveToPrevious: function() {}, |
| 31 |
| 32 debugMoveToFirstChild: function() {}, |
| 33 |
| 34 debugMoveToParent: function() {} |
| 35 }; |
| OLD | NEW |