Commit c994312f authored by Tatiana Meshkova's avatar Tatiana Meshkova

Make it compile with upstream embedlite matching master dcea739f1565d630c32e166fb17cc440d6e4640b

parent 476a00a6
......@@ -63,17 +63,17 @@ EmbedTouchListener::~EmbedTouchListener()
NS_IMPL_ISUPPORTS1(EmbedTouchListener, nsIDOMEventListener)
void EmbedTouchListener::HandleSingleTap(const CSSIntPoint& aPoint, int32_t)
void EmbedTouchListener::HandleSingleTap(const CSSIntPoint& aPoint, int32_t, const mozilla::layers::ScrollableLayerGuid&)
{
// SingleTap handler of JavaScript (embedhelper.js) is taken care of input zooming.
}
void EmbedTouchListener::HandleLongTap(const CSSIntPoint& aPoint, int32_t)
void EmbedTouchListener::HandleLongTap(const CSSIntPoint& aPoint, int32_t, const mozilla::layers::ScrollableLayerGuid&)
{
LOGT("pt[%i,%i]", aPoint.x, aPoint.y);
}
void EmbedTouchListener::HandleLongTapUp(const CSSIntPoint& aPoint, int32_t)
void EmbedTouchListener::HandleLongTapUp(const CSSIntPoint& aPoint, int32_t, const mozilla::layers::ScrollableLayerGuid&)
{
LOGT("pt[%i,%i]", aPoint.x, aPoint.y);
}
......@@ -120,7 +120,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, int32_t)
void EmbedTouchListener::HandleDoubleTap(const CSSIntPoint& aPoint, int32_t, const mozilla::layers::ScrollableLayerGuid&)
{
LOGT("pt[%i,%i]", aPoint.x, aPoint.y);
// We haven't received a metrics update yet; don't do anything.
......
......@@ -36,13 +36,14 @@ public:
NS_DECL_NSIDOMEVENTLISTENER
virtual void RequestContentRepaint(const mozilla::layers::FrameMetrics&);
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 HandleLongTapUp(const mozilla::CSSIntPoint&, int32_t);
virtual void HandleDoubleTap(const mozilla::CSSIntPoint&, int32_t, const mozilla::layers::ScrollableLayerGuid&);
virtual void HandleSingleTap(const mozilla::CSSIntPoint&, int32_t, const mozilla::layers::ScrollableLayerGuid&);
virtual void HandleLongTap(const mozilla::CSSIntPoint&, int32_t, const mozilla::layers::ScrollableLayerGuid&);
virtual void HandleLongTapUp(const mozilla::CSSIntPoint&, int32_t, const mozilla::layers::ScrollableLayerGuid&);
virtual void SendAsyncScrollDOMEvent(bool aIsRoot, const mozilla::CSSRect&, const mozilla::CSSSize&);
virtual void ScrollUpdate(const mozilla::CSSPoint&, float);
virtual void PostDelayedTask(Task*, int) {}
virtual void AcknowledgeScrollUpdate(const mozilla::layers::FrameMetrics::ViewID&, const uint32_t&) {};
nsCOMPtr<nsIDOMWindow> DOMWindow;
private:
......
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