/usr/include/thunderbird/nsITabChild.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsITabChild.idl
*/
#ifndef __gen_nsITabChild_h__
#define __gen_nsITabChild_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
#ifndef __gen_nsIDroppedLinkHandler_h__
#include "nsIDroppedLinkHandler.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIContentFrameMessageManager; /* forward declaration */
class nsIWebBrowserChrome3; /* forward declaration */
/* starting interface: nsITabChild */
#define NS_ITABCHILD_IID_STR "1fb79c27-e760-4088-b19c-1ce3673ec24e"
#define NS_ITABCHILD_IID \
{0x1fb79c27, 0xe760, 0x4088, \
{ 0xb1, 0x9c, 0x1c, 0xe3, 0x67, 0x3e, 0xc2, 0x4e }}
class NS_NO_VTABLE nsITabChild : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITABCHILD_IID)
/* readonly attribute nsIContentFrameMessageManager messageManager; */
NS_IMETHOD GetMessageManager(nsIContentFrameMessageManager * *aMessageManager) = 0;
/* attribute nsIWebBrowserChrome3 webBrowserChrome; */
NS_IMETHOD GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome) = 0;
NS_IMETHOD SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome) = 0;
/* [notxpcom] void sendRequestFocus (in boolean canFocus); */
NS_IMETHOD_(void) SendRequestFocus(bool canFocus) = 0;
/* [notxpcom] void sendGetTabCount (out uint32_t tabCount); */
NS_IMETHOD_(void) SendGetTabCount(uint32_t *tabCount) = 0;
/* [noscript,notxpcom] void enableDisableCommands (in AString action, in CommandsArrayRef enabledCommands, in CommandsArrayRef disabledCommands); */
NS_IMETHOD_(void) EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands) = 0;
/* [noscript] void remoteSizeShellTo (in int32_t width, in int32_t height, in int32_t shellItemWidth, in int32_t shellItemHeight); */
NS_IMETHOD RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight) = 0;
/* [noscript] void remoteDropLinks (in unsigned long linksCount, [array, size_is (linksCount)] in nsIDroppedLinkItem links); */
NS_IMETHOD RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links) = 0;
/* readonly attribute uint64_t tabId; */
NS_IMETHOD GetTabId(uint64_t *aTabId) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITabChild, NS_ITABCHILD_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITABCHILD \
NS_IMETHOD GetMessageManager(nsIContentFrameMessageManager * *aMessageManager) override; \
NS_IMETHOD GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome) override; \
NS_IMETHOD SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome) override; \
NS_IMETHOD_(void) SendRequestFocus(bool canFocus) override; \
NS_IMETHOD_(void) SendGetTabCount(uint32_t *tabCount) override; \
NS_IMETHOD_(void) EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands) override; \
NS_IMETHOD RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight) override; \
NS_IMETHOD RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links) override; \
NS_IMETHOD GetTabId(uint64_t *aTabId) 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_NSITABCHILD \
NS_METHOD GetMessageManager(nsIContentFrameMessageManager * *aMessageManager); \
NS_METHOD GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome); \
NS_METHOD SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome); \
NS_METHOD_(void) SendRequestFocus(bool canFocus); \
NS_METHOD_(void) SendGetTabCount(uint32_t *tabCount); \
NS_METHOD_(void) EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands); \
NS_METHOD RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight); \
NS_METHOD RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links); \
NS_METHOD GetTabId(uint64_t *aTabId);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITABCHILD(_to) \
NS_IMETHOD GetMessageManager(nsIContentFrameMessageManager * *aMessageManager) override { return _to GetMessageManager(aMessageManager); } \
NS_IMETHOD GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome) override { return _to GetWebBrowserChrome(aWebBrowserChrome); } \
NS_IMETHOD SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome) override { return _to SetWebBrowserChrome(aWebBrowserChrome); } \
NS_IMETHOD_(void) SendRequestFocus(bool canFocus) override { return _to SendRequestFocus(canFocus); } \
NS_IMETHOD_(void) SendGetTabCount(uint32_t *tabCount) override { return _to SendGetTabCount(tabCount); } \
NS_IMETHOD_(void) EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands) override { return _to EnableDisableCommands(action, enabledCommands, disabledCommands); } \
NS_IMETHOD RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight) override { return _to RemoteSizeShellTo(width, height, shellItemWidth, shellItemHeight); } \
NS_IMETHOD RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links) override { return _to RemoteDropLinks(linksCount, links); } \
NS_IMETHOD GetTabId(uint64_t *aTabId) override { return _to GetTabId(aTabId); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITABCHILD(_to) \
NS_IMETHOD GetMessageManager(nsIContentFrameMessageManager * *aMessageManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageManager(aMessageManager); } \
NS_IMETHOD GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebBrowserChrome(aWebBrowserChrome); } \
NS_IMETHOD SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWebBrowserChrome(aWebBrowserChrome); } \
NS_IMETHOD_(void) SendRequestFocus(bool canFocus) override; \
NS_IMETHOD_(void) SendGetTabCount(uint32_t *tabCount) override; \
NS_IMETHOD_(void) EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands) override; \
NS_IMETHOD RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoteSizeShellTo(width, height, shellItemWidth, shellItemHeight); } \
NS_IMETHOD RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoteDropLinks(linksCount, links); } \
NS_IMETHOD GetTabId(uint64_t *aTabId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTabId(aTabId); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsTabChild : public nsITabChild
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITABCHILD
nsTabChild();
private:
~nsTabChild();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsTabChild, nsITabChild)
nsTabChild::nsTabChild()
{
/* member initializers and constructor code */
}
nsTabChild::~nsTabChild()
{
/* destructor code */
}
/* readonly attribute nsIContentFrameMessageManager messageManager; */
NS_IMETHODIMP nsTabChild::GetMessageManager(nsIContentFrameMessageManager * *aMessageManager)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIWebBrowserChrome3 webBrowserChrome; */
NS_IMETHODIMP nsTabChild::GetWebBrowserChrome(nsIWebBrowserChrome3 * *aWebBrowserChrome)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsTabChild::SetWebBrowserChrome(nsIWebBrowserChrome3 *aWebBrowserChrome)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [notxpcom] void sendRequestFocus (in boolean canFocus); */
NS_IMETHODIMP_(void) nsTabChild::SendRequestFocus(bool canFocus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [notxpcom] void sendGetTabCount (out uint32_t tabCount); */
NS_IMETHODIMP_(void) nsTabChild::SendGetTabCount(uint32_t *tabCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript,notxpcom] void enableDisableCommands (in AString action, in CommandsArrayRef enabledCommands, in CommandsArrayRef disabledCommands); */
NS_IMETHODIMP_(void) nsTabChild::EnableDisableCommands(const nsAString & action, nsTArray<nsCString> & enabledCommands, nsTArray<nsCString> & disabledCommands)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void remoteSizeShellTo (in int32_t width, in int32_t height, in int32_t shellItemWidth, in int32_t shellItemHeight); */
NS_IMETHODIMP nsTabChild::RemoteSizeShellTo(int32_t width, int32_t height, int32_t shellItemWidth, int32_t shellItemHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void remoteDropLinks (in unsigned long linksCount, [array, size_is (linksCount)] in nsIDroppedLinkItem links); */
NS_IMETHODIMP nsTabChild::RemoteDropLinks(uint32_t linksCount, nsIDroppedLinkItem **links)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute uint64_t tabId; */
NS_IMETHODIMP nsTabChild::GetTabId(uint64_t *aTabId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsITabChild_h__ */
|