Index: chrome/renderer/resources/extensions/automation/automation_event.js |
diff --git a/chrome/renderer/resources/extensions/automation/automation_event.js b/chrome/renderer/resources/extensions/automation/automation_event.js |
index bd5a3d209610c75e9dce1ad932b41b95d04ff193..88c94d15d948e4bb59a615df2081ad48871fe81a 100644 |
--- a/chrome/renderer/resources/extensions/automation/automation_event.js |
+++ b/chrome/renderer/resources/extensions/automation/automation_event.js |
@@ -4,13 +4,12 @@ |
var utils = require('utils'); |
-function AutomationEventImpl(type, target) { |
+function AutomationEventImpl(type, target, eventFrom) { |
this.propagationStopped = false; |
- |
- // TODO(aboxhall): make these read-only properties |
this.type = type; |
this.target = target; |
this.eventPhase = Event.NONE; |
+ this.eventFrom = eventFrom; |
} |
AutomationEventImpl.prototype = { |
@@ -31,6 +30,7 @@ utils.expose(AutomationEvent, AutomationEventImpl, { |
'type', |
'target', |
'eventPhase', |
+ 'eventFrom', |
], |
}); |