| Index: tracing/tracing/base/event.html
|
| diff --git a/tracing/tracing/base/event.html b/tracing/tracing/base/event.html
|
| index 75ad3d5001a5c397b8497c11520c14b25e7dca5f..4b10d3f31f9bcc5b353377f24b0731bd5ceeef35 100644
|
| --- a/tracing/tracing/base/event.html
|
| +++ b/tracing/tracing/base/event.html
|
| @@ -77,11 +77,19 @@ tr.exportTo('tr.b', function() {
|
| * @param {boolean=} opt_bubbles Whether the event bubbles or not.
|
| * @param {boolean=} opt_cancelable Whether the default action of the event
|
| * can be prevented.
|
| + * @param {!Object=} opt_fields
|
| + *
|
| * @return {boolean} If any of the listeners called {@code preventDefault}
|
| * during the dispatch this will return false.
|
| */
|
| - function dispatchSimpleEvent(target, type, opt_bubbles, opt_cancelable) {
|
| + function dispatchSimpleEvent(target, type, opt_bubbles, opt_cancelable,
|
| + opt_fields) {
|
| var e = new tr.b.Event(type, opt_bubbles, opt_cancelable);
|
| + if (opt_fields) {
|
| + tr.b.iterItems(opt_fields, function(name, value) {
|
| + e[name] = value;
|
| + });
|
| + }
|
| return target.dispatchEvent(e);
|
| }
|
|
|
|
|