HomeSort by relevance Sort by last modified time
    Searched refs:native_event (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/content/browser/renderer_host/
web_input_event_aurawin.cc 17 base::NativeEvent native_event) {
18 return WebMouseEventBuilder::Build(native_event.hwnd,
19 native_event.message,
20 native_event.wParam,
21 native_event.lParam);
25 base::NativeEvent native_event) {
26 return WebMouseWheelEventBuilder::Build(native_event.hwnd,
27 native_event.message,
28 native_event.wParam,
29 native_event.lParam)
    [all...]
native_web_keyboard_event_win.cc 18 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event)
20 WebKeyboardEventBuilder::Build(native_event.hwnd,
21 native_event.message,
22 native_event.wParam,
23 native_event.lParam)),
24 os_event(native_event),
web_input_event_aurax11.cc 94 base::NativeEvent native_event = event->native_event(); local
96 XKeyEvent* native_key_event = &native_event->xkey;
101 switch (native_event->type) {
122 webkit_event.unmodifiedText[0] = ui::GetCharacterFromXEvent(native_event);
native_web_keyboard_event_gtk.cc 32 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event)
33 : WebKeyboardEvent(WebKeyboardEventBuilder::Build(&native_event->key)),
36 CopyEventTo(native_event, &os_event);
web_input_event_aura.cc 66 base::NativeEvent native_event);
68 base::NativeEvent native_event);
70 base::NativeEvent native_event);
72 base::NativeEvent native_event);
79 base::NativeEvent native_event = event->native_event(); local
80 ui::EventType type = ui::EventTypeFromNative(native_event);
101 wchar_t character = ui::KeyboardCodeFromNative(native_event);
109 ui::KeyboardCodeFromNative(native_event),
110 ui::EventFlagsFromNative(native_event));
    [all...]
native_web_keyboard_event_aura.cc 40 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event)
42 static_cast<ui::KeyEvent*>(native_event))),
43 os_event(CopyEvent(native_event)),
  /external/chromium_org/ui/events/
events_stub.cc 20 EventType EventTypeFromNative(const base::NativeEvent& native_event) {
25 int EventFlagsFromNative(const base::NativeEvent& native_event) {
30 base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) {
35 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) {
41 const base::NativeEvent& native_event) {
46 int EventButtonFromNative(const base::NativeEvent& native_event) {
51 bool IsMouseEvent(const base::NativeEvent& native_event) {
57 const base::NativeEvent& native_event) {
62 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) {
67 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) {
    [all...]
event_utils.h 36 const base::NativeEvent& native_event);
39 EVENTS_EXPORT int EventFlagsFromNative(const base::NativeEvent& native_event);
43 const base::NativeEvent& native_event);
53 const base::NativeEvent& native_event);
57 const base::NativeEvent& native_event);
64 EVENTS_EXPORT int EventButtonFromNative(const base::NativeEvent& native_event);
69 const base::NativeEvent& native_event);
75 const base::NativeEvent& native_event);
78 EVENTS_EXPORT bool IsMouseEvent(const base::NativeEvent& native_event);
82 const base::NativeEvent& native_event);
    [all...]
event.cc 163 Event::Event(const base::NativeEvent& native_event,
167 time_stamp_(EventTimeFromNative(native_event)),
189 InitWithNativeEvent(native_event);
223 void Event::InitWithNativeEvent(const base::NativeEvent& native_event) {
224 native_event_ = native_event;
244 LocatedEvent::LocatedEvent(const base::NativeEvent& native_event)
245 : Event(native_event,
246 EventTypeFromNative(native_event),
247 EventFlagsFromNative(native_event)),
248 location_(EventLocationFromNative(native_event)),
    [all...]
event.h 50 const base::NativeEvent& native_event() const { return native_event_; } function in class:ui::Event
202 Event(const base::NativeEvent& native_event, EventType type, int flags);
221 void InitWithNativeEvent(const base::NativeEvent& native_event);
267 explicit LocatedEvent(const base::NativeEvent& native_event);
296 explicit MouseEvent(const base::NativeEvent& native_event);
396 explicit MouseWheelEvent(const base::NativeEvent& native_event);
427 explicit TouchEvent(const base::NativeEvent& native_event);
510 KeyEvent(const base::NativeEvent& native_event, bool is_char);
573 TranslatedKeyEvent(const base::NativeEvent& native_event, bool is_char);
588 explicit ScrollEvent(const base::NativeEvent& native_event);
    [all...]
  /external/chromium_org/ui/events/win/
events_win.cc 27 int GetNativeMouseKey(const base::NativeEvent& native_event) {
28 switch (native_event.message) {
61 bool IsButtonDown(const base::NativeEvent& native_event) {
63 native_event.wParam) != 0;
66 bool IsClientMouseEvent(const base::NativeEvent& native_event) {
67 return native_event.message == WM_MOUSELEAVE ||
68 native_event.message == WM_MOUSEHOVER ||
69 (native_event.message >= WM_MOUSEFIRST &&
70 native_event.message <= WM_MOUSELAST);
73 bool IsNonClientMouseEvent(const base::NativeEvent& native_event) {
    [all...]
  /external/chromium_org/ui/events/ozone/
events_ozone.cc 13 base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) {
14 const ui::Event* event = static_cast<const ui::Event*>(native_event);
18 int EventFlagsFromNative(const base::NativeEvent& native_event) {
19 const ui::Event* event = static_cast<const ui::Event*>(native_event);
23 EventType EventTypeFromNative(const base::NativeEvent& native_event) {
24 const ui::Event* event = static_cast<const ui::Event*>(native_event);
29 const base::NativeEvent& native_event) {
31 static_cast<const ui::LocatedEvent*>(native_event);
37 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) {
38 return EventSystemLocationFromNative(native_event);
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
find_bar_host_win.cc 22 return key_event.native_event().message == WM_KEYDOWN ||
23 key_event.native_event().message == WM_KEYUP;
dropdown_bar_host_win.cc 25 MSG msg = { hwnd, key_event.native_event().message, key, 0 };
  /external/chromium_org/ui/events/x/
events_x.cc 45 void UpdateStateFromEvent(const base::NativeEvent& native_event) {
50 state_ = native_event->xkey.state;
54 ui::KeyboardCode keyboard_code = ui::KeyboardCodeFromNative(native_event);
78 if (native_event->type == KeyPress)
103 bool TouchEventIsGeneratedHack(const base::NativeEvent& native_event) {
105 static_cast<XIDeviceEvent*>(native_event->xcookie.data);
111 if (ui::GetTouchForce(native_event) < 1.0f)
114 if (ui::EventLocationFromNative(native_event) != gfx::Point())
118 double radius = ui::GetTouchRadiusX(native_event), min, max;
120 static_cast<XIDeviceEvent*>(native_event->xcookie.data)->sourceid
    [all...]
device_data_manager.h 142 bool IsXIDeviceEvent(const base::NativeEvent& native_event) const;
145 bool IsTouchpadXInputEvent(const base::NativeEvent& native_event) const;
150 bool IsCMTDeviceEvent(const base::NativeEvent& native_event) const;
154 bool IsCMTGestureEvent(const base::NativeEvent& native_event) const;
157 bool IsScrollEvent(const base::NativeEvent& native_event) const;
158 bool IsFlingEvent(const base::NativeEvent& native_event) const;
159 bool IsCMTMetricsEvent(const base::NativeEvent& native_event) const;
162 bool HasGestureTimes(const base::NativeEvent& native_event) const;
167 void GetScrollOffsets(const base::NativeEvent& native_event,
176 void GetFlingData(const base::NativeEvent& native_event,
    [all...]
device_data_manager.cc 362 const base::NativeEvent& native_event) const {
363 if (native_event->type != GenericEvent ||
364 native_event->xcookie.extension != xi_opcode_)
366 return xi_device_event_types_[native_event->xcookie.evtype];
370 const base::NativeEvent& native_event) const {
371 if (native_event->type != GenericEvent)
375 static_cast<XIDeviceEvent*>(native_event->xcookie.data);
382 const base::NativeEvent& native_event) const {
383 if (native_event->type != GenericEvent)
387 static_cast<XIDeviceEvent*>(native_event->xcookie.data)
    [all...]
  /external/chromium/chrome/browser/ui/views/
find_bar_host_win.cc 34 return key_event.native_event().message == WM_KEYDOWN ||
35 key_event.native_event().message == WM_KEYUP;
dropdown_bar_host_gtk.cc 60 return NativeWebKeyboardEvent(&key_event.native_event()->key);
dropdown_bar_host_win.cc 22 return NativeWebKeyboardEvent(hwnd, key_event.native_event().message, key, 0);
  /external/chromium_org/chrome/browser/chromeos/
device_uma.cc 71 void DeviceUMA::CheckTouchpadEvent(const base::NativeEvent& native_event) {
73 static_cast<XIDeviceEvent*>(native_event->xcookie.data);
83 if (manager->IsCMTMetricsEvent(native_event)) {
86 manager->GetMetricsData(native_event, &type, &data1, &data2);
  /external/chromium_org/ash/accelerators/
nested_dispatcher_controller_unittest.cc 87 ui::ScopedXI2Event native_event;
88 native_event.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, 0);
91 dispatcher->host()->PostNativeEvent(native_event);
92 native_event.InitKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_A, 0);
93 dispatcher->host()->PostNativeEvent(native_event);
accelerator_dispatcher.cc 44 bool IsKeyEvent(const base::NativeEvent& native_event) {
45 const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event);
133 return nested_dispatcher_->Dispatch(key_event.native_event());
  /external/chromium_org/content/public/browser/
native_web_keyboard_event.h 24 explicit NativeWebKeyboardEvent(gfx::NativeEvent native_event);
  /external/chromium_org/ui/views/controls/webview/
unhandled_keyboard_event_handler_win.cc 63 const MSG& message(event.os_event->native_event());

Completed in 795 milliseconds

1 2 3