LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsILayoutRegressionTester.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsILayoutRegressionTester.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsILayoutRegressionTester_h__
       6             : #define __gen_nsILayoutRegressionTester_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : class mozIDOMWindow; /* forward declaration */
      18             : 
      19             : class nsIFile; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsILayoutRegressionTester */
      23             : #define NS_ILAYOUTREGRESSIONTESTER_IID_STR "0a065e41-3a55-4b5c-bb41-1e848bb2d10c"
      24             : 
      25             : #define NS_ILAYOUTREGRESSIONTESTER_IID \
      26             :   {0x0a065e41, 0x3a55, 0x4b5c, \
      27             :     { 0xbb, 0x41, 0x1e, 0x84, 0x8b, 0xb2, 0xd1, 0x0c }}
      28             : 
      29           0 : class NS_NO_VTABLE nsILayoutRegressionTester : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILAYOUTREGRESSIONTESTER_IID)
      33             : 
      34             :   enum {
      35             :     DUMP_FLAGS_MASK_DEFAULT = 0,
      36             :     DUMP_FLAGS_MASK_PRINT_MODE = 1,
      37             :     DUMP_RESULT_COMPLETED = 0,
      38             :     DUMP_RESULT_LOADING = 1,
      39             :     DUMP_RESULT_ERROR = 2
      40             :   };
      41             : 
      42             :   /* long dumpFrameModel (in mozIDOMWindow aWindowToDump, in nsIFile aFile, in unsigned long aFlagsMask); */
      43             :   NS_IMETHOD DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval) = 0;
      44             : 
      45             :   enum {
      46             :     COMPARE_FLAGS_VERBOSE = 0,
      47             :     COMPARE_FLAGS_BRIEF = 1
      48             :   };
      49             : 
      50             :   /* boolean compareFrameModels (in nsIFile aBaseFile, in nsIFile aVerFile, in unsigned long aFlags); */
      51             :   NS_IMETHOD CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval) = 0;
      52             : 
      53             : };
      54             : 
      55             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsILayoutRegressionTester, NS_ILAYOUTREGRESSIONTESTER_IID)
      56             : 
      57             : /* Use this macro when declaring classes that implement this interface. */
      58             : #define NS_DECL_NSILAYOUTREGRESSIONTESTER \
      59             :   NS_IMETHOD DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval) override; \
      60             :   NS_IMETHOD CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval) override; 
      61             : 
      62             : /* Use this macro when declaring the members of this interface when the
      63             :    class doesn't implement the interface. This is useful for forwarding. */
      64             : #define NS_DECL_NON_VIRTUAL_NSILAYOUTREGRESSIONTESTER \
      65             :   nsresult DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval); \
      66             :   nsresult CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval); 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      69             : #define NS_FORWARD_NSILAYOUTREGRESSIONTESTER(_to) \
      70             :   NS_IMETHOD DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval) override { return _to DumpFrameModel(aWindowToDump, aFile, aFlagsMask, _retval); } \
      71             :   NS_IMETHOD CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval) override { return _to CompareFrameModels(aBaseFile, aVerFile, aFlags, _retval); } 
      72             : 
      73             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      74             : #define NS_FORWARD_SAFE_NSILAYOUTREGRESSIONTESTER(_to) \
      75             :   NS_IMETHOD DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpFrameModel(aWindowToDump, aFile, aFlagsMask, _retval); } \
      76             :   NS_IMETHOD CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareFrameModels(aBaseFile, aVerFile, aFlags, _retval); } 
      77             : 
      78             : #if 0
      79             : /* Use the code below as a template for the implementation class for this interface. */
      80             : 
      81             : /* Header file */
      82             : class nsLayoutRegressionTester : public nsILayoutRegressionTester
      83             : {
      84             : public:
      85             :   NS_DECL_ISUPPORTS
      86             :   NS_DECL_NSILAYOUTREGRESSIONTESTER
      87             : 
      88             :   nsLayoutRegressionTester();
      89             : 
      90             : private:
      91             :   ~nsLayoutRegressionTester();
      92             : 
      93             : protected:
      94             :   /* additional members */
      95             : };
      96             : 
      97             : /* Implementation file */
      98             : NS_IMPL_ISUPPORTS(nsLayoutRegressionTester, nsILayoutRegressionTester)
      99             : 
     100             : nsLayoutRegressionTester::nsLayoutRegressionTester()
     101             : {
     102             :   /* member initializers and constructor code */
     103             : }
     104             : 
     105             : nsLayoutRegressionTester::~nsLayoutRegressionTester()
     106             : {
     107             :   /* destructor code */
     108             : }
     109             : 
     110             : /* long dumpFrameModel (in mozIDOMWindow aWindowToDump, in nsIFile aFile, in unsigned long aFlagsMask); */
     111             : NS_IMETHODIMP nsLayoutRegressionTester::DumpFrameModel(mozIDOMWindow *aWindowToDump, nsIFile *aFile, uint32_t aFlagsMask, int32_t *_retval)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : 
     116             : /* boolean compareFrameModels (in nsIFile aBaseFile, in nsIFile aVerFile, in unsigned long aFlags); */
     117             : NS_IMETHODIMP nsLayoutRegressionTester::CompareFrameModels(nsIFile *aBaseFile, nsIFile *aVerFile, uint32_t aFlags, bool *_retval)
     118             : {
     119             :     return NS_ERROR_NOT_IMPLEMENTED;
     120             : }
     121             : 
     122             : /* End of implementation class template. */
     123             : #endif
     124             : 
     125             : 
     126             : #endif /* __gen_nsILayoutRegressionTester_h__ */

Generated by: LCOV version 1.13