LCOV - code coverage report
Current view: top level - widget - nsIWidgetListener.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 4 40 10.0 %
Date: 2017-07-14 16:53:18 Functions: 2 20 10.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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/. */
       5             : 
       6             : #include "nsIWidgetListener.h"
       7             : 
       8             : #include "nsRegion.h"
       9             : #include "nsView.h"
      10             : #include "nsIPresShell.h"
      11             : #include "nsIWidget.h"
      12             : #include "nsIXULWindow.h"
      13             : 
      14             : #include "mozilla/BasicEvents.h"
      15             : 
      16             : using namespace mozilla;
      17             : 
      18             : nsIXULWindow*
      19           0 : nsIWidgetListener::GetXULWindow()
      20             : {
      21           0 :   return nullptr;
      22             : }
      23             : 
      24             : nsView*
      25         170 : nsIWidgetListener::GetView()
      26             : {
      27         170 :   return nullptr;
      28             : }
      29             : 
      30             : nsIPresShell*
      31           0 : nsIWidgetListener::GetPresShell()
      32             : {
      33           0 :   return nullptr;
      34             : }
      35             : 
      36             : bool
      37           0 : nsIWidgetListener::WindowMoved(nsIWidget* aWidget,
      38             :                                int32_t aX,
      39             :                                int32_t aY)
      40             : {
      41           0 :   return false;
      42             : }
      43             : 
      44             : bool
      45           0 : nsIWidgetListener::WindowResized(nsIWidget* aWidget,
      46             :                                  int32_t aWidth,
      47             :                                  int32_t aHeight)
      48             : {
      49           0 :   return false;
      50             : }
      51             : 
      52             : void
      53           0 : nsIWidgetListener::SizeModeChanged(nsSizeMode aSizeMode)
      54             : {
      55           0 : }
      56             : 
      57             : void
      58           0 : nsIWidgetListener::UIResolutionChanged()
      59             : {
      60           0 : }
      61             : 
      62             : void
      63           0 : nsIWidgetListener::FullscreenChanged(bool aInFullscreen)
      64             : {
      65           0 : }
      66             : 
      67             : bool
      68           0 : nsIWidgetListener::ZLevelChanged(bool aImmediate,
      69             :                                  nsWindowZ* aPlacement,
      70             :                                  nsIWidget* aRequestBelow,
      71             :                                  nsIWidget** aActualBelow)
      72             : {
      73           0 :   return false;
      74             : }
      75             : 
      76             : void
      77           0 : nsIWidgetListener::OcclusionStateChanged(bool aIsFullyOccluded)
      78             : {
      79           0 : }
      80             : 
      81             : void
      82           0 : nsIWidgetListener::WindowActivated()
      83             : {
      84           0 : }
      85             : 
      86             : void
      87           0 : nsIWidgetListener::WindowDeactivated()
      88             : {
      89           0 : }
      90             : 
      91             : void
      92           0 : nsIWidgetListener::OSToolbarButtonPressed()
      93             : {
      94           0 : }
      95             : 
      96             : bool
      97           0 : nsIWidgetListener::RequestWindowClose(nsIWidget* aWidget)
      98             : {
      99           0 :   return false;
     100             : }
     101             : 
     102             : void
     103           0 : nsIWidgetListener::WillPaintWindow(nsIWidget* aWidget)
     104             : {
     105           0 : }
     106             : 
     107             : bool
     108           0 : nsIWidgetListener::PaintWindow(nsIWidget* aWidget,
     109             :                                LayoutDeviceIntRegion aRegion)
     110             : {
     111           0 :   return false;
     112             : }
     113             : 
     114             : void
     115           0 : nsIWidgetListener::DidPaintWindow()
     116             : {
     117           0 : }
     118             : 
     119             : void
     120          23 : nsIWidgetListener::DidCompositeWindow(uint64_t aTransactionId,
     121             :                                       const TimeStamp& aCompositeStart,
     122             :                                       const TimeStamp& aCompositeEnd)
     123             : {
     124          23 : }
     125             : 
     126             : void
     127           0 : nsIWidgetListener::RequestRepaint()
     128             : {
     129           0 : }
     130             : 
     131             : nsEventStatus
     132           0 : nsIWidgetListener::HandleEvent(WidgetGUIEvent* aEvent,
     133             :                                bool aUseAttachedEvents)
     134             : {
     135           0 :   return nsEventStatus_eIgnore;
     136             : }

Generated by: LCOV version 1.13