Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/layout/tools/layout-debug/src/nsILayoutDebuggingTools.idl
*/
#ifndef __gen_nsILayoutDebuggingTools_h__
#define __gen_nsILayoutDebuggingTools_h__
#include "nsISupports.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class mozIDOMWindow; /* forward declaration */
/* starting interface: nsILayoutDebuggingTools */
#define NS_ILAYOUTDEBUGGINGTOOLS_IID_STR "f336d8d3-9721-4ad3-85d0-a7018c0a3383"
#define NS_ILAYOUTDEBUGGINGTOOLS_IID \
{0xf336d8d3, 0x9721, 0x4ad3, \
{ 0x85, 0xd0, 0xa7, 0x01, 0x8c, 0x0a, 0x33, 0x83 }}
class NS_NO_VTABLE nsILayoutDebuggingTools : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILAYOUTDEBUGGINGTOOLS_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsILayoutDebuggingTools;
/* void init (in mozIDOMWindow win); */
NS_IMETHOD Init(mozIDOMWindow *win) = 0;
/* void forceRefresh (); */
NS_IMETHOD ForceRefresh(void) = 0;
/* void setReflowCounts (in boolean enabled); */
NS_IMETHOD SetReflowCounts(bool enabled) = 0;
/* void setPagedMode (in boolean enabled); */
NS_IMETHOD SetPagedMode(bool enabled) = 0;
/* void dumpContent (); */
NS_IMETHOD DumpContent(void) = 0;
/* void dumpFrames (); */
NS_IMETHOD DumpFrames(void) = 0;
/* void dumpFramesInCSSPixels (); */
NS_IMETHOD DumpFramesInCSSPixels(void) = 0;
/* void dumpTextRuns (); */
NS_IMETHOD DumpTextRuns(void) = 0;
/* void dumpViews (); */
NS_IMETHOD DumpViews(void) = 0;
/* void dumpCounterManager (); */
NS_IMETHOD DumpCounterManager(void) = 0;
/* void dumpStyleSheets (); */
NS_IMETHOD DumpStyleSheets(void) = 0;
/* void dumpMatchedRules (); */
NS_IMETHOD DumpMatchedRules(void) = 0;
/* void dumpComputedStyles (); */
NS_IMETHOD DumpComputedStyles(void) = 0;
/* void dumpReflowStats (); */
NS_IMETHOD DumpReflowStats(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsILayoutDebuggingTools, NS_ILAYOUTDEBUGGINGTOOLS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILAYOUTDEBUGGINGTOOLS \
NS_IMETHOD Init(mozIDOMWindow *win) override; \
NS_IMETHOD ForceRefresh(void) override; \
NS_IMETHOD SetReflowCounts(bool enabled) override; \
NS_IMETHOD SetPagedMode(bool enabled) override; \
NS_IMETHOD DumpContent(void) override; \
NS_IMETHOD DumpFrames(void) override; \
NS_IMETHOD DumpFramesInCSSPixels(void) override; \
NS_IMETHOD DumpTextRuns(void) override; \
NS_IMETHOD DumpViews(void) override; \
NS_IMETHOD DumpCounterManager(void) override; \
NS_IMETHOD DumpStyleSheets(void) override; \
NS_IMETHOD DumpMatchedRules(void) override; \
NS_IMETHOD DumpComputedStyles(void) override; \
NS_IMETHOD DumpReflowStats(void) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSILAYOUTDEBUGGINGTOOLS \
nsresult Init(mozIDOMWindow *win); \
nsresult ForceRefresh(void); \
nsresult SetReflowCounts(bool enabled); \
nsresult SetPagedMode(bool enabled); \
nsresult DumpContent(void); \
nsresult DumpFrames(void); \
nsresult DumpFramesInCSSPixels(void); \
nsresult DumpTextRuns(void); \
nsresult DumpViews(void); \
nsresult DumpCounterManager(void); \
nsresult DumpStyleSheets(void); \
nsresult DumpMatchedRules(void); \
nsresult DumpComputedStyles(void); \
nsresult DumpReflowStats(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILAYOUTDEBUGGINGTOOLS(_to) \
NS_IMETHOD Init(mozIDOMWindow *win) override { return _to Init(win); } \
NS_IMETHOD ForceRefresh(void) override { return _to ForceRefresh(); } \
NS_IMETHOD SetReflowCounts(bool enabled) override { return _to SetReflowCounts(enabled); } \
NS_IMETHOD SetPagedMode(bool enabled) override { return _to SetPagedMode(enabled); } \
NS_IMETHOD DumpContent(void) override { return _to DumpContent(); } \
NS_IMETHOD DumpFrames(void) override { return _to DumpFrames(); } \
NS_IMETHOD DumpFramesInCSSPixels(void) override { return _to DumpFramesInCSSPixels(); } \
NS_IMETHOD DumpTextRuns(void) override { return _to DumpTextRuns(); } \
NS_IMETHOD DumpViews(void) override { return _to DumpViews(); } \
NS_IMETHOD DumpCounterManager(void) override { return _to DumpCounterManager(); } \
NS_IMETHOD DumpStyleSheets(void) override { return _to DumpStyleSheets(); } \
NS_IMETHOD DumpMatchedRules(void) override { return _to DumpMatchedRules(); } \
NS_IMETHOD DumpComputedStyles(void) override { return _to DumpComputedStyles(); } \
NS_IMETHOD DumpReflowStats(void) override { return _to DumpReflowStats(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILAYOUTDEBUGGINGTOOLS(_to) \
NS_IMETHOD Init(mozIDOMWindow *win) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(win); } \
NS_IMETHOD ForceRefresh(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ForceRefresh(); } \
NS_IMETHOD SetReflowCounts(bool enabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReflowCounts(enabled); } \
NS_IMETHOD SetPagedMode(bool enabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPagedMode(enabled); } \
NS_IMETHOD DumpContent(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpContent(); } \
NS_IMETHOD DumpFrames(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpFrames(); } \
NS_IMETHOD DumpFramesInCSSPixels(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpFramesInCSSPixels(); } \
NS_IMETHOD DumpTextRuns(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpTextRuns(); } \
NS_IMETHOD DumpViews(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpViews(); } \
NS_IMETHOD DumpCounterManager(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpCounterManager(); } \
NS_IMETHOD DumpStyleSheets(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpStyleSheets(); } \
NS_IMETHOD DumpMatchedRules(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpMatchedRules(); } \
NS_IMETHOD DumpComputedStyles(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpComputedStyles(); } \
NS_IMETHOD DumpReflowStats(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpReflowStats(); }
#endif /* __gen_nsILayoutDebuggingTools_h__ */