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

Unified Diff: chrome/browser/resources/chromeos/switch_access/switch_access_interface.js

Issue 2777203006: Added auto-scan, made some small changes to how prefs are stored, refactored. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
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..7bbc6fe72e9c10fd4ea43d7634a7ac4882cf15e6
--- /dev/null
+++ b/chrome/browser/resources/chromeos/switch_access/switch_access_interface.js
@@ -0,0 +1,35 @@
+// 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
+ */
+let SwitchAccessInterface = function() {
+ /**
+ * @type {SwitchAccessPrefs}
+ */
+ this.switchAccessPrefs = null;
+};
+
+SwitchAccessInterface.prototype = {
+ moveToNext: function() {},
+
+ moveToPrevious: function() {},
+
+ doDefault: function() {},
+
+ showOptionsPage: function() {},
+
+ performedUserAction: function() {},
+
+ debugMoveToNext: function() {},
+
+ debugMoveToPrevious: function() {},
+
+ debugMoveToFirstChild: function() {},
+
+ debugMoveToParent: function() {}
+};

Powered by Google App Engine
This is Rietveld 408576698