Debian Codegraph @

mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMNSHTMLElement.cs

raw symbols SCIP
1 // THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
2 // EDITING IS PROBABLY UNWISE
3 // Permission is hereby granted, free of charge, to any person obtaining
4 // a copy of this software and associated documentation files (the
5 // "Software"), to deal in the Software without restriction, including
6 // without limitation the rights to use, copy, modify, merge, publish,
7 // distribute, sublicense, and/or sell copies of the Software, and to
8 // permit persons to whom the Software is furnished to do so, subject to
9 // the following conditions:
10 //
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
13 //
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 // Copyright (c) 2007, 2008 Novell, Inc.
23 //
24 // Authors:
25 // Andreia Gaita ([email protected])
26 //
27
28 using System;
29 using System.Runtime.InteropServices;
30 using System.Runtime.CompilerServices;
31 using System.Text;
32
33 namespace Mono.Mozilla {
34
35 [Guid ("da83b2ec-8264-4410-8496-ada3acd2ae42")]
36 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
37 [ComImport ()]
38 internal interface nsIDOMNSHTMLElement {
39
40 #region nsIDOMNSHTMLElement
41 [PreserveSigAttribute]
42 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
43 int getOffsetTop ( out int ret);
44
45 [PreserveSigAttribute]
46 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
47 int getOffsetLeft ( out int ret);
48
49 [PreserveSigAttribute]
50 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
51 int getOffsetWidth ( out int ret);
52
53 [PreserveSigAttribute]
54 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
55 int getOffsetHeight ( out int ret);
56
57 [PreserveSigAttribute]
58 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
59 int getOffsetParent ([MarshalAs (UnmanagedType.Interface)] out nsIDOMElement ret);
60
61 [PreserveSigAttribute]
62 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
63 int getInnerHTML ( /*DOMString*/ HandleRef ret);
64
65 [PreserveSigAttribute]
66 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
67 int setInnerHTML ( /*DOMString*/ HandleRef value);
68
69 [PreserveSigAttribute]
70 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
71 int getScrollTop ( out int ret);
72
73 [PreserveSigAttribute]
74 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
75 int setScrollTop ( int value);
76
77 [PreserveSigAttribute]
78 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
79 int getScrollLeft ( out int ret);
80
81 [PreserveSigAttribute]
82 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
83 int setScrollLeft ( int value);
84
85 [PreserveSigAttribute]
86 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
87 int getScrollHeight ( out int ret);
88
89 [PreserveSigAttribute]
90 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
91 int getScrollWidth ( out int ret);
92
93 [PreserveSigAttribute]
94 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
95 int getClientHeight ( out int ret);
96
97 [PreserveSigAttribute]
98 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
99 int getClientWidth ( out int ret);
100
101 [PreserveSigAttribute]
102 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
103 int getTabIndex ( out int ret);
104
105 [PreserveSigAttribute]
106 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
107 int setTabIndex ( int value);
108
109 [PreserveSigAttribute]
110 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
111 int blur ();
112
113 [PreserveSigAttribute]
114 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
115 int focus ();
116
117 [PreserveSigAttribute]
118 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
119 int scrollIntoView (
120 bool top);
121
122 #endregion
123 }
124
125
126 internal class nsDOMNSHTMLElement {
127 public static nsIDOMNSHTMLElement GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMNSHTMLElement obj)
128 {
129 object o = Base.GetProxyForObject (control, typeof(nsIDOMNSHTMLElement).GUID, obj);
130 return o as nsIDOMNSHTMLElement;
131 }
132 }
133 }