Bug 1063803 - Remove unused function. r=wesj

This commit is contained in:
Kartikaya Gupta 2014-09-12 11:44:20 -04:00
parent e1347f588f
commit 7ca5f86054
2 changed files with 0 additions and 19 deletions

View File

@ -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.

View File

@ -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);