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

Side by Side Diff: chrome/browser/resources/chromeos/switch_access/switch_access.js

Issue 2863613003: Implemented scanning by group (Closed)
Patch Set: Responded to comments Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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 * Class to manage SwitchAccess and interact with other controllers. 6 * Class to manage SwitchAccess and interact with other controllers.
7 * 7 *
8 * @constructor 8 * @constructor
9 * @implements {SwitchAccessInterface} 9 * @implements {SwitchAccessInterface}
10 */ 10 */
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 */ 68 */
69 moveToNode: function(doNext) { 69 moveToNode: function(doNext) {
70 this.automationManager_.moveToNode(doNext); 70 this.automationManager_.moveToNode(doNext);
71 }, 71 },
72 72
73 /** 73 /**
74 * Perform the default action on the current node. 74 * Perform the default action on the current node.
75 * 75 *
76 * @override 76 * @override
77 */ 77 */
78 doDefault: function() { 78 selectCurrentNode: function() {
79 this.automationManager_.doDefault(); 79 this.automationManager_.selectCurrentNode();
80 }, 80 },
81 81
82 /** 82 /**
83 * Open the options page in a new tab. 83 * Open the options page in a new tab.
84 * 84 *
85 * @override 85 * @override
86 */ 86 */
87 showOptionsPage: function() { 87 showOptionsPage: function() {
88 let optionsPage = {url: 'options.html'}; 88 let optionsPage = {url: 'options.html'};
89 chrome.tabs.create(optionsPage); 89 chrome.tabs.create(optionsPage);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 /** 149 /**
150 * Move to the parent of the current node if it has one. 150 * Move to the parent of the current node if it has one.
151 * 151 *
152 * @override 152 * @override
153 */ 153 */
154 debugMoveToParent: function() { 154 debugMoveToParent: function() {
155 this.automationManager_.debugMoveToParent(); 155 this.automationManager_.debugMoveToParent();
156 } 156 }
157 }; 157 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698