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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLHRElement.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
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/html/nsIDOMHTMLHRElement.idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLHRElement_h__
6 #define __gen_nsIDOMHTMLHRElement_h__
7
8
9 #ifndef __gen_nsIDOMHTMLElement_h__
10 #include "nsIDOMHTMLElement.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: nsIDOMHTMLHRElement */
19 #define NS_IDOMHTMLHRELEMENT_IID_STR "a6cf90a8-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLHRELEMENT_IID \
22 {0xa6cf90a8, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLHRElement interface is the interface to a [X]HTML hr
27 * element.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-2-HTML/
31 *
32 * @status FROZEN
33 */
34 class NS_NO_VTABLE nsIDOMHTMLHRElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHRELEMENT_IID)
38
39 /* attribute DOMString align; */
40 NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
41 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
42
43 /* attribute boolean noShade; */
44 NS_IMETHOD GetNoShade(PRBool *aNoShade) = 0;
45 NS_IMETHOD SetNoShade(PRBool aNoShade) = 0;
46
47 /* attribute DOMString size; */
48 NS_IMETHOD GetSize(nsAString & aSize) = 0;
49 NS_IMETHOD SetSize(const nsAString & aSize) = 0;
50
51 /* attribute DOMString width; */
52 NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
53 NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
54
55 };
56
57 /* Use this macro when declaring classes that implement this interface. */
58 #define NS_DECL_NSIDOMHTMLHRELEMENT \
59 NS_IMETHOD GetAlign(nsAString & aAlign); \
60 NS_IMETHOD SetAlign(const nsAString & aAlign); \
61 NS_IMETHOD GetNoShade(PRBool *aNoShade); \
62 NS_IMETHOD SetNoShade(PRBool aNoShade); \
63 NS_IMETHOD GetSize(nsAString & aSize); \
64 NS_IMETHOD SetSize(const nsAString & aSize); \
65 NS_IMETHOD GetWidth(nsAString & aWidth); \
66 NS_IMETHOD SetWidth(const nsAString & aWidth);
67
68 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
69 #define NS_FORWARD_NSIDOMHTMLHRELEMENT(_to) \
70 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
71 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
72 NS_IMETHOD GetNoShade(PRBool *aNoShade) { return _to GetNoShade(aNoShade); } \
73 NS_IMETHOD SetNoShade(PRBool aNoShade) { return _to SetNoShade(aNoShade); } \
74 NS_IMETHOD GetSize(nsAString & aSize) { return _to GetSize(aSize); } \
75 NS_IMETHOD SetSize(const nsAString & aSize) { return _to SetSize(aSize); } \
76 NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
77 NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
78
79 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
80 #define NS_FORWARD_SAFE_NSIDOMHTMLHRELEMENT(_to) \
81 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
82 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetAlign(aAlign); } \
83 NS_IMETHOD GetNoShade(PRBool *aNoShade) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoShade(aNoShade); } \
84 NS_IMETHOD SetNoShade(PRBool aNoShade) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoShade(aNoShade); } \
85 NS_IMETHOD GetSize(nsAString & aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
86 NS_IMETHOD SetSize(const nsAString & aSize) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetSize(aSize); } \
87 NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
88 NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetWidth(aWidth); }
89
90 #if 0
91 /* Use the code below as a template for the implementation class for this interf ace. */
92
93 /* Header file */
94 class nsDOMHTMLHRElement : public nsIDOMHTMLHRElement
95 {
96 public:
97 NS_DECL_ISUPPORTS
98 NS_DECL_NSIDOMHTMLHRELEMENT
99
100 nsDOMHTMLHRElement();
101
102 private:
103 ~nsDOMHTMLHRElement();
104
105 protected:
106 /* additional members */
107 };
108
109 /* Implementation file */
110 NS_IMPL_ISUPPORTS1(nsDOMHTMLHRElement, nsIDOMHTMLHRElement)
111
112 nsDOMHTMLHRElement::nsDOMHTMLHRElement()
113 {
114 /* member initializers and constructor code */
115 }
116
117 nsDOMHTMLHRElement::~nsDOMHTMLHRElement()
118 {
119 /* destructor code */
120 }
121
122 /* attribute DOMString align; */
123 NS_IMETHODIMP nsDOMHTMLHRElement::GetAlign(nsAString & aAlign)
124 {
125 return NS_ERROR_NOT_IMPLEMENTED;
126 }
127 NS_IMETHODIMP nsDOMHTMLHRElement::SetAlign(const nsAString & aAlign)
128 {
129 return NS_ERROR_NOT_IMPLEMENTED;
130 }
131
132 /* attribute boolean noShade; */
133 NS_IMETHODIMP nsDOMHTMLHRElement::GetNoShade(PRBool *aNoShade)
134 {
135 return NS_ERROR_NOT_IMPLEMENTED;
136 }
137 NS_IMETHODIMP nsDOMHTMLHRElement::SetNoShade(PRBool aNoShade)
138 {
139 return NS_ERROR_NOT_IMPLEMENTED;
140 }
141
142 /* attribute DOMString size; */
143 NS_IMETHODIMP nsDOMHTMLHRElement::GetSize(nsAString & aSize)
144 {
145 return NS_ERROR_NOT_IMPLEMENTED;
146 }
147 NS_IMETHODIMP nsDOMHTMLHRElement::SetSize(const nsAString & aSize)
148 {
149 return NS_ERROR_NOT_IMPLEMENTED;
150 }
151
152 /* attribute DOMString width; */
153 NS_IMETHODIMP nsDOMHTMLHRElement::GetWidth(nsAString & aWidth)
154 {
155 return NS_ERROR_NOT_IMPLEMENTED;
156 }
157 NS_IMETHODIMP nsDOMHTMLHRElement::SetWidth(const nsAString & aWidth)
158 {
159 return NS_ERROR_NOT_IMPLEMENTED;
160 }
161
162 /* End of implementation class template. */
163 #endif
164
165
166 #endif /* __gen_nsIDOMHTMLHRElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLFrameSetElement.h ('k') | gecko-sdk/include/nsIDOMHTMLHeadElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698