/external/chromium_org/remoting/client/plugin/ |
H A D | normalizing_input_filter_mac_unittest.cc | 7 #include "remoting/proto/event.pb.h" 38 KeyEvent event; local 39 event.set_usb_keycode(keycode); 40 event.set_pressed(pressed); 41 event.set_lock_states(kTestLockStates); 42 return event; 61 // Injecting a CapsLock down event with NumLock on.
|
/external/chromium_org/remoting/host/ |
H A D | ipc_input_injector.cc | 20 const protocol::ClipboardEvent& event) { 21 desktop_session_proxy_->InjectClipboardEvent(event); 24 void IpcInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) { argument 25 desktop_session_proxy_->InjectKeyEvent(event); 28 void IpcInputInjector::InjectTextEvent(const protocol::TextEvent& event) { argument 29 desktop_session_proxy_->InjectTextEvent(event); 32 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { argument 33 desktop_session_proxy_->InjectMouseEvent(event); 19 InjectClipboardEvent( const protocol::ClipboardEvent& event) argument
|
H A D | remote_input_filter_unittest.cc | 7 #include "remoting/proto/event.pb.h" 30 protocol::MouseEvent event; local 31 event.set_x(x); 32 event.set_y(y); 33 return event; 37 protocol::KeyEvent event; local 38 event.set_usb_keycode(usb_keycode); 39 event.set_pressed(pressed); 40 return event;
|
/external/chromium_org/remoting/protocol/ |
H A D | client_event_dispatcher.cc | 11 #include "remoting/proto/event.pb.h" 32 void ClientEventDispatcher::InjectKeyEvent(const KeyEvent& event) { argument 33 DCHECK(event.has_usb_keycode()); 34 DCHECK(event.has_pressed()); 37 message.mutable_key_event()->CopyFrom(event); 41 void ClientEventDispatcher::InjectTextEvent(const TextEvent& event) { argument 42 DCHECK(event.has_text()); 45 message.mutable_text_event()->CopyFrom(event); 49 void ClientEventDispatcher::InjectMouseEvent(const MouseEvent& event) { argument 52 message.mutable_mouse_event()->CopyFrom(event); [all...] |
H A D | clipboard_echo_filter_unittest.cc | 7 #include "remoting/proto/event.pb.h" 24 ClipboardEvent event; local 25 event.set_mime_type(mime_type); 26 event.set_data(data); 27 return event; 80 ClipboardEvent event = MakeClipboardEvent("text", "a"); local 81 filter.host_filter()->InjectClipboardEvent(event); 84 filter.host_filter()->InjectClipboardEvent(event); 87 filter.host_filter()->InjectClipboardEvent(event); 100 ClipboardEvent event local [all...] |
H A D | mouse_input_filter.cc | 7 #include "remoting/proto/event.pb.h" 22 void MouseInputFilter::InjectMouseEvent(const MouseEvent& event) { argument 30 MouseEvent out_event(event);
|
H A D | mouse_input_filter_unittest.cc | 7 #include "remoting/proto/event.pb.h" 24 MouseEvent event; local 25 event.set_x(x); 26 event.set_y(y); 27 return event;
|
/external/chromium_org/sandbox/win/src/ |
H A D | threadpool_unittest.cc | 12 HANDLE event = reinterpret_cast<HANDLE>(context); local 13 ::SetEvent(event); 71 // Test that the thread pool has at least a thread that services an event. 72 // Test that when the event is un-registered is no longer serviced.
|
/external/chromium_org/sync/internal_api/ |
H A D | protocol_event_buffer.cc | 18 void ProtocolEventBuffer::RecordProtocolEvent(const ProtocolEvent& event) { argument 19 buffer_.push_back(event.Clone().release());
|
H A D | protocol_event_buffer_unittest.cc | 22 static bool HasId(const ProtocolEvent& event, int64 id); 40 bool ProtocolEventBufferTest::HasId(const ProtocolEvent& event, int64 id) { argument 41 return event.GetTimestamp() == base::Time::FromInternalValue(id);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8EventListener.cpp | 70 v8::Local<v8::Value> V8EventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event) argument 73 v8::Local<v8::Object> receiver = getReceiverObject(event);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
H A D | V8CustomEventCustom.cpp | 54 CustomEvent* event = V8CustomEvent::toImpl(info.Holder()); local 63 if (!event->serializedDetail()) { 64 // If we're in an isolated world and the event was created in the main world, 66 v8::Local<v8::Value> mainWorldDetail = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::detail(info.GetIsolate())); 68 event->setSerializedDetail(SerializedScriptValue::createAndSwallowExceptions(mainWorldDetail, info.GetIsolate())); 71 if (event->serializedDetail()) { 72 result = event->serializedDetail()->deserialize(); 82 CustomEvent* event = V8CustomEvent::toImpl(info.Holder()); local 83 ASSERT(!event->serializedDetail()); 90 event [all...] |
H A D | V8MessageEventCustom.cpp | 47 MessageEvent* event = V8MessageEvent::toImpl(info.Holder()); local 50 switch (event->dataType()) { 54 if (!event->dataAsSerializedScriptValue()) { 55 // If we're in an isolated world and the event was created in the main world, 57 v8::Local<v8::Value> mainWorldData = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::data(info.GetIsolate())); 59 event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(mainWorldData, info.GetIsolate())); 61 if (event->dataAsSerializedScriptValue()) 62 result = event->dataAsSerializedScriptValue()->deserialize(info.GetIsolate()); 70 if (SerializedScriptValue* serializedValue = event->dataAsSerializedScriptValue()) { 71 MessagePortArray ports = event 108 MessageEvent* event = V8MessageEvent::toImpl(info.Holder()); local [all...] |
H A D | V8PopStateEventCustom.cpp | 58 PopStateEvent* event = V8PopStateEvent::toImpl(info.Holder()); local 59 History* history = event->history(); 60 if (!history || !event->serializedState()) { 61 if (!event->serializedState()) { 62 // If we're in an isolated world and the event was created in the main world, 64 v8::Local<v8::Value> mainWorldState = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::state(info.GetIsolate())); 66 event->setSerializedState(SerializedScriptValue::createAndSwallowExceptions(mainWorldState, info.GetIsolate())); 68 if (event->serializedState()) 69 result = event->serializedState()->deserialize(); 77 // event, bu [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | EventDispatcher.h | 58 Event* event() const { return m_event.get(); } function in class:blink::EventDispatcher
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | BaseClickableWithKeyInputType.cpp | 42 void BaseClickableWithKeyInputType::handleKeydownEvent(HTMLInputElement& element, KeyboardEvent* event) argument 44 const String& key = event->keyIdentifier(); 52 void BaseClickableWithKeyInputType::handleKeypressEvent(HTMLInputElement& element, KeyboardEvent* event) argument 54 int charCode = event->charCode(); 56 element.dispatchSimulatedClick(event); 57 event->setDefaultHandled(); 62 event->setDefaultHandled(); 66 void BaseClickableWithKeyInputType::handleKeyupEvent(InputType& inputType, KeyboardEvent* event) argument 68 const String& key = event->keyIdentifier(); 72 inputType.dispatchSimulatedClickIfActive(event); 81 handleKeydownEvent(KeyboardEvent* event) argument 83 handleKeydownEvent(element(), event); local 86 handleKeypressEvent(KeyboardEvent* event) argument 88 handleKeypressEvent(element(), event); local 91 handleKeyupEvent(KeyboardEvent* event) argument [all...] |
H A D | CheckboxInputType.cpp | 63 void CheckboxInputType::handleKeyupEvent(KeyboardEvent* event) argument 65 const String& key = event->keyIdentifier(); 68 dispatchSimulatedClickIfActive(event); 73 // An event handler can use preventDefault or "return false" to reverse the checking we do here. 89 void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& state) argument 91 if (event->defaultPrevented() || event->defaultHandled()) { 97 event->setDefaultHandled();
|
H A D | SubmitInputType.cpp | 68 void SubmitInputType::handleDOMActivateEvent(Event* event) argument 74 element->form()->prepareForSubmission(event); // Event handlers can run. 76 event->setDefaultHandled();
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | ClearButtonElement.cpp | 74 void ClearButtonElement::defaultEventHandler(Event* event) argument 77 if (!event->defaultHandled()) 78 HTMLDivElement::defaultEventHandler(event); 83 if (!event->defaultHandled()) 84 HTMLDivElement::defaultEventHandler(event); 88 if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { 96 event->setDefaultHandled(); 98 if (event [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
H A D | NavigationAction.cpp | 61 RefPtrWillBeRawPtr<Event> event = passEvent; local 62 m_type = navigationType(frameLoadType, isFormSubmission || resourceRequest.httpBody(), event); 63 m_eventTimeStamp = event ? event->timeStamp() : 0; 67 ASSERT(event); 68 if (event->isMouseEvent()) 69 mouseEvent = toMouseEvent(event.get()); 70 } else if (m_type == NavigationTypeFormSubmitted && event && event->underlyingEvent() && event [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | EventWithHitTestResults.h | 38 EventWithHitTestResults(const EventType& event, const HitTestResult& hitTestResult) argument 39 : m_event(event) 44 const EventType& event() const { return m_event; } function in class:blink::EventWithHitTestResults
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | RemoteFrameClient.cpp | 60 SecurityOrigin* target, MessageEvent* event, LocalFrame* sourceFrame) const 63 m_webFrame->client()->postMessageEvent(WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin(target), WebDOMMessageEvent(event)); 59 willCheckAndDispatchMessageEvent( SecurityOrigin* target, MessageEvent* event, LocalFrame* sourceFrame) const argument
|
/external/chromium_org/third_party/libevent/ |
H A D | epoll_sub.c | 42 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) argument 45 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
|
/external/chromium_org/third_party/libevent/sample/ |
H A D | event-test.c | 3 * cc -I/usr/local/include -o event-test event-test.c -L/usr/local/lib -levent 25 #include <event.h> 28 fifo_read(int fd, short event, void *arg) argument 32 struct event *ev = arg; 37 /* Reschedule this event */ 40 fprintf(stderr, "fifo_read called with fd: %d, event: %d, arg: %p\n", 41 fd, event, arg); 72 struct event evfifo; 89 const char *fifo = "event [all...] |
H A D | time-test.c | 27 #include <event.h> 33 timeout_cb(int fd, short event, void *arg) argument 36 struct event *timeout = arg; 51 struct event timeout; 54 /* Initalize the event library */ 57 /* Initalize one event */
|