| 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 15b722570a53cce1a08e750c559672d4226247d3..75b496fefec9c010f6b6a2e19ee92dac5c290702 100644
|
| --- a/chrome/renderer/resources/extensions/automation/automation_node.js
|
| +++ b/chrome/renderer/resources/extensions/automation/automation_node.js
|
| @@ -383,11 +383,20 @@ AutomationNodeImpl.prototype = {
|
| maxHeight: maxHeight });
|
| },
|
|
|
| + hitTest: function(x, y, eventToFire) {
|
| + // Convert from global to tree-relative coordinates.
|
| + var location = GetLocation(this.treeID, GetRootID(this.treeID));
|
| + this.performAction_('hitTest',
|
| + { x: x - location.left,
|
| + y: y - location.top,
|
| + eventToFire: eventToFire });
|
| + },
|
| +
|
| makeVisible: function() {
|
| this.performAction_('makeVisible');
|
| },
|
|
|
| - resumeMedia: function() {
|
| + resumeMedia: function() {
|
| this.performAction_('resumeMedia');
|
| },
|
|
|
| @@ -1078,6 +1087,7 @@ utils.expose(AutomationNode, AutomationNodeImpl, {
|
| 'findAll',
|
| 'focus',
|
| 'getImageData',
|
| + 'hitTest',
|
| 'makeVisible',
|
| 'matches',
|
| 'resumeMedia',
|
|
|