1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMPopupBlockedEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMPopupBlockedEvent_h__
6 : #define __gen_nsIDOMPopupBlockedEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMEvent_h__
10 : #include "nsIDOMEvent.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 nsIURI; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMPopupBlockedEvent */
21 : #define NS_IDOMPOPUPBLOCKEDEVENT_IID_STR "853828af-eda7-459a-be7f-9011c20394ae"
22 :
23 : #define NS_IDOMPOPUPBLOCKEDEVENT_IID \
24 : {0x853828af, 0xeda7, 0x459a, \
25 : { 0xbe, 0x7f, 0x90, 0x11, 0xc2, 0x03, 0x94, 0xae }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMPopupBlockedEvent : public nsIDOMEvent {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPOPUPBLOCKEDEVENT_IID)
31 :
32 : /* readonly attribute nsIDOMWindow requestingWindow; */
33 : NS_SCRIPTABLE NS_IMETHOD GetRequestingWindow(nsIDOMWindow * *aRequestingWindow) = 0;
34 :
35 : /* readonly attribute nsIURI popupWindowURI; */
36 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowURI(nsIURI * *aPopupWindowURI) = 0;
37 :
38 : /* readonly attribute DOMString popupWindowFeatures; */
39 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowFeatures(nsAString & aPopupWindowFeatures) = 0;
40 :
41 : /* readonly attribute DOMString popupWindowName; */
42 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowName(nsAString & aPopupWindowName) = 0;
43 :
44 : /* void initPopupBlockedEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMWindow requestingWindow, in nsIURI popupWindowURI, in DOMString popupWindowName, in DOMString popupWindowFeatures); */
45 : NS_SCRIPTABLE NS_IMETHOD InitPopupBlockedEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *requestingWindow, nsIURI *popupWindowURI, const nsAString & popupWindowName, const nsAString & popupWindowFeatures) = 0;
46 :
47 : };
48 :
49 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPopupBlockedEvent, NS_IDOMPOPUPBLOCKEDEVENT_IID)
50 :
51 : /* Use this macro when declaring classes that implement this interface. */
52 : #define NS_DECL_NSIDOMPOPUPBLOCKEDEVENT \
53 : NS_SCRIPTABLE NS_IMETHOD GetRequestingWindow(nsIDOMWindow * *aRequestingWindow); \
54 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowURI(nsIURI * *aPopupWindowURI); \
55 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowFeatures(nsAString & aPopupWindowFeatures); \
56 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowName(nsAString & aPopupWindowName); \
57 : NS_SCRIPTABLE NS_IMETHOD InitPopupBlockedEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *requestingWindow, nsIURI *popupWindowURI, const nsAString & popupWindowName, const nsAString & popupWindowFeatures);
58 :
59 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
60 : #define NS_FORWARD_NSIDOMPOPUPBLOCKEDEVENT(_to) \
61 : NS_SCRIPTABLE NS_IMETHOD GetRequestingWindow(nsIDOMWindow * *aRequestingWindow) { return _to GetRequestingWindow(aRequestingWindow); } \
62 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowURI(nsIURI * *aPopupWindowURI) { return _to GetPopupWindowURI(aPopupWindowURI); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowFeatures(nsAString & aPopupWindowFeatures) { return _to GetPopupWindowFeatures(aPopupWindowFeatures); } \
64 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowName(nsAString & aPopupWindowName) { return _to GetPopupWindowName(aPopupWindowName); } \
65 : NS_SCRIPTABLE NS_IMETHOD InitPopupBlockedEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *requestingWindow, nsIURI *popupWindowURI, const nsAString & popupWindowName, const nsAString & popupWindowFeatures) { return _to InitPopupBlockedEvent(typeArg, canBubbleArg, cancelableArg, requestingWindow, popupWindowURI, popupWindowName, popupWindowFeatures); }
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_NSIDOMPOPUPBLOCKEDEVENT(_to) \
69 : NS_SCRIPTABLE NS_IMETHOD GetRequestingWindow(nsIDOMWindow * *aRequestingWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestingWindow(aRequestingWindow); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowURI(nsIURI * *aPopupWindowURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopupWindowURI(aPopupWindowURI); } \
71 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowFeatures(nsAString & aPopupWindowFeatures) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopupWindowFeatures(aPopupWindowFeatures); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetPopupWindowName(nsAString & aPopupWindowName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopupWindowName(aPopupWindowName); } \
73 : NS_SCRIPTABLE NS_IMETHOD InitPopupBlockedEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *requestingWindow, nsIURI *popupWindowURI, const nsAString & popupWindowName, const nsAString & popupWindowFeatures) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitPopupBlockedEvent(typeArg, canBubbleArg, cancelableArg, requestingWindow, popupWindowURI, popupWindowName, popupWindowFeatures); }
74 :
75 : #if 0
76 : /* Use the code below as a template for the implementation class for this interface. */
77 :
78 : /* Header file */
79 : class nsDOMPopupBlockedEvent : public nsIDOMPopupBlockedEvent
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSIDOMPOPUPBLOCKEDEVENT
84 :
85 : nsDOMPopupBlockedEvent();
86 :
87 : private:
88 : ~nsDOMPopupBlockedEvent();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS1(nsDOMPopupBlockedEvent, nsIDOMPopupBlockedEvent)
96 :
97 : nsDOMPopupBlockedEvent::nsDOMPopupBlockedEvent()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsDOMPopupBlockedEvent::~nsDOMPopupBlockedEvent()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* readonly attribute nsIDOMWindow requestingWindow; */
108 : NS_IMETHODIMP nsDOMPopupBlockedEvent::GetRequestingWindow(nsIDOMWindow * *aRequestingWindow)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute nsIURI popupWindowURI; */
114 : NS_IMETHODIMP nsDOMPopupBlockedEvent::GetPopupWindowURI(nsIURI * *aPopupWindowURI)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute DOMString popupWindowFeatures; */
120 : NS_IMETHODIMP nsDOMPopupBlockedEvent::GetPopupWindowFeatures(nsAString & aPopupWindowFeatures)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* readonly attribute DOMString popupWindowName; */
126 : NS_IMETHODIMP nsDOMPopupBlockedEvent::GetPopupWindowName(nsAString & aPopupWindowName)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* void initPopupBlockedEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMWindow requestingWindow, in nsIURI popupWindowURI, in DOMString popupWindowName, in DOMString popupWindowFeatures); */
132 : NS_IMETHODIMP nsDOMPopupBlockedEvent::InitPopupBlockedEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *requestingWindow, nsIURI *popupWindowURI, const nsAString & popupWindowName, const nsAString & popupWindowFeatures)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* End of implementation class template. */
138 : #endif
139 :
140 :
141 : #endif /* __gen_nsIDOMPopupBlockedEvent_h__ */
|