1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "mozwrlbase.h"
9 #include "mozilla/layers/GeckoContentController.h"
10 #include "FrameMetrics.h"
17 class APZController
: public mozilla::layers::GeckoContentController
19 typedef mozilla::layers::FrameMetrics FrameMetrics
;
22 virtual void RequestContentRepaint(const FrameMetrics
& aFrameMetrics
);
23 virtual void HandleDoubleTap(const mozilla::CSSIntPoint
& aPoint
);
24 virtual void HandleSingleTap(const mozilla::CSSIntPoint
& aPoint
);
25 virtual void HandleLongTap(const mozilla::CSSIntPoint
& aPoint
);
26 virtual void SendAsyncScrollDOMEvent(FrameMetrics::ViewID aScrollId
, const mozilla::CSSRect
&aContentRect
, const mozilla::CSSSize
&aScrollableSize
);
27 virtual void PostDelayedTask(Task
* aTask
, int aDelayMs
);
28 virtual void HandlePanBegin();
29 virtual void HandlePanEnd();