Bumping manifests a=b2g-bump
[gecko.git] / widget / gonk / ParentProcessController.h
blob6d1349cb5f3eda36c2c4a9a3ddaa4d2ae5faa171
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"
11 namespace mozilla {
12 namespace widget {
14 class ParentProcessController : public mozilla::layers::GeckoContentController
16 typedef mozilla::layers::FrameMetrics FrameMetrics;
17 typedef mozilla::layers::ScrollableLayerGuid ScrollableLayerGuid;
19 public:
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;
25 // No-ops
26 virtual void HandleDoubleTap(const CSSPoint& aPoint,
27 int32_t aModifiers,
28 const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {}
29 virtual void HandleSingleTap(const CSSPoint& aPoint,
30 int32_t aModifiers,
31 const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {}
32 virtual void HandleLongTap(const CSSPoint& aPoint,
33 int32_t aModifiers,
34 const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {}
35 virtual void HandleLongTapUp(const CSSPoint& aPoint,
36 int32_t aModifiers,
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__ */