/usr/include/thunderbird/nsITabParent.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsITabParent.idl
*/
#ifndef __gen_nsITabParent_h__
#define __gen_nsITabParent_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsITabParent */
#define NS_ITABPARENT_IID_STR "b19038ba-0d75-40d2-be35-742e26d33bf9"
#define NS_ITABPARENT_IID \
{0xb19038ba, 0x0d75, 0x40d2, \
{ 0xbe, 0x35, 0x74, 0x2e, 0x26, 0xd3, 0x3b, 0xf9 }}
class NS_NO_VTABLE nsITabParent : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITABPARENT_IID)
/* void injectTouchEvent (in AString aType, [array, size_is (count)] in uint32_t aIdentifiers, [array, size_is (count)] in int32_t aXs, [array, size_is (count)] in int32_t aYs, [array, size_is (count)] in uint32_t aRxs, [array, size_is (count)] in uint32_t aRys, [array, size_is (count)] in float aRotationAngles, [array, size_is (count)] in float aForces, in uint32_t count, in long aModifiers); */
NS_IMETHOD InjectTouchEvent(const nsAString & aType, uint32_t *aIdentifiers, int32_t *aXs, int32_t *aYs, uint32_t *aRxs, uint32_t *aRys, float *aRotationAngles, float *aForces, uint32_t count, int32_t aModifiers) = 0;
/* void getChildProcessOffset (out int32_t aCssX, out int32_t aCssY); */
NS_IMETHOD GetChildProcessOffset(int32_t *aCssX, int32_t *aCssY) = 0;
/* readonly attribute boolean useAsyncPanZoom; */
NS_IMETHOD GetUseAsyncPanZoom(bool *aUseAsyncPanZoom) = 0;
/* void setIsDocShellActive (in bool aIsActive); */
NS_IMETHOD SetIsDocShellActive(bool aIsActive) = 0;
/* readonly attribute uint64_t tabId; */
NS_IMETHOD GetTabId(uint64_t *aTabId) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITabParent, NS_ITABPARENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITABPARENT \
NS_IMETHOD InjectTouchEvent(const nsAString & aType, uint32_t *aIdentifiers, int32_t *aXs, int32_t *aYs, uint32_t *aRxs, uint32_t *aRys, float *aRotationAngles, float *aForces, uint32_t count, int32_t aModifiers) override; \
NS_IMETHOD GetChildProcessOffset(int32_t *aCssX, int32_t *aCssY) override; \
NS_IMETHOD GetUseAsyncPanZoom(bool *aUseAsyncPanZoom) override; \
NS_IMETHOD SetIsDocShellActive(bool aIsActive) override; \
NS_IMETHOD GetTabId(uint64_t *aTabId) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITABPARENT(_to) \
NS_IMETHOD InjectTouchEvent(const nsAString & aType, uint32_t *aIdentifiers, int32_t *aXs, int32_t *aYs, uint32_t *aRxs, uint32_t *aRys, float *aRotationAngles, float *aForces, uint32_t count, int32_t aModifiers) override { return _to InjectTouchEvent(aType, aIdentifiers, aXs, aYs, aRxs, aRys, aRotationAngles, aForces, count, aModifiers); } \
NS_IMETHOD GetChildProcessOffset(int32_t *aCssX, int32_t *aCssY) override { return _to GetChildProcessOffset(aCssX, aCssY); } \
NS_IMETHOD GetUseAsyncPanZoom(bool *aUseAsyncPanZoom) override { return _to GetUseAsyncPanZoom(aUseAsyncPanZoom); } \
NS_IMETHOD SetIsDocShellActive(bool aIsActive) override { return _to SetIsDocShellActive(aIsActive); } \
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_NSITABPARENT(_to) \
NS_IMETHOD InjectTouchEvent(const nsAString & aType, uint32_t *aIdentifiers, int32_t *aXs, int32_t *aYs, uint32_t *aRxs, uint32_t *aRys, float *aRotationAngles, float *aForces, uint32_t count, int32_t aModifiers) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InjectTouchEvent(aType, aIdentifiers, aXs, aYs, aRxs, aRys, aRotationAngles, aForces, count, aModifiers); } \
NS_IMETHOD GetChildProcessOffset(int32_t *aCssX, int32_t *aCssY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildProcessOffset(aCssX, aCssY); } \
NS_IMETHOD GetUseAsyncPanZoom(bool *aUseAsyncPanZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseAsyncPanZoom(aUseAsyncPanZoom); } \
NS_IMETHOD SetIsDocShellActive(bool aIsActive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDocShellActive(aIsActive); } \
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 nsTabParent : public nsITabParent
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITABPARENT
nsTabParent();
private:
~nsTabParent();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsTabParent, nsITabParent)
nsTabParent::nsTabParent()
{
/* member initializers and constructor code */
}
nsTabParent::~nsTabParent()
{
/* destructor code */
}
/* void injectTouchEvent (in AString aType, [array, size_is (count)] in uint32_t aIdentifiers, [array, size_is (count)] in int32_t aXs, [array, size_is (count)] in int32_t aYs, [array, size_is (count)] in uint32_t aRxs, [array, size_is (count)] in uint32_t aRys, [array, size_is (count)] in float aRotationAngles, [array, size_is (count)] in float aForces, in uint32_t count, in long aModifiers); */
NS_IMETHODIMP nsTabParent::InjectTouchEvent(const nsAString & aType, uint32_t *aIdentifiers, int32_t *aXs, int32_t *aYs, uint32_t *aRxs, uint32_t *aRys, float *aRotationAngles, float *aForces, uint32_t count, int32_t aModifiers)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getChildProcessOffset (out int32_t aCssX, out int32_t aCssY); */
NS_IMETHODIMP nsTabParent::GetChildProcessOffset(int32_t *aCssX, int32_t *aCssY)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean useAsyncPanZoom; */
NS_IMETHODIMP nsTabParent::GetUseAsyncPanZoom(bool *aUseAsyncPanZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setIsDocShellActive (in bool aIsActive); */
NS_IMETHODIMP nsTabParent::SetIsDocShellActive(bool aIsActive)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute uint64_t tabId; */
NS_IMETHODIMP nsTabParent::GetTabId(uint64_t *aTabId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsITabParent_h__ */
|