mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1063803 - Remove unused function. r=wesj
This commit is contained in:
parent
e1347f588f
commit
7ca5f86054
@ -1172,22 +1172,6 @@ nsWindow::DispatchGestureEvent(uint32_t msg, uint32_t direction, double delta,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
nsWindow::DispatchMotionEvent(WidgetInputEvent &event, AndroidGeckoEvent *ae,
|
||||
const nsIntPoint &refPoint)
|
||||
{
|
||||
nsIntPoint offset = WidgetToScreenOffset();
|
||||
|
||||
event.modifiers = ae->DOMModifiers();
|
||||
event.time = ae->Time();
|
||||
|
||||
// XXX possibly bound the range of event.refPoint here.
|
||||
// some code may get confused.
|
||||
event.refPoint = LayoutDeviceIntPoint::FromUntyped(refPoint - offset);
|
||||
|
||||
DispatchEvent(&event);
|
||||
}
|
||||
|
||||
static unsigned int ConvertAndroidKeyCodeToDOMKeyCode(int androidKeyCode)
|
||||
{
|
||||
// Special-case alphanumeric keycodes because they are most common.
|
||||
|
@ -233,9 +233,6 @@ private:
|
||||
void InitKeyEvent(mozilla::WidgetKeyboardEvent& event,
|
||||
mozilla::AndroidGeckoEvent& key,
|
||||
ANPEvent* pluginEvent);
|
||||
void DispatchMotionEvent(mozilla::WidgetInputEvent &event,
|
||||
mozilla::AndroidGeckoEvent *ae,
|
||||
const nsIntPoint &refPoint);
|
||||
void DispatchGestureEvent(uint32_t msg, uint32_t direction, double delta,
|
||||
const nsIntPoint &refPoint, uint64_t time);
|
||||
void HandleSpecialKey(mozilla::AndroidGeckoEvent *ae);
|
||||
|
Loading…
Reference in New Issue
Block a user