michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __mozilla_widget_DynamicToolbarController_h__ michael@0: #define __mozilla_widget_DynamicToolbarController_h__ michael@0: michael@0: #include "mozilla/layers/GeckoContentController.h" michael@0: michael@0: namespace mozilla { michael@0: namespace widget { michael@0: michael@0: class ParentProcessController : public mozilla::layers::GeckoContentController michael@0: { michael@0: typedef mozilla::layers::FrameMetrics FrameMetrics; michael@0: typedef mozilla::layers::ScrollableLayerGuid ScrollableLayerGuid; michael@0: michael@0: public: michael@0: virtual void RequestContentRepaint(const FrameMetrics& aFrameMetrics) MOZ_OVERRIDE; michael@0: virtual void AcknowledgeScrollUpdate(const FrameMetrics::ViewID& aViewId, michael@0: const uint32_t& aScrollGeneration) MOZ_OVERRIDE; michael@0: virtual void PostDelayedTask(Task* aTask, int aDelayMs) MOZ_OVERRIDE; michael@0: michael@0: // No-ops michael@0: virtual void HandleDoubleTap(const CSSPoint& aPoint, michael@0: int32_t aModifiers, michael@0: const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {} michael@0: virtual void HandleSingleTap(const CSSPoint& aPoint, michael@0: int32_t aModifiers, michael@0: const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {} michael@0: virtual void HandleLongTap(const CSSPoint& aPoint, michael@0: int32_t aModifiers, michael@0: const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {} michael@0: virtual void HandleLongTapUp(const CSSPoint& aPoint, michael@0: int32_t aModifiers, michael@0: const ScrollableLayerGuid& aGuid) MOZ_OVERRIDE {} michael@0: michael@0: virtual void SendAsyncScrollDOMEvent(bool aIsRoot, michael@0: const CSSRect &aContentRect, michael@0: const CSSSize &aScrollableSize) MOZ_OVERRIDE {} michael@0: }; michael@0: michael@0: } michael@0: } michael@0: michael@0: #endif /*__mozilla_widget_DynamicToolbarController_h__ */