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

Side by Side Diff: gecko-sdk/include/nsIDOMBarProp.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/nsIDOMAttr.h ('k') | gecko-sdk/include/nsIDOMCDATASection.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/base/nsIDOMBarProp.idl
3 */
4
5 #ifndef __gen_nsIDOMBarProp_h__
6 #define __gen_nsIDOMBarProp_h__
7
8
9 #ifndef __gen_domstubs_h__
10 #include "domstubs.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: nsIDOMBarProp */
19 #define NS_IDOMBARPROP_IID_STR "9eb2c150-1d56-11d3-8221-0060083a0bcf"
20
21 #define NS_IDOMBARPROP_IID \
22 {0x9eb2c150, 0x1d56, 0x11d3, \
23 { 0x82, 0x21, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf }}
24
25 class NS_NO_VTABLE nsIDOMBarProp : public nsISupports {
26 public:
27
28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMBARPROP_IID)
29
30 /**
31 * The nsIDOMBarProp interface is the interface for controlling and
32 * accessing the visibility of certain UI items (scrollbars, menubars,
33 * toolbars, ...) through the DOM.
34 *
35 * @status FROZEN
36 */
37 /* attribute boolean visible; */
38 NS_IMETHOD GetVisible(PRBool *aVisible) = 0;
39 NS_IMETHOD SetVisible(PRBool aVisible) = 0;
40
41 };
42
43 /* Use this macro when declaring classes that implement this interface. */
44 #define NS_DECL_NSIDOMBARPROP \
45 NS_IMETHOD GetVisible(PRBool *aVisible); \
46 NS_IMETHOD SetVisible(PRBool aVisible);
47
48 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
49 #define NS_FORWARD_NSIDOMBARPROP(_to) \
50 NS_IMETHOD GetVisible(PRBool *aVisible) { return _to GetVisible(aVisible); } \
51 NS_IMETHOD SetVisible(PRBool aVisible) { return _to SetVisible(aVisible); }
52
53 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
54 #define NS_FORWARD_SAFE_NSIDOMBARPROP(_to) \
55 NS_IMETHOD GetVisible(PRBool *aVisible) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVisible(aVisible); } \
56 NS_IMETHOD SetVisible(PRBool aVisible) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVisible(aVisible); }
57
58 #if 0
59 /* Use the code below as a template for the implementation class for this interf ace. */
60
61 /* Header file */
62 class nsDOMBarProp : public nsIDOMBarProp
63 {
64 public:
65 NS_DECL_ISUPPORTS
66 NS_DECL_NSIDOMBARPROP
67
68 nsDOMBarProp();
69
70 private:
71 ~nsDOMBarProp();
72
73 protected:
74 /* additional members */
75 };
76
77 /* Implementation file */
78 NS_IMPL_ISUPPORTS1(nsDOMBarProp, nsIDOMBarProp)
79
80 nsDOMBarProp::nsDOMBarProp()
81 {
82 /* member initializers and constructor code */
83 }
84
85 nsDOMBarProp::~nsDOMBarProp()
86 {
87 /* destructor code */
88 }
89
90 /* attribute boolean visible; */
91 NS_IMETHODIMP nsDOMBarProp::GetVisible(PRBool *aVisible)
92 {
93 return NS_ERROR_NOT_IMPLEMENTED;
94 }
95 NS_IMETHODIMP nsDOMBarProp::SetVisible(PRBool aVisible)
96 {
97 return NS_ERROR_NOT_IMPLEMENTED;
98 }
99
100 /* End of implementation class template. */
101 #endif
102
103
104 #endif /* __gen_nsIDOMBarProp_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMAttr.h ('k') | gecko-sdk/include/nsIDOMCDATASection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698