Lines Matching full:events
24 // observer/notification. Unlike windows, I cannot post non-events
26 // guarantee their order with regards to events).
29 // events. Because in order to handle mouse drag, when processing a mouse
34 // events. In order to notify the caller correctly after all events has been
40 // events causes BrowserKeyEventsTest.CommandKeyEvents to fail.
99 // NSKeyDown/NSKeyUp events.
104 // For events other than mouse moved, [event locationInWindow] is
122 // Creates the proper sequence of autoreleased key events for a key down + up.
129 std::vector<NSEvent*>* events) {
136 events->push_back(event);
142 events->push_back(event);
148 events->push_back(event);
154 events->push_back(event);
159 events->push_back(event);
162 events->push_back(event);
168 events->push_back(event);
174 events->push_back(event);
180 events->push_back(event);
186 events->push_back(event);
215 // when firing keyboard and mouse click events.
245 std::vector<NSEvent*> events;
247 window, key, control, shift, alt, command, &events);
251 // But using [NSApplication sendEvent:] should be safe for keyboard events,
254 for (std::vector<NSEvent*>::iterator iter = events.begin();
255 iter != events.end(); ++iter)
269 // events require them window-relative, so we adjust. We *DO* flip
270 // the coordinate space, so input events can be the same for all