| Index: ui/events/test/event_generator.h
|
| diff --git a/ui/events/test/event_generator.h b/ui/events/test/event_generator.h
|
| index cefecbd1b7b1c419173f4042ce02915b6c77a7a9..138f9ae8a2e0edf280b09edaee9747603c22c551 100644
|
| --- a/ui/events/test/event_generator.h
|
| +++ b/ui/events/test/event_generator.h
|
| @@ -129,6 +129,13 @@ class EventGenerator {
|
| void set_async(bool async) { async_ = async; }
|
| bool async() const { return async_; }
|
|
|
| + // Dispatch events through the application instead of directly to the
|
| + // target window. Currently only supported on Mac.
|
| + void set_targeting_application(bool targeting_application) {
|
| + targeting_application_ = targeting_application;
|
| + }
|
| + bool targeting_application() const { return targeting_application_; }
|
| +
|
| // Resets the event flags bitmask.
|
| void set_flags(int flags) { flags_ = flags; }
|
| int flags() const { return flags_; }
|
| @@ -383,6 +390,7 @@ class EventGenerator {
|
| std::list<Event*> pending_events_;
|
| // Set to true to cause events to be posted asynchronously.
|
| bool async_;
|
| + bool targeting_application_;
|
| scoped_ptr<base::TickClock> tick_clock_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EventGenerator);
|
|
|