| 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..225c0d2e7c57b185f67eec87ac6bff5fe7cef508 100644
|
| --- a/chrome/renderer/resources/extensions/automation/automation_node.js
|
| +++ b/chrome/renderer/resources/extensions/automation/automation_node.js
|
| @@ -377,6 +377,10 @@ AutomationNodeImpl.prototype = {
|
| this.performAction_('makeVisible');
|
| },
|
|
|
| + resumeMedia: function() {
|
| + this.performAction_('resumeMedia');
|
| + },
|
| +
|
| setSelection: function(startIndex, endIndex) {
|
| if (this.role == 'textField' || this.role == 'textBox') {
|
| this.performAction_('setSelection',
|
| @@ -394,6 +398,18 @@ AutomationNodeImpl.prototype = {
|
| this.performAction_('showContextMenu');
|
| },
|
|
|
| + startDuckingMedia: function() {
|
| + this.performAction_('startDuckingMedia');
|
| + },
|
| +
|
| + stopDuckingMedia: function() {
|
| + this.performAction_('stopDuckingMedia');
|
| + },
|
| +
|
| + suspendMedia: function() {
|
| + this.performAction_('suspendMedia');
|
| + },
|
| +
|
| domQuerySelector: function(selector, callback) {
|
| if (!this.rootImpl)
|
| callback();
|
| @@ -1072,9 +1088,13 @@ utils.expose(AutomationNode, AutomationNodeImpl, {
|
| 'getImageData',
|
| 'makeVisible',
|
| 'matches',
|
| + 'resumeMedia',
|
| 'setSelection',
|
| 'setSequentialFocusNavigationStartingPoint',
|
| 'showContextMenu',
|
| + 'startDuckingMedia',
|
| + 'stopDuckingMedia',
|
| + 'suspendMedia',
|
| 'addEventListener',
|
| 'removeEventListener',
|
| 'domQuerySelector',
|
|
|