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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLTitleElement.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/nsIDOMHTMLTitleElement.idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLTitleElement_h__
6 #define __gen_nsIDOMHTMLTitleElement_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: nsIDOMHTMLTitleElement */
19 #define NS_IDOMHTMLTITLEELEMENT_IID_STR "a6cf9089-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLTITLEELEMENT_IID \
22 {0xa6cf9089, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLTitleElement interface is the interface to a [X]HTML
27 * title 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 nsIDOMHTMLTitleElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTITLEELEMENT_IID)
38
39 /* attribute DOMString text; */
40 NS_IMETHOD GetText(nsAString & aText) = 0;
41 NS_IMETHOD SetText(const nsAString & aText) = 0;
42
43 };
44
45 /* Use this macro when declaring classes that implement this interface. */
46 #define NS_DECL_NSIDOMHTMLTITLEELEMENT \
47 NS_IMETHOD GetText(nsAString & aText); \
48 NS_IMETHOD SetText(const nsAString & aText);
49
50 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
51 #define NS_FORWARD_NSIDOMHTMLTITLEELEMENT(_to) \
52 NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
53 NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); }
54
55 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
56 #define NS_FORWARD_SAFE_NSIDOMHTMLTITLEELEMENT(_to) \
57 NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
58 NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetText(aText); }
59
60 #if 0
61 /* Use the code below as a template for the implementation class for this interf ace. */
62
63 /* Header file */
64 class nsDOMHTMLTitleElement : public nsIDOMHTMLTitleElement
65 {
66 public:
67 NS_DECL_ISUPPORTS
68 NS_DECL_NSIDOMHTMLTITLEELEMENT
69
70 nsDOMHTMLTitleElement();
71
72 private:
73 ~nsDOMHTMLTitleElement();
74
75 protected:
76 /* additional members */
77 };
78
79 /* Implementation file */
80 NS_IMPL_ISUPPORTS1(nsDOMHTMLTitleElement, nsIDOMHTMLTitleElement)
81
82 nsDOMHTMLTitleElement::nsDOMHTMLTitleElement()
83 {
84 /* member initializers and constructor code */
85 }
86
87 nsDOMHTMLTitleElement::~nsDOMHTMLTitleElement()
88 {
89 /* destructor code */
90 }
91
92 /* attribute DOMString text; */
93 NS_IMETHODIMP nsDOMHTMLTitleElement::GetText(nsAString & aText)
94 {
95 return NS_ERROR_NOT_IMPLEMENTED;
96 }
97 NS_IMETHODIMP nsDOMHTMLTitleElement::SetText(const nsAString & aText)
98 {
99 return NS_ERROR_NOT_IMPLEMENTED;
100 }
101
102 /* End of implementation class template. */
103 #endif
104
105
106 #endif /* __gen_nsIDOMHTMLTitleElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLTextAreaElement.h ('k') | gecko-sdk/include/nsIDOMHTMLUListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698