Commit b1fe7760 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Merged with gecko 29a7f9d926d5cb6c117c6226ac476d581feca3f3

parent 8afd082c
......@@ -63,12 +63,12 @@ EmbedTouchListener::~EmbedTouchListener()
NS_IMPL_ISUPPORTS1(EmbedTouchListener, nsIDOMEventListener)
void EmbedTouchListener::HandleSingleTap(const CSSIntPoint& aPoint)
void EmbedTouchListener::HandleSingleTap(const CSSIntPoint& aPoint, int32_t)
{
// SingleTap handler of JavaScript (embedhelper.js) is taken care of input zooming.
}
void EmbedTouchListener::HandleLongTap(const CSSIntPoint& aPoint)
void EmbedTouchListener::HandleLongTap(const CSSIntPoint& aPoint, int32_t)
{
LOGT("pt[%i,%i]", aPoint.x, aPoint.y);
}
......@@ -115,7 +115,7 @@ void EmbedTouchListener::RequestContentRepaint(const mozilla::layers::FrameMetri
// LOGT("EmbedTouchListener::RequestContentRepaint mCssCompositedRect %g %g %g %g", mCssCompositedRect.x, mCssCompositedRect.y, mCssCompositedRect.width, mCssCompositedRect.height);
}
void EmbedTouchListener::HandleDoubleTap(const CSSIntPoint& aPoint)
void EmbedTouchListener::HandleDoubleTap(const CSSIntPoint& aPoint, int32_t)
{
LOGT("pt[%i,%i]", aPoint.x, aPoint.y);
// We haven't received a metrics update yet; don't do anything.
......
......@@ -36,9 +36,9 @@ public:
NS_DECL_NSIDOMEVENTLISTENER
virtual void RequestContentRepaint(const mozilla::layers::FrameMetrics&);
virtual void HandleDoubleTap(const mozilla::CSSIntPoint&);
virtual void HandleSingleTap(const mozilla::CSSIntPoint&);
virtual void HandleLongTap(const mozilla::CSSIntPoint&);
virtual void HandleDoubleTap(const mozilla::CSSIntPoint&, int32_t);
virtual void HandleSingleTap(const mozilla::CSSIntPoint&, int32_t);
virtual void HandleLongTap(const mozilla::CSSIntPoint&, int32_t);
virtual void SendAsyncScrollDOMEvent(bool aIsRoot, const mozilla::CSSRect&, const mozilla::CSSSize&);
virtual void ScrollUpdate(const mozilla::CSSPoint&, float);
virtual void PostDelayedTask(Task*, int) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment