LCOV - code coverage report
Current view: top level - gfx/layers/apz/src - QueuedInput.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 24 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 7 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set sw=2 ts=8 et tw=80 : */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #include "QueuedInput.h"
       8             : 
       9             : #include "AsyncPanZoomController.h"
      10             : #include "InputBlockState.h"
      11             : #include "InputData.h"
      12             : #include "OverscrollHandoffState.h"
      13             : 
      14             : namespace mozilla {
      15             : namespace layers {
      16             : 
      17           0 : QueuedInput::QueuedInput(const MultiTouchInput& aInput, TouchBlockState& aBlock)
      18           0 :   : mInput(MakeUnique<MultiTouchInput>(aInput))
      19           0 :   , mBlock(&aBlock)
      20             : {
      21           0 : }
      22             : 
      23           0 : QueuedInput::QueuedInput(const ScrollWheelInput& aInput, WheelBlockState& aBlock)
      24           0 :   : mInput(MakeUnique<ScrollWheelInput>(aInput))
      25           0 :   , mBlock(&aBlock)
      26             : {
      27           0 : }
      28             : 
      29           0 : QueuedInput::QueuedInput(const MouseInput& aInput, DragBlockState& aBlock)
      30           0 :   : mInput(MakeUnique<MouseInput>(aInput))
      31           0 :   , mBlock(&aBlock)
      32             : {
      33           0 : }
      34             : 
      35           0 : QueuedInput::QueuedInput(const PanGestureInput& aInput, PanGestureBlockState& aBlock)
      36           0 :   : mInput(MakeUnique<PanGestureInput>(aInput))
      37           0 :   , mBlock(&aBlock)
      38             : {
      39           0 : }
      40             : 
      41           0 : QueuedInput::QueuedInput(const KeyboardInput& aInput, KeyboardBlockState& aBlock)
      42           0 :   : mInput(MakeUnique<KeyboardInput>(aInput))
      43           0 :   , mBlock(&aBlock)
      44             : {
      45           0 : }
      46             : 
      47             : InputData*
      48           0 : QueuedInput::Input()
      49             : {
      50           0 :   return mInput.get();
      51             : }
      52             : 
      53             : InputBlockState*
      54           0 : QueuedInput::Block()
      55             : {
      56           0 :   return mBlock.get();
      57             : }
      58             : 
      59             : } // namespace layers
      60             : } // namespace mozilla

Generated by: LCOV version 1.13