1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef __mozilla_widget_DynamicToolbarController_h__
7 #define __mozilla_widget_DynamicToolbarController_h__
9 #include "mozilla/layers/GeckoContentController.h"
14 class ParentProcessController
: public mozilla::layers::GeckoContentController
16 typedef mozilla::layers::FrameMetrics FrameMetrics
;
17 typedef mozilla::layers::ScrollableLayerGuid ScrollableLayerGuid
;
20 virtual void RequestContentRepaint(const FrameMetrics
& aFrameMetrics
) MOZ_OVERRIDE
;
21 virtual void AcknowledgeScrollUpdate(const FrameMetrics::ViewID
& aViewId
,
22 const uint32_t& aScrollGeneration
) MOZ_OVERRIDE
;
23 virtual void PostDelayedTask(Task
* aTask
, int aDelayMs
) MOZ_OVERRIDE
;
26 virtual void HandleDoubleTap(const CSSPoint
& aPoint
,
28 const ScrollableLayerGuid
& aGuid
) MOZ_OVERRIDE
{}
29 virtual void HandleSingleTap(const CSSPoint
& aPoint
,
31 const ScrollableLayerGuid
& aGuid
) MOZ_OVERRIDE
{}
32 virtual void HandleLongTap(const CSSPoint
& aPoint
,
34 const ScrollableLayerGuid
& aGuid
) MOZ_OVERRIDE
{}
35 virtual void HandleLongTapUp(const CSSPoint
& aPoint
,
37 const ScrollableLayerGuid
& aGuid
) MOZ_OVERRIDE
{}
39 virtual void SendAsyncScrollDOMEvent(bool aIsRoot
,
40 const CSSRect
&aContentRect
,
41 const CSSSize
&aScrollableSize
) MOZ_OVERRIDE
{}
47 #endif /*__mozilla_widget_DynamicToolbarController_h__ */