1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/tools/layout-debug/src/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 nsIDOMWindow; /* forward declaration */
18 :
19 : class nsILocalFile; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsILayoutRegressionTester */
23 : #define NS_ILAYOUTREGRESSIONTESTER_IID_STR "b249b2c0-ee11-11da-8ad9-0800200c9a66"
24 :
25 : #define NS_ILAYOUTREGRESSIONTESTER_IID \
26 : {0xb249b2c0, 0xee11, 0x11da, \
27 : { 0x8a, 0xd9, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE 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 nsIDOMWindow aWindowToDump, in nsILocalFile aFile, in unsigned long aFlagsMask); */
43 : NS_SCRIPTABLE NS_IMETHOD DumpFrameModel(nsIDOMWindow *aWindowToDump, nsILocalFile *aFile, PRUint32 aFlagsMask, PRInt32 *_retval NS_OUTPARAM) = 0;
44 :
45 : enum {
46 : COMPARE_FLAGS_VERBOSE = 0,
47 : COMPARE_FLAGS_BRIEF = 1
48 : };
49 :
50 : /* long compareFrameModels (in nsILocalFile aBaseFile, in nsILocalFile aVerFile, in unsigned long aFlags); */
51 : NS_SCRIPTABLE NS_IMETHOD CompareFrameModels(nsILocalFile *aBaseFile, nsILocalFile *aVerFile, PRUint32 aFlags, PRInt32 *_retval NS_OUTPARAM) = 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_SCRIPTABLE NS_IMETHOD DumpFrameModel(nsIDOMWindow *aWindowToDump, nsILocalFile *aFile, PRUint32 aFlagsMask, PRInt32 *_retval NS_OUTPARAM); \
60 : NS_SCRIPTABLE NS_IMETHOD CompareFrameModels(nsILocalFile *aBaseFile, nsILocalFile *aVerFile, PRUint32 aFlags, PRInt32 *_retval NS_OUTPARAM);
61 :
62 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
63 : #define NS_FORWARD_NSILAYOUTREGRESSIONTESTER(_to) \
64 : NS_SCRIPTABLE NS_IMETHOD DumpFrameModel(nsIDOMWindow *aWindowToDump, nsILocalFile *aFile, PRUint32 aFlagsMask, PRInt32 *_retval NS_OUTPARAM) { return _to DumpFrameModel(aWindowToDump, aFile, aFlagsMask, _retval); } \
65 : NS_SCRIPTABLE NS_IMETHOD CompareFrameModels(nsILocalFile *aBaseFile, nsILocalFile *aVerFile, PRUint32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return _to CompareFrameModels(aBaseFile, aVerFile, aFlags, _retval); }
66 :
67 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
68 : #define NS_FORWARD_SAFE_NSILAYOUTREGRESSIONTESTER(_to) \
69 : NS_SCRIPTABLE NS_IMETHOD DumpFrameModel(nsIDOMWindow *aWindowToDump, nsILocalFile *aFile, PRUint32 aFlagsMask, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpFrameModel(aWindowToDump, aFile, aFlagsMask, _retval); } \
70 : NS_SCRIPTABLE NS_IMETHOD CompareFrameModels(nsILocalFile *aBaseFile, nsILocalFile *aVerFile, PRUint32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareFrameModels(aBaseFile, aVerFile, aFlags, _retval); }
71 :
72 : #if 0
73 : /* Use the code below as a template for the implementation class for this interface. */
74 :
75 : /* Header file */
76 : class nsLayoutRegressionTester : public nsILayoutRegressionTester
77 : {
78 : public:
79 : NS_DECL_ISUPPORTS
80 : NS_DECL_NSILAYOUTREGRESSIONTESTER
81 :
82 : nsLayoutRegressionTester();
83 :
84 : private:
85 : ~nsLayoutRegressionTester();
86 :
87 : protected:
88 : /* additional members */
89 : };
90 :
91 : /* Implementation file */
92 : NS_IMPL_ISUPPORTS1(nsLayoutRegressionTester, nsILayoutRegressionTester)
93 :
94 : nsLayoutRegressionTester::nsLayoutRegressionTester()
95 : {
96 : /* member initializers and constructor code */
97 : }
98 :
99 : nsLayoutRegressionTester::~nsLayoutRegressionTester()
100 : {
101 : /* destructor code */
102 : }
103 :
104 : /* long dumpFrameModel (in nsIDOMWindow aWindowToDump, in nsILocalFile aFile, in unsigned long aFlagsMask); */
105 : NS_IMETHODIMP nsLayoutRegressionTester::DumpFrameModel(nsIDOMWindow *aWindowToDump, nsILocalFile *aFile, PRUint32 aFlagsMask, PRInt32 *_retval NS_OUTPARAM)
106 : {
107 : return NS_ERROR_NOT_IMPLEMENTED;
108 : }
109 :
110 : /* long compareFrameModels (in nsILocalFile aBaseFile, in nsILocalFile aVerFile, in unsigned long aFlags); */
111 : NS_IMETHODIMP nsLayoutRegressionTester::CompareFrameModels(nsILocalFile *aBaseFile, nsILocalFile *aVerFile, PRUint32 aFlags, PRInt32 *_retval NS_OUTPARAM)
112 : {
113 : return NS_ERROR_NOT_IMPLEMENTED;
114 : }
115 :
116 : /* End of implementation class template. */
117 : #endif
118 :
119 :
120 : #endif /* __gen_nsILayoutRegressionTester_h__ */
|