LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIGroupedSHistory.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/nsIGroupedSHistory.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIGroupedSHistory_h__
       6             : #define __gen_nsIGroupedSHistory_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #include "js/Value.h"
      14             : 
      15             : #include "mozilla/Assertions.h"
      16             : #include "mozilla/DebugOnly.h"
      17             : 
      18             : /* For IDL files that don't want to include root IDL files. */
      19             : #ifndef NS_NO_VTABLE
      20             : #define NS_NO_VTABLE
      21             : #endif
      22             : class nsIFrameLoader; /* forward declaration */
      23             : 
      24             : class nsIPartialSHistory; /* forward declaration */
      25             : 
      26             : 
      27             : /* starting interface:    nsIGroupedSHistory */
      28             : #define NS_IGROUPEDSHISTORY_IID_STR "813e498d-73a8-449a-be09-6187e62c5352"
      29             : 
      30             : #define NS_IGROUPEDSHISTORY_IID \
      31             :   {0x813e498d, 0x73a8, 0x449a, \
      32             :     { 0xbe, 0x09, 0x61, 0x87, 0xe6, 0x2c, 0x53, 0x52 }}
      33             : 
      34           0 : class NS_NO_VTABLE nsIGroupedSHistory : public nsISupports {
      35             :  public:
      36             : 
      37             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGROUPEDSHISTORY_IID)
      38             : 
      39             :   /* [infallible] readonly attribute unsigned long count; */
      40             :   NS_IMETHOD GetCount(uint32_t *aCount) = 0;
      41             :   inline uint32_t GetCount()
      42             :   {
      43             :     uint32_t result;
      44             :     mozilla::DebugOnly<nsresult> rv = GetCount(&result);
      45             :     MOZ_ASSERT(NS_SUCCEEDED(rv));
      46             :     return result;
      47             :   }
      48             : 
      49             :   /* readonly attribute nsIFrameLoader activeFrameLoader; */
      50             :   NS_IMETHOD GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader) = 0;
      51             : 
      52             :   /* void appendPartialSHistory (in nsIPartialSHistory aPartialHistory); */
      53             :   NS_IMETHOD AppendPartialSHistory(nsIPartialSHistory *aPartialHistory) = 0;
      54             : 
      55             :   /* void handleSHistoryUpdate (in nsIPartialSHistory aPartialHistory, in boolean aTruncate); */
      56             :   NS_IMETHOD HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate) = 0;
      57             : 
      58             :   /* nsIFrameLoader gotoIndex (in unsigned long aGlobalIndex); */
      59             :   NS_IMETHOD GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval) = 0;
      60             : 
      61             :   /* void closeInactiveFrameLoaderOwners (); */
      62             :   NS_IMETHOD CloseInactiveFrameLoaderOwners(void) = 0;
      63             : 
      64             :   /* void addPrerenderingPartialSHistory (in nsIPartialSHistory aPrerendering, in long aId); */
      65             :   NS_IMETHOD AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId) = 0;
      66             : 
      67             :   /* [implicit_jscontext] nsISupports activatePrerendering (in long aId); */
      68             :   NS_IMETHOD ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval) = 0;
      69             : 
      70             :   /* void cancelPrerendering (in long aId); */
      71             :   NS_IMETHOD CancelPrerendering(int32_t aId) = 0;
      72             : 
      73             : };
      74             : 
      75             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIGroupedSHistory, NS_IGROUPEDSHISTORY_IID)
      76             : 
      77             : /* Use this macro when declaring classes that implement this interface. */
      78             : #define NS_DECL_NSIGROUPEDSHISTORY \
      79             :   using nsIGroupedSHistory::GetCount; \
      80             :   NS_IMETHOD GetCount(uint32_t *aCount) override; \
      81             :   NS_IMETHOD GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader) override; \
      82             :   NS_IMETHOD AppendPartialSHistory(nsIPartialSHistory *aPartialHistory) override; \
      83             :   NS_IMETHOD HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate) override; \
      84             :   NS_IMETHOD GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval) override; \
      85             :   NS_IMETHOD CloseInactiveFrameLoaderOwners(void) override; \
      86             :   NS_IMETHOD AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId) override; \
      87             :   NS_IMETHOD ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval) override; \
      88             :   NS_IMETHOD CancelPrerendering(int32_t aId) override; 
      89             : 
      90             : /* Use this macro when declaring the members of this interface when the
      91             :    class doesn't implement the interface. This is useful for forwarding. */
      92             : #define NS_DECL_NON_VIRTUAL_NSIGROUPEDSHISTORY \
      93             :   using nsIGroupedSHistory::GetCount; \
      94             :   nsresult GetCount(uint32_t *aCount); \
      95             :   nsresult GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader); \
      96             :   nsresult AppendPartialSHistory(nsIPartialSHistory *aPartialHistory); \
      97             :   nsresult HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate); \
      98             :   nsresult GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval); \
      99             :   nsresult CloseInactiveFrameLoaderOwners(void); \
     100             :   nsresult AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId); \
     101             :   nsresult ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval); \
     102             :   nsresult CancelPrerendering(int32_t aId); 
     103             : 
     104             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     105             : #define NS_FORWARD_NSIGROUPEDSHISTORY(_to) \
     106             :   using nsIGroupedSHistory::GetCount; \
     107             :   NS_IMETHOD GetCount(uint32_t *aCount) override { return _to GetCount(aCount); } \
     108             :   NS_IMETHOD GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader) override { return _to GetActiveFrameLoader(aActiveFrameLoader); } \
     109             :   NS_IMETHOD AppendPartialSHistory(nsIPartialSHistory *aPartialHistory) override { return _to AppendPartialSHistory(aPartialHistory); } \
     110             :   NS_IMETHOD HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate) override { return _to HandleSHistoryUpdate(aPartialHistory, aTruncate); } \
     111             :   NS_IMETHOD GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval) override { return _to GotoIndex(aGlobalIndex, _retval); } \
     112             :   NS_IMETHOD CloseInactiveFrameLoaderOwners(void) override { return _to CloseInactiveFrameLoaderOwners(); } \
     113             :   NS_IMETHOD AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId) override { return _to AddPrerenderingPartialSHistory(aPrerendering, aId); } \
     114             :   NS_IMETHOD ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval) override { return _to ActivatePrerendering(aId, cx, _retval); } \
     115             :   NS_IMETHOD CancelPrerendering(int32_t aId) override { return _to CancelPrerendering(aId); } 
     116             : 
     117             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     118             : #define NS_FORWARD_SAFE_NSIGROUPEDSHISTORY(_to) \
     119             :   NS_IMETHOD GetCount(uint32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
     120             :   NS_IMETHOD GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveFrameLoader(aActiveFrameLoader); } \
     121             :   NS_IMETHOD AppendPartialSHistory(nsIPartialSHistory *aPartialHistory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendPartialSHistory(aPartialHistory); } \
     122             :   NS_IMETHOD HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleSHistoryUpdate(aPartialHistory, aTruncate); } \
     123             :   NS_IMETHOD GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GotoIndex(aGlobalIndex, _retval); } \
     124             :   NS_IMETHOD CloseInactiveFrameLoaderOwners(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseInactiveFrameLoaderOwners(); } \
     125             :   NS_IMETHOD AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPrerenderingPartialSHistory(aPrerendering, aId); } \
     126             :   NS_IMETHOD ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ActivatePrerendering(aId, cx, _retval); } \
     127             :   NS_IMETHOD CancelPrerendering(int32_t aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelPrerendering(aId); } 
     128             : 
     129             : #if 0
     130             : /* Use the code below as a template for the implementation class for this interface. */
     131             : 
     132             : /* Header file */
     133             : class nsGroupedSHistory : public nsIGroupedSHistory
     134             : {
     135             : public:
     136             :   NS_DECL_ISUPPORTS
     137             :   NS_DECL_NSIGROUPEDSHISTORY
     138             : 
     139             :   nsGroupedSHistory();
     140             : 
     141             : private:
     142             :   ~nsGroupedSHistory();
     143             : 
     144             : protected:
     145             :   /* additional members */
     146             : };
     147             : 
     148             : /* Implementation file */
     149             : NS_IMPL_ISUPPORTS(nsGroupedSHistory, nsIGroupedSHistory)
     150             : 
     151             : nsGroupedSHistory::nsGroupedSHistory()
     152             : {
     153             :   /* member initializers and constructor code */
     154             : }
     155             : 
     156             : nsGroupedSHistory::~nsGroupedSHistory()
     157             : {
     158             :   /* destructor code */
     159             : }
     160             : 
     161             : /* [infallible] readonly attribute unsigned long count; */
     162             : NS_IMETHODIMP nsGroupedSHistory::GetCount(uint32_t *aCount)
     163             : {
     164             :     return NS_ERROR_NOT_IMPLEMENTED;
     165             : }
     166             : 
     167             : /* readonly attribute nsIFrameLoader activeFrameLoader; */
     168             : NS_IMETHODIMP nsGroupedSHistory::GetActiveFrameLoader(nsIFrameLoader * *aActiveFrameLoader)
     169             : {
     170             :     return NS_ERROR_NOT_IMPLEMENTED;
     171             : }
     172             : 
     173             : /* void appendPartialSHistory (in nsIPartialSHistory aPartialHistory); */
     174             : NS_IMETHODIMP nsGroupedSHistory::AppendPartialSHistory(nsIPartialSHistory *aPartialHistory)
     175             : {
     176             :     return NS_ERROR_NOT_IMPLEMENTED;
     177             : }
     178             : 
     179             : /* void handleSHistoryUpdate (in nsIPartialSHistory aPartialHistory, in boolean aTruncate); */
     180             : NS_IMETHODIMP nsGroupedSHistory::HandleSHistoryUpdate(nsIPartialSHistory *aPartialHistory, bool aTruncate)
     181             : {
     182             :     return NS_ERROR_NOT_IMPLEMENTED;
     183             : }
     184             : 
     185             : /* nsIFrameLoader gotoIndex (in unsigned long aGlobalIndex); */
     186             : NS_IMETHODIMP nsGroupedSHistory::GotoIndex(uint32_t aGlobalIndex, nsIFrameLoader * *_retval)
     187             : {
     188             :     return NS_ERROR_NOT_IMPLEMENTED;
     189             : }
     190             : 
     191             : /* void closeInactiveFrameLoaderOwners (); */
     192             : NS_IMETHODIMP nsGroupedSHistory::CloseInactiveFrameLoaderOwners()
     193             : {
     194             :     return NS_ERROR_NOT_IMPLEMENTED;
     195             : }
     196             : 
     197             : /* void addPrerenderingPartialSHistory (in nsIPartialSHistory aPrerendering, in long aId); */
     198             : NS_IMETHODIMP nsGroupedSHistory::AddPrerenderingPartialSHistory(nsIPartialSHistory *aPrerendering, int32_t aId)
     199             : {
     200             :     return NS_ERROR_NOT_IMPLEMENTED;
     201             : }
     202             : 
     203             : /* [implicit_jscontext] nsISupports activatePrerendering (in long aId); */
     204             : NS_IMETHODIMP nsGroupedSHistory::ActivatePrerendering(int32_t aId, JSContext* cx, nsISupports * *_retval)
     205             : {
     206             :     return NS_ERROR_NOT_IMPLEMENTED;
     207             : }
     208             : 
     209             : /* void cancelPrerendering (in long aId); */
     210             : NS_IMETHODIMP nsGroupedSHistory::CancelPrerendering(int32_t aId)
     211             : {
     212             :     return NS_ERROR_NOT_IMPLEMENTED;
     213             : }
     214             : 
     215             : /* End of implementation class template. */
     216             : #endif
     217             : 
     218             : 
     219             : #endif /* __gen_nsIGroupedSHistory_h__ */

Generated by: LCOV version 1.13