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

Unified Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 2550593003: Expose media controls to accessibility (Closed)
Patch Set: Created 4 years 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/renderer/resources/extensions/automation/automation_node.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index 54c308a33cd20544c1735c75d89f2e185224811b..85a78e1d29a57b36e4f6cbc740820d9a639e2746 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -394,6 +394,14 @@ AutomationNodeImpl.prototype = {
this.performAction_('showContextMenu');
},
+ startDucking: function() {
+ this.performAction_('startDucking');
+ },
+
+ stopDucking: function() {
+ this.performAction_('stopDucking');
+ },
+
domQuerySelector: function(selector, callback) {
if (!this.rootImpl)
callback();
@@ -1075,6 +1083,8 @@ utils.expose(AutomationNode, AutomationNodeImpl, {
'setSelection',
'setSequentialFocusNavigationStartingPoint',
'showContextMenu',
+ 'startDucking',
+ 'stopDucking',
'addEventListener',
'removeEventListener',
'domQuerySelector',

Powered by Google App Engine
This is Rietveld 408576698