Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Side by Side Diff: gecko-sdk/include/nsIDOMCustomEvent.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gecko-sdk/include/nsIDOMComment.h ('k') | gecko-sdk/include/nsIDOMDOMException.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0 -Release/WINNT_5.2_Depend/mozilla/dom/public/idl/events/nsIDOMCustomEvent.idl
3 */
4
5 #ifndef __gen_nsIDOMCustomEvent_h__
6 #define __gen_nsIDOMCustomEvent_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
18 /* starting interface: nsIDOMCustomEvent */
19 #define NS_IDOMCUSTOMEVENT_IID_STR "55c7af7b-1a64-40bf-87eb-2c2cbee0491b"
20
21 #define NS_IDOMCUSTOMEVENT_IID \
22 {0x55c7af7b, 0x1a64, 0x40bf, \
23 { 0x87, 0xeb, 0x2c, 0x2c, 0xbe, 0xe0, 0x49, 0x1b }}
24
25 /**
26 * The nsIDOMEventTarget interface is the interface implemented by all
27 * event targets in the Document Object Model.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-3-Events/
31 */
32 class NS_NO_VTABLE nsIDOMCustomEvent : public nsIDOMEvent {
33 public:
34
35 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCUSTOMEVENT_IID)
36
37 /* void setCurrentTarget (in nsIDOMNode target); */
38 NS_IMETHOD SetCurrentTarget(nsIDOMNode *target) = 0;
39
40 /* void setEventPhase (in unsigned short phase); */
41 NS_IMETHOD SetEventPhase(PRUint16 phase) = 0;
42
43 };
44
45 /* Use this macro when declaring classes that implement this interface. */
46 #define NS_DECL_NSIDOMCUSTOMEVENT \
47 NS_IMETHOD SetCurrentTarget(nsIDOMNode *target); \
48 NS_IMETHOD SetEventPhase(PRUint16 phase);
49
50 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
51 #define NS_FORWARD_NSIDOMCUSTOMEVENT(_to) \
52 NS_IMETHOD SetCurrentTarget(nsIDOMNode *target) { return _to SetCurrentTarget( target); } \
53 NS_IMETHOD SetEventPhase(PRUint16 phase) { return _to SetEventPhase(phase); }
54
55 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
56 #define NS_FORWARD_SAFE_NSIDOMCUSTOMEVENT(_to) \
57 NS_IMETHOD SetCurrentTarget(nsIDOMNode *target) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetCurrentTarget(target); } \
58 NS_IMETHOD SetEventPhase(PRUint16 phase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEventPhase(phase); }
59
60 #if 0
61 /* Use the code below as a template for the implementation class for this interf ace. */
62
63 /* Header file */
64 class nsDOMCustomEvent : public nsIDOMCustomEvent
65 {
66 public:
67 NS_DECL_ISUPPORTS
68 NS_DECL_NSIDOMCUSTOMEVENT
69
70 nsDOMCustomEvent();
71
72 private:
73 ~nsDOMCustomEvent();
74
75 protected:
76 /* additional members */
77 };
78
79 /* Implementation file */
80 NS_IMPL_ISUPPORTS1(nsDOMCustomEvent, nsIDOMCustomEvent)
81
82 nsDOMCustomEvent::nsDOMCustomEvent()
83 {
84 /* member initializers and constructor code */
85 }
86
87 nsDOMCustomEvent::~nsDOMCustomEvent()
88 {
89 /* destructor code */
90 }
91
92 /* void setCurrentTarget (in nsIDOMNode target); */
93 NS_IMETHODIMP nsDOMCustomEvent::SetCurrentTarget(nsIDOMNode *target)
94 {
95 return NS_ERROR_NOT_IMPLEMENTED;
96 }
97
98 /* void setEventPhase (in unsigned short phase); */
99 NS_IMETHODIMP nsDOMCustomEvent::SetEventPhase(PRUint16 phase)
100 {
101 return NS_ERROR_NOT_IMPLEMENTED;
102 }
103
104 /* End of implementation class template. */
105 #endif
106
107
108 #endif /* __gen_nsIDOMCustomEvent_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMComment.h ('k') | gecko-sdk/include/nsIDOMDOMException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698