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

Side by Side Diff: gecko-sdk/include/nsIDOMNSDocumentStyle.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/nsIDOMMouseEvent.h ('k') | gecko-sdk/include/nsIDOMNamedNodeMap.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/stylesheets/nsIDOMNSDocumentSty le.idl
3 */
4
5 #ifndef __gen_nsIDOMNSDocumentStyle_h__
6 #define __gen_nsIDOMNSDocumentStyle_h__
7
8
9 #ifndef __gen_domstubs_h__
10 #include "domstubs.h"
11 #endif
12
13 #ifndef __gen_nsIDOMDocumentStyle_h__
14 #include "nsIDOMDocumentStyle.h"
15 #endif
16
17 /* For IDL files that don't want to include root IDL files. */
18 #ifndef NS_NO_VTABLE
19 #define NS_NO_VTABLE
20 #endif
21
22 /* starting interface: nsIDOMNSDocumentStyle */
23 #define NS_IDOMNSDOCUMENTSTYLE_IID_STR "4ecdf254-a21e-47b0-8d72-55da8208299f"
24
25 #define NS_IDOMNSDOCUMENTSTYLE_IID \
26 {0x4ecdf254, 0xa21e, 0x47b0, \
27 { 0x8d, 0x72, 0x55, 0xda, 0x82, 0x08, 0x29, 0x9f }}
28
29 /**
30 * The nsIDOMNSDocumentStyle interface is an extension to the
31 * nsIDOMDocumentStyle interface. This interface exposes more ways to interact
32 * with style sheets in the Document Object Model. This interface is currently
33 * very much experimental.
34 */
35 class NS_NO_VTABLE nsIDOMNSDocumentStyle : public nsIDOMDocumentStyle {
36 public:
37
38 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSDOCUMENTSTYLE_IID)
39
40 /**
41 * This attribute indicates the preferredStylesheetSet as set by the
42 * author. It is determined from the order of stylesheet declarations and the
43 * Default-Style HTTP headers. See [[HTML4]]. If there is no preferred
44 * stylesheet set, this attribute returns the empty string. The case of this
45 * attribute must exactly match the case given by the author where the
46 * preferred stylesheet is specified or implied.
47 */
48 /* readonly attribute DOMString preferredStylesheetSet; */
49 NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) = 0;
50
51 };
52
53 /* Use this macro when declaring classes that implement this interface. */
54 #define NS_DECL_NSIDOMNSDOCUMENTSTYLE \
55 NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet);
56
57 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
58 #define NS_FORWARD_NSIDOMNSDOCUMENTSTYLE(_to) \
59 NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) { re turn _to GetPreferredStylesheetSet(aPreferredStylesheetSet); }
60
61 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
62 #define NS_FORWARD_SAFE_NSIDOMNSDOCUMENTSTYLE(_to) \
63 NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) { re turn !_to ? NS_ERROR_NULL_POINTER : _to->GetPreferredStylesheetSet(aPreferredSty lesheetSet); }
64
65 #if 0
66 /* Use the code below as a template for the implementation class for this interf ace. */
67
68 /* Header file */
69 class nsDOMNSDocumentStyle : public nsIDOMNSDocumentStyle
70 {
71 public:
72 NS_DECL_ISUPPORTS
73 NS_DECL_NSIDOMNSDOCUMENTSTYLE
74
75 nsDOMNSDocumentStyle();
76
77 private:
78 ~nsDOMNSDocumentStyle();
79
80 protected:
81 /* additional members */
82 };
83
84 /* Implementation file */
85 NS_IMPL_ISUPPORTS1(nsDOMNSDocumentStyle, nsIDOMNSDocumentStyle)
86
87 nsDOMNSDocumentStyle::nsDOMNSDocumentStyle()
88 {
89 /* member initializers and constructor code */
90 }
91
92 nsDOMNSDocumentStyle::~nsDOMNSDocumentStyle()
93 {
94 /* destructor code */
95 }
96
97 /* readonly attribute DOMString preferredStylesheetSet; */
98 NS_IMETHODIMP nsDOMNSDocumentStyle::GetPreferredStylesheetSet(nsAString & aPrefe rredStylesheetSet)
99 {
100 return NS_ERROR_NOT_IMPLEMENTED;
101 }
102
103 /* End of implementation class template. */
104 #endif
105
106
107 #endif /* __gen_nsIDOMNSDocumentStyle_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMMouseEvent.h ('k') | gecko-sdk/include/nsIDOMNamedNodeMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698