| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 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 ( HandleRef ret); |
| 64 |
|
| 65 |
[PreserveSigAttribute] |
| 66 |
[MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] |
| 67 |
int setInnerHTML ( 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 |
} |