LCOV - code coverage report
Current view: top level - widget - nsBaseScreen.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 14 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 10 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: sw=2 ts=8 et :
       3             :  */
       4             : /* This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       7             : 
       8             : #define MOZ_FATAL_ASSERTIONS_FOR_THREAD_SAFETY
       9             : 
      10             : #include "nsBaseScreen.h"
      11             : 
      12           0 : NS_IMPL_ISUPPORTS(nsBaseScreen, nsIScreen)
      13             : 
      14           0 : nsBaseScreen::nsBaseScreen()
      15             : {
      16           0 : }
      17             : 
      18           0 : nsBaseScreen::~nsBaseScreen() { }
      19             : 
      20             : NS_IMETHODIMP
      21           0 : nsBaseScreen::GetRectDisplayPix(int32_t *outLeft,  int32_t *outTop,
      22             :                                 int32_t *outWidth, int32_t *outHeight)
      23             : {
      24           0 :   return GetRect(outLeft, outTop, outWidth, outHeight);
      25             : }
      26             : 
      27             : NS_IMETHODIMP
      28           0 : nsBaseScreen::GetAvailRectDisplayPix(int32_t *outLeft,  int32_t *outTop,
      29             :                                      int32_t *outWidth, int32_t *outHeight)
      30             : {
      31           0 :   return GetAvailRect(outLeft, outTop, outWidth, outHeight);
      32             : }
      33             : 
      34             : NS_IMETHODIMP
      35           0 : nsBaseScreen::GetContentsScaleFactor(double* aContentsScaleFactor)
      36             : {
      37           0 :   *aContentsScaleFactor = 1.0;
      38           0 :   return NS_OK;
      39             : }
      40             : 
      41             : NS_IMETHODIMP
      42           0 : nsBaseScreen::GetDefaultCSSScaleFactor(double* aScaleFactor)
      43             : {
      44           0 :   *aScaleFactor = 1.0;
      45           0 :   return NS_OK;
      46             : }

Generated by: LCOV version 1.13