| Index: chrome/browser/resources/chromeos/switch_access/switch_access_interface.js
|
| diff --git a/chrome/browser/resources/chromeos/switch_access/switch_access_interface.js b/chrome/browser/resources/chromeos/switch_access/switch_access_interface.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69e8b3f1773763f25370488cc11aa38d9e4a0d4b
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/switch_access/switch_access_interface.js
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * Interface for controllers to interact with main SwitchAccess class.
|
| + *
|
| + * @interface
|
| + */
|
| +function SwitchAccessInterface() {
|
| + /**
|
| + * @type {SwitchAccessPrefs}
|
| + */
|
| + this.switchAccessPrefs = null;
|
| +};
|
| +
|
| +SwitchAccessInterface.prototype = {
|
| + moveToNode: function(doNext) {},
|
| +
|
| + doDefault: function() {},
|
| +
|
| + showOptionsPage: function() {},
|
| +
|
| + performedUserAction: function() {},
|
| +
|
| + debugMoveToNext: function() {},
|
| +
|
| + debugMoveToPrevious: function() {},
|
| +
|
| + debugMoveToFirstChild: function() {},
|
| +
|
| + debugMoveToParent: function() {}
|
| +};
|
|
|