widget/gonk/ParentProcessController.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

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

mercurial