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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLMapElement.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/nsIDOMHTMLLinkElement.h ('k') | gecko-sdk/include/nsIDOMHTMLMenuElement.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/html/nsIDOMHTMLMapElement.idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLMapElement_h__
6 #define __gen_nsIDOMHTMLMapElement_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: nsIDOMHTMLMapElement */
19 #define NS_IDOMHTMLMAPELEMENT_IID_STR "a6cf90af-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLMAPELEMENT_IID \
22 {0xa6cf90af, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLMapElement interface is the interface to a [X]HTML
27 * map 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 nsIDOMHTMLMapElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMAPELEMENT_IID)
38
39 /* readonly attribute nsIDOMHTMLCollection areas; */
40 NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) = 0;
41
42 /* attribute DOMString name; */
43 NS_IMETHOD GetName(nsAString & aName) = 0;
44 NS_IMETHOD SetName(const nsAString & aName) = 0;
45
46 };
47
48 /* Use this macro when declaring classes that implement this interface. */
49 #define NS_DECL_NSIDOMHTMLMAPELEMENT \
50 NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas); \
51 NS_IMETHOD GetName(nsAString & aName); \
52 NS_IMETHOD SetName(const nsAString & aName);
53
54 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
55 #define NS_FORWARD_NSIDOMHTMLMAPELEMENT(_to) \
56 NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) { return _to GetAreas(aAre as); } \
57 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
58 NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); }
59
60 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
61 #define NS_FORWARD_SAFE_NSIDOMHTMLMAPELEMENT(_to) \
62 NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) { return !_to ? NS_ERROR_N ULL_POINTER : _to->GetAreas(aAreas); } \
63 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
64 NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetName(aName); }
65
66 #if 0
67 /* Use the code below as a template for the implementation class for this interf ace. */
68
69 /* Header file */
70 class nsDOMHTMLMapElement : public nsIDOMHTMLMapElement
71 {
72 public:
73 NS_DECL_ISUPPORTS
74 NS_DECL_NSIDOMHTMLMAPELEMENT
75
76 nsDOMHTMLMapElement();
77
78 private:
79 ~nsDOMHTMLMapElement();
80
81 protected:
82 /* additional members */
83 };
84
85 /* Implementation file */
86 NS_IMPL_ISUPPORTS1(nsDOMHTMLMapElement, nsIDOMHTMLMapElement)
87
88 nsDOMHTMLMapElement::nsDOMHTMLMapElement()
89 {
90 /* member initializers and constructor code */
91 }
92
93 nsDOMHTMLMapElement::~nsDOMHTMLMapElement()
94 {
95 /* destructor code */
96 }
97
98 /* readonly attribute nsIDOMHTMLCollection areas; */
99 NS_IMETHODIMP nsDOMHTMLMapElement::GetAreas(nsIDOMHTMLCollection * *aAreas)
100 {
101 return NS_ERROR_NOT_IMPLEMENTED;
102 }
103
104 /* attribute DOMString name; */
105 NS_IMETHODIMP nsDOMHTMLMapElement::GetName(nsAString & aName)
106 {
107 return NS_ERROR_NOT_IMPLEMENTED;
108 }
109 NS_IMETHODIMP nsDOMHTMLMapElement::SetName(const nsAString & aName)
110 {
111 return NS_ERROR_NOT_IMPLEMENTED;
112 }
113
114 /* End of implementation class template. */
115 #endif
116
117
118 #endif /* __gen_nsIDOMHTMLMapElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLLinkElement.h ('k') | gecko-sdk/include/nsIDOMHTMLMenuElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698