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

Side by Side Diff: gecko-sdk/include/nsIDOMDocumentRange.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/nsIDOMDocumentFragment.h ('k') | gecko-sdk/include/nsIDOMDocumentStyle.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/range/nsIDOMDocumentRange.idl
3 */
4
5 #ifndef __gen_nsIDOMDocumentRange_h__
6 #define __gen_nsIDOMDocumentRange_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: nsIDOMDocumentRange */
19 #define NS_IDOMDOCUMENTRANGE_IID_STR "7b9badc6-c9bc-447a-8670-dbd195aed24b"
20
21 #define NS_IDOMDOCUMENTRANGE_IID \
22 {0x7b9badc6, 0xc9bc, 0x447a, \
23 { 0x86, 0x70, 0xdb, 0xd1, 0x95, 0xae, 0xd2, 0x4b }}
24
25 /**
26 * The nsIDOMDocumentRange interface is an interface to a document
27 * object that supports ranges in the Document Object Model.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/
31 *
32 * @status FROZEN
33 */
34 class NS_NO_VTABLE nsIDOMDocumentRange : public nsISupports {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTRANGE_IID)
38
39 /* nsIDOMRange createRange (); */
40 NS_IMETHOD CreateRange(nsIDOMRange **_retval) = 0;
41
42 };
43
44 /* Use this macro when declaring classes that implement this interface. */
45 #define NS_DECL_NSIDOMDOCUMENTRANGE \
46 NS_IMETHOD CreateRange(nsIDOMRange **_retval);
47
48 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
49 #define NS_FORWARD_NSIDOMDOCUMENTRANGE(_to) \
50 NS_IMETHOD CreateRange(nsIDOMRange **_retval) { return _to CreateRange(_retval ); }
51
52 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
53 #define NS_FORWARD_SAFE_NSIDOMDOCUMENTRANGE(_to) \
54 NS_IMETHOD CreateRange(nsIDOMRange **_retval) { return !_to ? NS_ERROR_NULL_PO INTER : _to->CreateRange(_retval); }
55
56 #if 0
57 /* Use the code below as a template for the implementation class for this interf ace. */
58
59 /* Header file */
60 class nsDOMDocumentRange : public nsIDOMDocumentRange
61 {
62 public:
63 NS_DECL_ISUPPORTS
64 NS_DECL_NSIDOMDOCUMENTRANGE
65
66 nsDOMDocumentRange();
67
68 private:
69 ~nsDOMDocumentRange();
70
71 protected:
72 /* additional members */
73 };
74
75 /* Implementation file */
76 NS_IMPL_ISUPPORTS1(nsDOMDocumentRange, nsIDOMDocumentRange)
77
78 nsDOMDocumentRange::nsDOMDocumentRange()
79 {
80 /* member initializers and constructor code */
81 }
82
83 nsDOMDocumentRange::~nsDOMDocumentRange()
84 {
85 /* destructor code */
86 }
87
88 /* nsIDOMRange createRange (); */
89 NS_IMETHODIMP nsDOMDocumentRange::CreateRange(nsIDOMRange **_retval)
90 {
91 return NS_ERROR_NOT_IMPLEMENTED;
92 }
93
94 /* End of implementation class template. */
95 #endif
96
97
98 #endif /* __gen_nsIDOMDocumentRange_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMDocumentFragment.h ('k') | gecko-sdk/include/nsIDOMDocumentStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698