Lines Matching defs:static_cast

43 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_SHIFTKEY) ==
44 static_cast<int>(WebInputEvent::ShiftKey),
46 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_CONTROLKEY) ==
47 static_cast<int>(WebInputEvent::ControlKey),
49 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ALTKEY) ==
50 static_cast<int>(WebInputEvent::AltKey),
52 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_METAKEY) ==
53 static_cast<int>(WebInputEvent::MetaKey),
55 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ISKEYPAD) ==
56 static_cast<int>(WebInputEvent::IsKeyPad),
58 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ISAUTOREPEAT) ==
59 static_cast<int>(WebInputEvent::IsAutoRepeat),
61 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_LEFTBUTTONDOWN) ==
62 static_cast<int>(WebInputEvent::LeftButtonDown),
64 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_MIDDLEBUTTONDOWN) ==
65 static_cast<int>(WebInputEvent::MiddleButtonDown),
67 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_RIGHTBUTTONDOWN) ==
68 static_cast<int>(WebInputEvent::RightButtonDown),
70 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_CAPSLOCKKEY) ==
71 static_cast<int>(WebInputEvent::CapsLockOn),
73 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_NUMLOCKKEY) ==
74 static_cast<int>(WebInputEvent::NumLockOn),
76 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ISLEFT) ==
77 static_cast<int>(WebInputEvent::IsLeft),
79 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ISRIGHT) ==
80 static_cast<int>(WebInputEvent::IsRight),
134 static_cast<const WebKeyboardEvent&>(event);
145 static_cast<const WebKeyboardEvent&>(event);
172 COMPILE_ASSERT(static_cast<int>(WebMouseEvent::ButtonNone) ==
173 static_cast<int>(PP_INPUTEVENT_MOUSEBUTTON_NONE),
175 COMPILE_ASSERT(static_cast<int>(WebMouseEvent::ButtonLeft) ==
176 static_cast<int>(PP_INPUTEVENT_MOUSEBUTTON_LEFT),
178 COMPILE_ASSERT(static_cast<int>(WebMouseEvent::ButtonRight) ==
179 static_cast<int>(PP_INPUTEVENT_MOUSEBUTTON_RIGHT),
181 COMPILE_ASSERT(static_cast<int>(WebMouseEvent::ButtonMiddle) ==
182 static_cast<int>(PP_INPUTEVENT_MOUSEBUTTON_MIDDLE),
185 const WebMouseEvent& mouse_event = static_cast<const WebMouseEvent&>(event);
192 static_cast<PP_InputEvent_MouseButton>(mouse_event.button);
205 static_cast<const WebMouseWheelEvent&>(event);
292 if (web_touches[i].id == static_cast<int>(id))
304 std::min(static_cast<uint32_t>(pp_touches.size()),
305 static_cast<uint32_t>(WebTouchEvent::touchesLengthCap));
308 if (touch_index >= static_cast<uint32_t>(WebTouchEvent::touchesLengthCap))
429 mouse_event->button = static_cast<WebMouseEvent::Button>(event.mouse_button);
651 static_cast<WebMouseWheelEvent*>(original_event.get());
664 static_cast<WebKeyboardEvent*>(original_event.get());
674 static_cast<WebKeyboardEvent*>(original_event.get());