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

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

Issue 2777203006: Added auto-scan, made some small changes to how prefs are stored, refactored. (Closed)
Patch Set: Responding to comments. Refactored tree_walker. Removed testable_tree_walker. 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/testable_switch_access.js
diff --git a/chrome/browser/resources/chromeos/switch_access/testable_switch_access.js b/chrome/browser/resources/chromeos/switch_access/testable_switch_access.js
deleted file mode 100644
index c5cdde736627254bd5b0ed86d0aea4e907974889..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/chromeos/switch_access/testable_switch_access.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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.
-
-/**
- * Subclass of SwitchAccess that exposes SwitchAccess's methods for testing.
- */
-let TestableSwitchAccess = function() {
- SwitchAccess.call(this);
-};
-
-TestableSwitchAccess.prototype = {
- __proto__: SwitchAccess.prototype,
-
- init_: function() {},
-
- getNextNode: function(node) {
- return this.getNextNode_(node);
- },
-
- getPreviousNode: function(node) {
- return this.getPreviousNode_(node);
- },
-
- getYoungestDescendant: function(node) {
- return this.getYoungestDescendant_(node);
- },
-
- isInteresting: function(node) {
- return this.isInteresting_(node);
- }
-};

Powered by Google App Engine
This is Rietveld 408576698