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.

     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
    15 {
    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 {}
    42 };
    44 }
    45 }
    47 #endif /*__mozilla_widget_DynamicToolbarController_h__ */

mercurial