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

Side by Side Diff: gecko-sdk/include/nsIDOMCSSValueList.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/nsIDOMCSSValue.h ('k') | gecko-sdk/include/nsIDOMCharacterData.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/css/nsIDOMCSSValueList.idl
3 */
4
5 #ifndef __gen_nsIDOMCSSValueList_h__
6 #define __gen_nsIDOMCSSValueList_h__
7
8
9 #ifndef __gen_nsIDOMCSSValue_h__
10 #include "nsIDOMCSSValue.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: nsIDOMCSSValueList */
19 #define NS_IDOMCSSVALUELIST_IID_STR "8f09fa84-39b9-4dca-9b2f-db0eeb186286"
20
21 #define NS_IDOMCSSVALUELIST_IID \
22 {0x8f09fa84, 0x39b9, 0x4dca, \
23 { 0x9b, 0x2f, 0xdb, 0x0e, 0xeb, 0x18, 0x62, 0x86 }}
24
25 class NS_NO_VTABLE nsIDOMCSSValueList : public nsIDOMCSSValue {
26 public:
27
28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCSSVALUELIST_IID)
29
30 /**
31 * The nsIDOMCSSValueList interface is a datatype for a list of CSS
32 * values in the Document Object Model.
33 *
34 * For more information on this interface please see
35 * http://www.w3.org/TR/DOM-Level-2-Style
36 *
37 * @status FROZEN
38 */
39 /* readonly attribute unsigned long length; */
40 NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
41
42 /* nsIDOMCSSValue item (in unsigned long index); */
43 NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) = 0;
44
45 };
46
47 /* Use this macro when declaring classes that implement this interface. */
48 #define NS_DECL_NSIDOMCSSVALUELIST \
49 NS_IMETHOD GetLength(PRUint32 *aLength); \
50 NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval);
51
52 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
53 #define NS_FORWARD_NSIDOMCSSVALUELIST(_to) \
54 NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
55 NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) { return _to Item(in dex, _retval); }
56
57 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
58 #define NS_FORWARD_SAFE_NSIDOMCSSVALUELIST(_to) \
59 NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
60 NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) { return !_to ? NS_E RROR_NULL_POINTER : _to->Item(index, _retval); }
61
62 #if 0
63 /* Use the code below as a template for the implementation class for this interf ace. */
64
65 /* Header file */
66 class nsDOMCSSValueList : public nsIDOMCSSValueList
67 {
68 public:
69 NS_DECL_ISUPPORTS
70 NS_DECL_NSIDOMCSSVALUELIST
71
72 nsDOMCSSValueList();
73
74 private:
75 ~nsDOMCSSValueList();
76
77 protected:
78 /* additional members */
79 };
80
81 /* Implementation file */
82 NS_IMPL_ISUPPORTS1(nsDOMCSSValueList, nsIDOMCSSValueList)
83
84 nsDOMCSSValueList::nsDOMCSSValueList()
85 {
86 /* member initializers and constructor code */
87 }
88
89 nsDOMCSSValueList::~nsDOMCSSValueList()
90 {
91 /* destructor code */
92 }
93
94 /* readonly attribute unsigned long length; */
95 NS_IMETHODIMP nsDOMCSSValueList::GetLength(PRUint32 *aLength)
96 {
97 return NS_ERROR_NOT_IMPLEMENTED;
98 }
99
100 /* nsIDOMCSSValue item (in unsigned long index); */
101 NS_IMETHODIMP nsDOMCSSValueList::Item(PRUint32 index, nsIDOMCSSValue **_retval)
102 {
103 return NS_ERROR_NOT_IMPLEMENTED;
104 }
105
106 /* End of implementation class template. */
107 #endif
108
109
110 #endif /* __gen_nsIDOMCSSValueList_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMCSSValue.h ('k') | gecko-sdk/include/nsIDOMCharacterData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698