* Mono.Mozilla/interfaces/nsIDOMRGBColor.cs,
authorAndreia Gaita <avidigal@novell.com>
Tue, 23 Sep 2008 00:59:14 +0000 (00:59 -0000)
committerAndreia Gaita <avidigal@novell.com>
Tue, 23 Sep 2008 00:59:14 +0000 (00:59 -0000)
  Mono.Mozilla/interfaces/nsITimer.cs,
  Mono.Mozilla/interfaces/nsIAccessible.cs,
  Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs,
  Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs,
  Mono.Mozilla/interfaces/nsIAccessibleRelation.cs,
  Mono.Mozilla/interfaces/nsITimerCallback.cs,
  Mono.Mozilla/interfaces/nsIAccessibilityService.cs,
  Mono.Mozilla/interfaces/nsIOutputStream.cs,
  Mono.Mozilla/interfaces/nsIPersistentProperties.cs,
  Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs,
  Mono.Mozilla/interfaces/nsIDOMCounter.cs,
  Mono.Mozilla/interfaces/nsIObserver.cs,
  Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs,
  Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs,
  Mono.Mozilla/interfaces/nsIProperties.cs,
  Mono.Mozilla/interfaces/nsIDOMRect.cs,
  Mono.Mozilla/interfaces/nsIAccessNode.cs,
  Mono.Mozilla/interfaces/nsIArray.cs,
  Mono.Mozilla/interfaces/nsIAccessibleDocument.cs,
  Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj: Added
  Accessibility interfaces

2008-09-23  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=113772

23 files changed:
mcs/class/Mono.WebBrowser/ChangeLog
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessNode.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibilityService.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessible.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleDocument.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRelation.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIArray.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCounter.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRGBColor.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRect.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIObserver.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIOutputStream.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIPersistentProperties.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIProperties.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimer.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimerCallback.cs [new file with mode: 0644]
mcs/class/Mono.WebBrowser/Mono.WebBrowser.dll.sources
mcs/class/Mono.WebBrowser/Mono.WebBrowser2K5.csproj

index 00a9e94c85a081c26e5a4b6750d76464c62d99c3..d5328e29511e313e66c557219327ac730849b1d9 100644 (file)
@@ -1,3 +1,28 @@
+2008-09-23  Andreia Gaita <avidigal@novell.com> 
+
+       * Mono.Mozilla/interfaces/nsIDOMRGBColor.cs,
+         Mono.Mozilla/interfaces/nsITimer.cs,
+         Mono.Mozilla/interfaces/nsIAccessible.cs,
+         Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs,
+         Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs,
+         Mono.Mozilla/interfaces/nsIAccessibleRelation.cs,
+         Mono.Mozilla/interfaces/nsITimerCallback.cs,
+         Mono.Mozilla/interfaces/nsIAccessibilityService.cs,
+         Mono.Mozilla/interfaces/nsIOutputStream.cs,
+         Mono.Mozilla/interfaces/nsIPersistentProperties.cs,
+         Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs,
+         Mono.Mozilla/interfaces/nsIDOMCounter.cs,
+         Mono.Mozilla/interfaces/nsIObserver.cs,
+         Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs,
+         Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs,
+         Mono.Mozilla/interfaces/nsIProperties.cs,
+         Mono.Mozilla/interfaces/nsIDOMRect.cs,
+         Mono.Mozilla/interfaces/nsIAccessNode.cs,
+         Mono.Mozilla/interfaces/nsIArray.cs,
+         Mono.Mozilla/interfaces/nsIAccessibleDocument.cs,
+         Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj: Added
+         Accessibility interfaces
+
 2008-09-16  Andreia Gaita <avidigal@novell.com> 
 
        * Mono.Mozilla/AsciiString.cs: Change marshalling to ansi - auto is no
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs
new file mode 100644 (file)
index 0000000..e39ebf1
--- /dev/null
@@ -0,0 +1,39 @@
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+
+namespace Mono.Mozilla
+{
+       internal delegate void nsIReadSegmentFunDelegate (
+               [MarshalAs (UnmanagedType.Interface)] nsIOutputStream aInStream,
+       IntPtr aClosure,
+       string aFromSegment,
+       UInt32 aCount,
+       out UInt32 aWriteCount          
+       );      
+}
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs
new file mode 100644 (file)
index 0000000..493ba73
--- /dev/null
@@ -0,0 +1,36 @@
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+
+namespace Mono.Mozilla
+{      
+       internal delegate void nsITimerCallbackDelegate (
+                       [MarshalAs (UnmanagedType.Interface)] nsITimer timer, 
+               IntPtr closure
+       );
+}
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessNode.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessNode.cs
new file mode 100644 (file)
index 0000000..dc5bbab
--- /dev/null
@@ -0,0 +1,254 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("71a3b4e7-e83d-45cf-a20e-9ce292bcf19f")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessNode {
+
+#region nsIAccessNode
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDOMNode ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNumChildren (out int ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getChildNodeAt ( int childNum,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getParentNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFirstChildNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLastChildNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getPreviousSiblingNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNextSiblingNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleDocument ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessibleDocument ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getInnerHTML ( /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int scrollTo ( uint aScrollType);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int scrollToPoint ( uint aCoordinateType,
+                                int aX,
+                                int aY);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getOwnerWindow ( IntPtr ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getUniqueID ( IntPtr ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getComputedStyleValue ( /*DOMString*/ HandleRef pseudoElt,
+                                /*DOMString*/ HandleRef propertyName,
+                                /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getComputedStyleCSSValue ( /*DOMString*/ HandleRef pseudoElt,
+                                /*DOMString*/ HandleRef propertyName,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLanguage ( /*DOMString*/ HandleRef ret);
+
+#endregion
+       }
+
+
+       internal class nsAccessNode {
+               public static nsIAccessNode GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessNode obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessNode).GUID, obj);
+                       return o as nsIAccessNode;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class AccessNode : nsIAccessNode {
+
+#region nsIAccessNode
+               int nsIAccessNode.getDOMNode ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getNumChildren (out int ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessNode.getChildNodeAt ( int childNum,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessNode.getParentNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getFirstChildNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getLastChildNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getPreviousSiblingNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getNextSiblingNode ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getAccessibleDocument ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessibleDocument ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.getInnerHTML ( /*DOMString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessNode.scrollTo ( uint aScrollType)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessNode.scrollToPoint ( uint aCoordinateType,
+                                int aX,
+                                int aY)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessNode.getOwnerWindow ( IntPtr ret)
+
+               {
+                       return IntPtr.Zero;
+               }
+
+               int nsIAccessNode.getUniqueID ( IntPtr ret)
+
+               {
+                       return IntPtr.Zero;
+               }
+
+               int nsIAccessNode.getComputedStyleValue ( /*DOMString*/ HandleRef pseudoElt,
+                                /*DOMString*/ HandleRef propertyName,
+                                /*DOMString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessNode.getComputedStyleCSSValue ( /*DOMString*/ HandleRef pseudoElt,
+                                /*DOMString*/ HandleRef propertyName,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessNode.getLanguage ( /*DOMString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibilityService.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibilityService.cs
new file mode 100644 (file)
index 0000000..f6b7650
--- /dev/null
@@ -0,0 +1,551 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("27386cf1-f27e-4d2d-9bf4-c4621d50d299")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessibilityService : nsIAccessibleRetrieval {
+#region nsIAccessibleRetrieval
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAttachedAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelevantContentNodeFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInWindow ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIDOMWindow aDOMWin,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInWeakShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                                /*nsIPresShell*/ IntPtr aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCachedAccessNode ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCachedAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringRole ( uint aRole,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringStates ( uint aStates,
+                                uint aExtraStates,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMDOMStringList ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringEventType ( uint aEventType,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringRelationType ( uint aRelationType,
+                                /*AString*/ HandleRef ret);
+
+#endregion
+
+#region nsIAccessibilityService
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createOuterDocAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createRootAccessible ( /*nsIPresShell*/ IntPtr aShell,
+                                /*nsIDocument*/ IntPtr aDocument,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTML4ButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHyperTextAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLBRAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLAccessibleByMarkup ( /*nsIFrame*/ IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aWeakShell,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLLIAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr aBulletFrame,
+                                /*AString*/ HandleRef aBulletText,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLCheckboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLComboboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLGenericAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLGroupboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLHRAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLImageAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLLabelAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLListboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLObjectFrameAccessible ( /*nsObjectFrame*/ IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLRadioButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLSelectOptionAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIAccessible aAccParent,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLTableAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLTableCellAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLTableHeadAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLTextAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLTextFieldAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int createHTMLCaptionAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                                /*nsIPresShell*/ IntPtr aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aWeakShell,
+                               out /*nsIFrame*/ IntPtr frameHint,
+                               out bool aIsHidden,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int addNativeRootAccessible ( IntPtr aAtkAccessible,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int removeNativeRootAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIAccessible aRootAccessible);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int invalidateSubtreeFor ( /*nsIPresShell*/ IntPtr aPresShell,
+                                /*nsIContent*/ IntPtr aChangedContent,
+                                UInt32 aEvent);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int processDocLoadEvent ([MarshalAs (UnmanagedType.Interface) ]  nsITimer aTimer,
+                                IntPtr aClosure,
+                                UInt32 aEventType);
+
+#endregion
+       }
+
+
+       internal class nsAccessibilityService {
+               public static nsIAccessibilityService GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessibilityService obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessibilityService).GUID, obj);
+                       return o as nsIAccessibilityService;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class AccessibilityService : nsIAccessibilityService {
+
+#region nsIAccessibilityService
+               int nsIAccessibilityService.createOuterDocAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createRootAccessible ( /*nsIPresShell*/ IntPtr aShell,
+                                /*nsIDocument*/ IntPtr aDocument,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTML4ButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHyperTextAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLBRAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLAccessibleByMarkup ( /*nsIFrame*/ IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aWeakShell,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLLIAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr aBulletFrame,
+                                /*AString*/ HandleRef aBulletText,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLCheckboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLComboboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLGenericAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLGroupboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLHRAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLImageAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLLabelAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLListboxAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLObjectFrameAccessible ( /*nsObjectFrame*/ IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLRadioButtonAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLSelectOptionAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIAccessible aAccParent,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLTableAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLTableCellAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLTableHeadAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLTextAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLTextFieldAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.createHTMLCaptionAccessible ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aFrame,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.getAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                                /*nsIPresShell*/ IntPtr aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aWeakShell,
+                               out /*nsIFrame*/ IntPtr frameHint,
+                               out bool aIsHidden,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.addNativeRootAccessible ( IntPtr aAtkAccessible,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.removeNativeRootAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIAccessible aRootAccessible)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.invalidateSubtreeFor ( /*nsIPresShell*/ IntPtr aPresShell,
+                                /*nsIContent*/ IntPtr aChangedContent,
+                                UInt32 aEvent)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibilityService.processDocLoadEvent ([MarshalAs (UnmanagedType.Interface) ]  nsITimer aTimer,
+                                IntPtr aClosure,
+                                UInt32 aEventType)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessible.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessible.cs
new file mode 100644 (file)
index 0000000..563d74b
--- /dev/null
@@ -0,0 +1,535 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("004b6882-2df1-49df-bb5f-0fb81a5b1edf")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessible {
+
+#region nsIAccessible
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getParent ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNextSibling ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getPreviousSibling ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFirstChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLastChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getChildren ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getChildCount (out int ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getIndexInParent (out int ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getName ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setName (/*AString*/ HandleRef value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getValue ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDescription ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getKeyboardShortcut ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDefaultKeyBinding ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getKeyBindings ( char aActionIndex,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMDOMStringList ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRole (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFinalRole (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFinalState (out uint aState,
+                               out uint aExtraState);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getHelp ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFocusedChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAttributes ([MarshalAs (UnmanagedType.Interface) ] out nsIPersistentProperties ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int groupPosition (out int aGroupLevel,
+                               out int aSimilarItemsInGroup,
+                               out int aPositionInGroup);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getChildAtPoint ( int x,
+                                int y,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getChildAt ( int aChildIndex,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleToRight ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleToLeft ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleAbove ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleBelow ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleRelated ( uint aRelationType,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelationsCount (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelation ( uint index,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessibleRelation ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelations ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getBounds (out int x,
+                               out int y,
+                               out int width,
+                               out int height);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setSelected ( bool isSelected);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int extendSelection ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int takeSelection ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int takeFocus ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNumActions (out char ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getActionName ( char index,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getActionDescription ( char aIndex,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int doAction ( char index);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNativeInterface (out IntPtr aOutAccessible);
+
+#endregion
+       }
+
+
+       internal class nsAccessible {
+               public static nsIAccessible GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessible obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessible).GUID, obj);
+                       return o as nsIAccessible;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class Accessible : nsIAccessible {
+
+#region nsIAccessible
+               int nsIAccessible.getParent ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getNextSibling ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getPreviousSibling ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getFirstChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getLastChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getChildren ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getChildCount (out int ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessible.getIndexInParent (out int ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessible.getName ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.setName (/*AString*/ HandleRef value)
+
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getValue ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getDescription ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getKeyboardShortcut ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getDefaultKeyBinding ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getKeyBindings ( char aActionIndex,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMDOMStringList ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getRole (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessible.getFinalRole (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessible.getFinalState (out uint aState,
+                               out uint aExtraState)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getHelp ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getFocusedChild ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getAttributes ([MarshalAs (UnmanagedType.Interface) ] out nsIPersistentProperties ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.groupPosition (out int aGroupLevel,
+                               out int aSimilarItemsInGroup,
+                               out int aPositionInGroup)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getChildAtPoint ( int x,
+                                int y,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getChildAt ( int aChildIndex,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getAccessibleToRight ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getAccessibleToLeft ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getAccessibleAbove ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getAccessibleBelow ([MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getAccessibleRelated ( uint aRelationType,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getRelationsCount (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessible.getRelation ( uint index,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessibleRelation ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getRelations ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getBounds (out int x,
+                               out int y,
+                               out int width,
+                               out int height)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.setSelected ( bool isSelected)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.extendSelection ()
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.takeSelection ()
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.takeFocus ()
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getNumActions (out char ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessible.getActionName ( char index,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getActionDescription ( char aIndex,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.doAction ( char index)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessible.getNativeInterface (out IntPtr aOutAccessible)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleDocument.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleDocument.cs
new file mode 100644 (file)
index 0000000..152d01b
--- /dev/null
@@ -0,0 +1,176 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("b7ae45bd-21e9-4ed5-a67e-86448b25d56b")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessibleDocument {
+
+#region nsIAccessibleDocument
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getURL ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getTitle ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getMimeType ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDocType ( /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDocument ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMDocument ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getWindow ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMWindow ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getNameSpaceURIForID ( short nameSpaceID,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getWindowHandle ( IntPtr ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCachedAccessNode ( IntPtr aUniqueID,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInParentChain ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                                bool aCanCreate,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+#endregion
+       }
+
+
+       internal class nsAccessibleDocument {
+               public static nsIAccessibleDocument GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessibleDocument obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessibleDocument).GUID, obj);
+                       return o as nsIAccessibleDocument;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class AccessibleDocument : nsIAccessibleDocument {
+
+#region nsIAccessibleDocument
+               int nsIAccessibleDocument.getURL ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getTitle ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getMimeType ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getDocType ( /*AString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getDocument ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMDocument ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getWindow ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMWindow ret)
+
+               {
+                       return null;
+               }
+
+               int nsIAccessibleDocument.getNameSpaceURIForID ( short nameSpaceID,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleDocument.getWindowHandle ( IntPtr ret)
+
+               {
+                       return IntPtr.Zero;
+               }
+
+               int nsIAccessibleDocument.getCachedAccessNode ( IntPtr aUniqueID,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleDocument.getAccessibleInParentChain ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aDOMNode,
+                                bool aCanCreate,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRelation.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRelation.cs
new file mode 100644 (file)
index 0000000..402ef70
--- /dev/null
@@ -0,0 +1,109 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("f42a1589-70ab-4704-877f-4a9162bbe188")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessibleRelation {
+
+#region nsIAccessibleRelation
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelationType (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getTargetsCount (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getTarget ( uint index,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getTargets ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret);
+
+#endregion
+       }
+
+
+       internal class nsAccessibleRelation {
+               public static nsIAccessibleRelation GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessibleRelation obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessibleRelation).GUID, obj);
+                       return o as nsIAccessibleRelation;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class AccessibleRelation : nsIAccessibleRelation {
+
+#region nsIAccessibleRelation
+               int nsIAccessibleRelation.getRelationType (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessibleRelation.getTargetsCount (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIAccessibleRelation.getTarget ( uint index,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRelation.getTargets ([MarshalAs (UnmanagedType.Interface) ] out nsIArray ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs
new file mode 100644 (file)
index 0000000..c720560
--- /dev/null
@@ -0,0 +1,233 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("244e4c67-a1d3-44f2-9cab-cdaa31b68046")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIAccessibleRetrieval {
+
+#region nsIAccessibleRetrieval
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAttachedAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRelevantContentNodeFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInWindow ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIDOMWindow aDOMWin,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInWeakShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getAccessibleInShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                                /*nsIPresShell*/ IntPtr aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCachedAccessNode ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCachedAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringRole ( uint aRole,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringStates ( uint aStates,
+                                uint aExtraStates,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMDOMStringList ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringEventType ( uint aEventType,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringRelationType ( uint aRelationType,
+                                /*AString*/ HandleRef ret);
+
+#endregion
+       }
+
+
+       internal class nsAccessibleRetrieval {
+               public static nsIAccessibleRetrieval GetProxy (Mono.WebBrowser.IWebBrowser control, nsIAccessibleRetrieval obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIAccessibleRetrieval).GUID, obj);
+                       return o as nsIAccessibleRetrieval;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class AccessibleRetrieval : nsIAccessibleRetrieval {
+
+#region nsIAccessibleRetrieval
+               int nsIAccessibleRetrieval.getAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getAttachedAccessibleFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getRelevantContentNodeFor ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMNode ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getAccessibleInWindow ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIDOMWindow aDOMWin,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getAccessibleInWeakShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getAccessibleInShell ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                                /*nsIPresShell*/ IntPtr aPresShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getCachedAccessNode ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessNode ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getCachedAccessible ([MarshalAs (UnmanagedType.Interface) ]  nsIDOMNode aNode,
+                               [MarshalAs (UnmanagedType.Interface) ]  nsIWeakReference aShell,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIAccessible ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getStringRole ( uint aRole,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getStringStates ( uint aStates,
+                                uint aExtraStates,
+                               [MarshalAs (UnmanagedType.Interface) ] out nsIDOMDOMStringList ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getStringEventType ( uint aEventType,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIAccessibleRetrieval.getStringRelationType ( uint aRelationType,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIArray.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIArray.cs
new file mode 100644 (file)
index 0000000..6020af8
--- /dev/null
@@ -0,0 +1,116 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("114744d9-c369-456e-b55a-52fe52880d2d")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIArray {
+
+#region nsIArray
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLength (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int queryElementAt ( uint index,
+                               [MarshalAs (UnmanagedType.LPStruct) ]  Guid uuid,
+                               out IntPtr result);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int indexOf ( uint startIndex,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr element,
+                               out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int enumerate ([MarshalAs (UnmanagedType.Interface) ] out nsISimpleEnumerator ret);
+
+#endregion
+       }
+
+
+       internal class nsArray {
+               public static nsIArray GetProxy (Mono.WebBrowser.IWebBrowser control, nsIArray obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIArray).GUID, obj);
+                       return o as nsIArray;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class Array : nsIArray {
+
+#region nsIArray
+               int nsIArray.getLength (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIArray.queryElementAt ( uint index,
+                               [MarshalAs (UnmanagedType.LPStruct) ]  Guid uuid,
+                               out IntPtr result)
+               {
+                       return ;
+               }
+
+
+
+               int nsIArray.indexOf ( uint startIndex,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr element,
+                               out uint ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIArray.enumerate ([MarshalAs (UnmanagedType.Interface) ] out nsISimpleEnumerator ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs
new file mode 100644 (file)
index 0000000..b898651
--- /dev/null
@@ -0,0 +1,172 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("e249031f-8df9-4e7a-b644-18946dce0019")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue {
+#region nsIDOMCSSValue
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCssText ( /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setCssText (/*DOMString*/ HandleRef value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCssValueType (out ushort ret);
+
+#endregion
+
+#region nsIDOMCSSPrimitiveValue
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getPrimitiveType (out ushort ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setFloatValue ( ushort unitType,
+                                float floatValue);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getFloatValue ( ushort unitType,
+                               out float ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setStringValue ( ushort stringType,
+                                /*DOMString*/ HandleRef stringValue);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringValue ( /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCounterValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCounter ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRectValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMRect ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRGBColorValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMRGBColor ret);
+
+#endregion
+       }
+
+
+       internal class nsDOMCSSPrimitiveValue {
+               public static nsIDOMCSSPrimitiveValue GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMCSSPrimitiveValue obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIDOMCSSPrimitiveValue).GUID, obj);
+                       return o as nsIDOMCSSPrimitiveValue;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class DOMCSSPrimitiveValue : nsIDOMCSSPrimitiveValue {
+
+#region nsIDOMCSSPrimitiveValue
+               int nsIDOMCSSPrimitiveValue.getPrimitiveType (out ushort ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIDOMCSSPrimitiveValue.setFloatValue ( ushort unitType,
+                                float floatValue)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.getFloatValue ( ushort unitType,
+                               out float ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.setStringValue ( ushort stringType,
+                                /*DOMString*/ HandleRef stringValue)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.getStringValue ( /*DOMString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.getCounterValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCounter ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.getRectValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMRect ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMCSSPrimitiveValue.getRGBColorValue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMRGBColor ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCounter.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMCounter.cs
new file mode 100644 (file)
index 0000000..c5f5385
--- /dev/null
@@ -0,0 +1,95 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("31adb439-0055-402d-9b1d-d5ca94f3f55b")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIDOMCounter {
+
+#region nsIDOMCounter
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getIdentifier ( /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getListStyle ( /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getSeparator ( /*DOMString*/ HandleRef ret);
+
+#endregion
+       }
+
+
+       internal class nsDOMCounter {
+               public static nsIDOMCounter GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMCounter obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIDOMCounter).GUID, obj);
+                       return o as nsIDOMCounter;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class DOMCounter : nsIDOMCounter {
+
+#region nsIDOMCounter
+               int nsIDOMCounter.getIdentifier ( /*DOMString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMCounter.getListStyle ( /*DOMString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMCounter.getSeparator ( /*DOMString*/ HandleRef ret)
+
+               {
+                       return null;
+               }
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs
new file mode 100644 (file)
index 0000000..4b1b530
--- /dev/null
@@ -0,0 +1,101 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("0bbae65c-1dde-11d9-8c46-000a95dc234c")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIDOMDOMStringList {
+
+#region nsIDOMDOMStringList
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int item ( uint index,
+                                /*DOMString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLength (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int contains ( /*DOMString*/ HandleRef str,
+                               out bool ret);
+
+#endregion
+       }
+
+
+       internal class nsDOMDOMStringList {
+               public static nsIDOMDOMStringList GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMDOMStringList obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIDOMDOMStringList).GUID, obj);
+                       return o as nsIDOMDOMStringList;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class DOMDOMStringList : nsIDOMDOMStringList {
+
+#region nsIDOMDOMStringList
+               int nsIDOMDOMStringList.item ( uint index,
+                                /*DOMString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIDOMDOMStringList.getLength (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsIDOMDOMStringList.contains ( /*DOMString*/ HandleRef str,
+                               out bool ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRGBColor.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRGBColor.cs
new file mode 100644 (file)
index 0000000..abe5c86
--- /dev/null
@@ -0,0 +1,95 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("6aff3102-320d-4986-9790-12316bb87cf9")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIDOMRGBColor {
+
+#region nsIDOMRGBColor
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRed ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getGreen ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getBlue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+#endregion
+       }
+
+
+       internal class nsDOMRGBColor {
+               public static nsIDOMRGBColor GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMRGBColor obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIDOMRGBColor).GUID, obj);
+                       return o as nsIDOMRGBColor;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class DOMRGBColor : nsIDOMRGBColor {
+
+#region nsIDOMRGBColor
+               int nsIDOMRGBColor.getRed ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMRGBColor.getGreen ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMRGBColor.getBlue ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRect.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIDOMRect.cs
new file mode 100644 (file)
index 0000000..9e9037e
--- /dev/null
@@ -0,0 +1,105 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("71735f62-ac5c-4236-9a1f-5ffb280d531c")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIDOMRect {
+
+#region nsIDOMRect
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getTop ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getRight ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getBottom ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getLeft ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret);
+
+#endregion
+       }
+
+
+       internal class nsDOMRect {
+               public static nsIDOMRect GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMRect obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIDOMRect).GUID, obj);
+                       return o as nsIDOMRect;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class DOMRect : nsIDOMRect {
+
+#region nsIDOMRect
+               int nsIDOMRect.getTop ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMRect.getRight ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMRect.getBottom ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+               int nsIDOMRect.getLeft ([MarshalAs (UnmanagedType.Interface) ] out nsIDOMCSSPrimitiveValue ret)
+
+               {
+                       return null;
+               }
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIObserver.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIObserver.cs
new file mode 100644 (file)
index 0000000..c1f9795
--- /dev/null
@@ -0,0 +1,80 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("DB242E01-E4D9-11d2-9DDE-000064657374")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIObserver {
+
+#region nsIObserver
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int observe ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aSubject,
+                               [MarshalAs (UnmanagedType.LPStr) ]  string aTopic,
+                               [MarshalAs(UnmanagedType.LPWStr) ]  string aData);
+
+#endregion
+       }
+
+
+       internal class nsObserver {
+               public static nsIObserver GetProxy (Mono.WebBrowser.IWebBrowser control, nsIObserver obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIObserver).GUID, obj);
+                       return o as nsIObserver;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class Observer : nsIObserver {
+
+#region nsIObserver
+               int nsIObserver.observe ([MarshalAs (UnmanagedType.Interface) ]  IntPtr aSubject,
+                               [MarshalAs (UnmanagedType.LPStr) ]  string aTopic,
+                               [MarshalAs(UnmanagedType.LPWStr) ]  string aData)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIOutputStream.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIOutputStream.cs
new file mode 100644 (file)
index 0000000..b5de420
--- /dev/null
@@ -0,0 +1,145 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("0d0acd2a-61b4-11d4-9877-00c04fa0cf4a")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIOutputStream {
+
+#region nsIOutputStream
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int close ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int flush ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int write ([MarshalAs (UnmanagedType.LPStr) ]  string aBuf,
+                                uint aCount,
+                               out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int writeFrom ([MarshalAs (UnmanagedType.Interface) ]  nsIInputStream aFromStream,
+                                uint aCount,
+                               out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int writeSegments ( nsIReadSegmentFunDelegate aReader,
+                                IntPtr aClosure,
+                                uint aCount,
+                               out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int isNonBlocking (out bool ret);
+
+#endregion
+       }
+
+
+       internal class nsOutputStream {
+               public static nsIOutputStream GetProxy (Mono.WebBrowser.IWebBrowser control, nsIOutputStream obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIOutputStream).GUID, obj);
+                       return o as nsIOutputStream;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class OutputStream : nsIOutputStream {
+
+#region nsIOutputStream
+               int nsIOutputStream.close ()
+               {
+                       return ;
+               }
+
+
+
+               int nsIOutputStream.flush ()
+               {
+                       return ;
+               }
+
+
+
+               int nsIOutputStream.write ([MarshalAs (UnmanagedType.LPStr) ]  string aBuf,
+                                uint aCount,
+                               out uint ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIOutputStream.writeFrom ([MarshalAs (UnmanagedType.Interface) ]  nsIInputStream aFromStream,
+                                uint aCount,
+                               out uint ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIOutputStream.writeSegments ( nsIReadSegmentFunDelegate aReader,
+                                IntPtr aClosure,
+                                uint aCount,
+                               out uint ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIOutputStream.isNonBlocking (out bool ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIPersistentProperties.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIPersistentProperties.cs
new file mode 100644 (file)
index 0000000..8591137
--- /dev/null
@@ -0,0 +1,166 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("1A180F60-93B2-11d2-9B8B-00805F8A16D9")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIPersistentProperties : nsIProperties {
+#region nsIProperties
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int get ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.LPStruct) ]  Guid iid,
+                               out IntPtr result);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int set ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int has ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               out bool ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int undefine ([MarshalAs (UnmanagedType.LPStr) ]  string prop);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getKeys (out UInt32 count,
+                               [MarshalAs (UnmanagedType.LPStr) ] out string[] keys);
+
+#endregion
+
+#region nsIPersistentProperties
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int load ([MarshalAs (UnmanagedType.Interface) ]  nsIInputStream input);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int save ([MarshalAs (UnmanagedType.Interface) ]  nsIOutputStream output,
+                                /*AUTF8String*/ HandleRef header);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int subclass ([MarshalAs (UnmanagedType.Interface) ]  nsIPersistentProperties superclass);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int enumerate ([MarshalAs (UnmanagedType.Interface) ] out nsISimpleEnumerator ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getStringProperty ( /*AUTF8String*/ HandleRef key,
+                                /*AString*/ HandleRef ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setStringProperty ( /*AUTF8String*/ HandleRef key,
+                                /*AString*/ HandleRef value,
+                                /*AString*/ HandleRef ret);
+
+#endregion
+       }
+
+
+       internal class nsPersistentProperties {
+               public static nsIPersistentProperties GetProxy (Mono.WebBrowser.IWebBrowser control, nsIPersistentProperties obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIPersistentProperties).GUID, obj);
+                       return o as nsIPersistentProperties;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class PersistentProperties : nsIPersistentProperties {
+
+#region nsIPersistentProperties
+               int nsIPersistentProperties.load ([MarshalAs (UnmanagedType.Interface) ]  nsIInputStream input)
+               {
+                       return ;
+               }
+
+
+
+               int nsIPersistentProperties.save ([MarshalAs (UnmanagedType.Interface) ]  nsIOutputStream output,
+                                /*AUTF8String*/ HandleRef header)
+               {
+                       return ;
+               }
+
+
+
+               int nsIPersistentProperties.subclass ([MarshalAs (UnmanagedType.Interface) ]  nsIPersistentProperties superclass)
+               {
+                       return ;
+               }
+
+
+
+               int nsIPersistentProperties.enumerate ([MarshalAs (UnmanagedType.Interface) ] out nsISimpleEnumerator ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIPersistentProperties.getStringProperty ( /*AUTF8String*/ HandleRef key,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIPersistentProperties.setStringProperty ( /*AUTF8String*/ HandleRef key,
+                                /*AString*/ HandleRef value,
+                                /*AString*/ HandleRef ret)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIProperties.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsIProperties.cs
new file mode 100644 (file)
index 0000000..8db7e29
--- /dev/null
@@ -0,0 +1,130 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("78650582-4e93-4b60-8e85-26ebd3eb14ca")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsIProperties {
+
+#region nsIProperties
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int get ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.LPStruct) ]  Guid iid,
+                               out IntPtr result);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int set ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int has ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               out bool ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int undefine ([MarshalAs (UnmanagedType.LPStr) ]  string prop);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getKeys (out UInt32 count,
+                               [MarshalAs (UnmanagedType.LPStr) ] out string[] keys);
+
+#endregion
+       }
+
+
+       internal class nsProperties {
+               public static nsIProperties GetProxy (Mono.WebBrowser.IWebBrowser control, nsIProperties obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsIProperties).GUID, obj);
+                       return o as nsIProperties;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class Properties : nsIProperties {
+
+#region nsIProperties
+               int nsIProperties.get ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.LPStruct) ]  Guid iid,
+                               out IntPtr result)
+               {
+                       return ;
+               }
+
+
+
+               int nsIProperties.set ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               [MarshalAs (UnmanagedType.Interface) ]  IntPtr value)
+               {
+                       return ;
+               }
+
+
+
+               int nsIProperties.has ([MarshalAs (UnmanagedType.LPStr) ]  string prop,
+                               out bool ret)
+               {
+                       return ;
+               }
+
+
+
+               int nsIProperties.undefine ([MarshalAs (UnmanagedType.LPStr) ]  string prop)
+               {
+                       return ;
+               }
+
+
+
+               int nsIProperties.getKeys (out UInt32 count,
+                               [MarshalAs (UnmanagedType.LPStr) ] out string[] keys)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimer.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimer.cs
new file mode 100644 (file)
index 0000000..aa0e083
--- /dev/null
@@ -0,0 +1,185 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("436a83fa-b396-11d9-bcfa-00112478d626")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsITimer {
+
+#region nsITimer
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int init ([MarshalAs (UnmanagedType.Interface) ]  nsIObserver aObserver,
+                                uint aDelay,
+                                uint aType);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int initWithFuncCallback ( nsITimerCallbackDelegate aCallback,
+                                IntPtr aClosure,
+                                uint aDelay,
+                                uint aType);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int initWithCallback ([MarshalAs (UnmanagedType.Interface) ]  nsITimerCallback aCallback,
+                                uint aDelay,
+                                uint aType);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int cancel ();
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getDelay (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setDelay (uint value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getType (out uint ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int setType (uint value);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getClosure ( IntPtr ret);
+
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int getCallback ([MarshalAs (UnmanagedType.Interface) ] out nsITimerCallback ret);
+
+#endregion
+       }
+
+
+       internal class nsTimer {
+               public static nsITimer GetProxy (Mono.WebBrowser.IWebBrowser control, nsITimer obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsITimer).GUID, obj);
+                       return o as nsITimer;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class Timer : nsITimer {
+
+#region nsITimer
+               int nsITimer.init ([MarshalAs (UnmanagedType.Interface) ]  nsIObserver aObserver,
+                                uint aDelay,
+                                uint aType)
+               {
+                       return ;
+               }
+
+
+
+               int nsITimer.initWithFuncCallback ( nsITimerCallbackDelegate aCallback,
+                                IntPtr aClosure,
+                                uint aDelay,
+                                uint aType)
+               {
+                       return ;
+               }
+
+
+
+               int nsITimer.initWithCallback ([MarshalAs (UnmanagedType.Interface) ]  nsITimerCallback aCallback,
+                                uint aDelay,
+                                uint aType)
+               {
+                       return ;
+               }
+
+
+
+               int nsITimer.cancel ()
+               {
+                       return ;
+               }
+
+
+
+               int nsITimer.getDelay (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsITimer.setDelay (uint value)
+
+
+               {
+                       return 0;
+               }
+
+               int nsITimer.getType (out uint ret)
+
+               {
+                       return 0;
+               }
+
+               int nsITimer.setType (uint value)
+
+
+               {
+                       return 0;
+               }
+
+               int nsITimer.getClosure ( IntPtr ret)
+
+               {
+                       return IntPtr.Zero;
+               }
+
+               int nsITimer.getCallback ([MarshalAs (UnmanagedType.Interface) ] out nsITimerCallback ret)
+
+               {
+                       return null;
+               }
+
+#endregion
+       }
+#endif
diff --git a/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimerCallback.cs b/mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/nsITimerCallback.cs
new file mode 100644 (file)
index 0000000..d8ddb55
--- /dev/null
@@ -0,0 +1,76 @@
+// THIS FILE AUTOMATICALLY GENERATED BY xpidl2cs.pl
+// EDITING IS PROBABLY UNWISE
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2007, 2008 Novell, Inc.
+//
+// Authors:
+//     Andreia Gaita (avidigal@novell.com)
+//
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+namespace Mono.Mozilla {
+
+       [Guid ("a796816d-7d47-4348-9ab8-c7aeb3216a7d")]
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComImport ()]
+       internal interface nsITimerCallback {
+
+#region nsITimerCallback
+               [PreserveSigAttribute]
+               [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+               int notify ([MarshalAs (UnmanagedType.Interface) ]  nsITimer timer);
+
+#endregion
+       }
+
+
+       internal class nsTimerCallback {
+               public static nsITimerCallback GetProxy (Mono.WebBrowser.IWebBrowser control, nsITimerCallback obj)
+               {
+                       object o = Base.GetProxyForObject (control, typeof(nsITimerCallback).GUID, obj);
+                       return o as nsITimerCallback;
+               }
+       }
+}
+#if example
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+
+       internal class TimerCallback : nsITimerCallback {
+
+#region nsITimerCallback
+               int nsITimerCallback.notify ([MarshalAs (UnmanagedType.Interface) ]  nsITimer timer)
+               {
+                       return ;
+               }
+
+
+
+#endregion
+       }
+#endif
index 5f4bfa4f2d1b207757670f8ca0ec9ddee88a63bb..55d3058a815f583db9a80838918f899266183a86 100644 (file)
@@ -9,9 +9,20 @@ Mono.Mozilla/DOM/EventListener.cs
 Mono.Mozilla/DOM/NamedNodeMap.cs
 Mono.Mozilla/DOM/Stylesheet.cs
 Mono.Mozilla/DOM/StylesheetList.cs
+Mono.Mozilla/interfaces/extras/nsIReadSegmentFun.cs
+Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs
+Mono.Mozilla/interfaces/nsIAccessibilityService.cs
+Mono.Mozilla/interfaces/nsIAccessible.cs
+Mono.Mozilla/interfaces/nsIAccessibleDocument.cs
+Mono.Mozilla/interfaces/nsIAccessibleRelation.cs
+Mono.Mozilla/interfaces/nsIAccessibleRetrieval.cs
+Mono.Mozilla/interfaces/nsIAccessNode.cs
+Mono.Mozilla/interfaces/nsIArray.cs
 Mono.Mozilla/interfaces/nsICancelable.cs
 Mono.Mozilla/interfaces/nsIChannel.cs
 Mono.Mozilla/interfaces/nsIClassInfo.cs
+Mono.Mozilla/interfaces/nsIDOMCounter.cs
+Mono.Mozilla/interfaces/nsIDOMCSSPrimitiveValue.cs
 Mono.Mozilla/interfaces/nsIDOMCSSRule.cs
 Mono.Mozilla/interfaces/nsIDOMCSSRuleList.cs
 Mono.Mozilla/interfaces/nsIDOMCSSStyleDeclaration.cs
@@ -19,6 +30,7 @@ Mono.Mozilla/interfaces/nsIDOMCSSStyleSheet.cs
 Mono.Mozilla/interfaces/nsIDOMCSSValue.cs
 Mono.Mozilla/interfaces/nsIDOMDocumentEvent.cs
 Mono.Mozilla/interfaces/nsIDOMDocumentStyle.cs
+Mono.Mozilla/interfaces/nsIDOMDOMStringList.cs
 Mono.Mozilla/interfaces/nsIDOMEvent.cs
 Mono.Mozilla/interfaces/nsIDOMEventListener.cs
 Mono.Mozilla/interfaces/nsIDOMEventTarget.cs
@@ -27,6 +39,8 @@ Mono.Mozilla/interfaces/nsIDOMKeyEvent.cs
 Mono.Mozilla/interfaces/nsIDOMMediaList.cs
 Mono.Mozilla/interfaces/nsIDOMMouseEvent.cs
 Mono.Mozilla/interfaces/nsIDOMNSRange.cs
+Mono.Mozilla/interfaces/nsIDOMRect.cs
+Mono.Mozilla/interfaces/nsIDOMRGBColor.cs
 Mono.Mozilla/interfaces/nsIDOMStyleSheet.cs
 Mono.Mozilla/interfaces/nsIDOMStyleSheetList.cs
 Mono.Mozilla/interfaces/nsIDOMUIEvent.cs
@@ -34,13 +48,19 @@ Mono.Mozilla/interfaces/nsIDOMViewCSS.cs
 Mono.Mozilla/interfaces/nsIFile.cs
 Mono.Mozilla/interfaces/nsIIOService.cs
 Mono.Mozilla/interfaces/nsILoadGroup.cs
+Mono.Mozilla/interfaces/nsIObserver.cs
+Mono.Mozilla/interfaces/nsIOutputStream.cs
+Mono.Mozilla/interfaces/nsIPersistentProperties.cs
 Mono.Mozilla/interfaces/nsIPrefBranch.cs
 Mono.Mozilla/interfaces/nsIPrefService.cs
+Mono.Mozilla/interfaces/nsIProperties.cs
 Mono.Mozilla/interfaces/nsIProtocolHandler.cs
 Mono.Mozilla/interfaces/nsIRequest.cs
 Mono.Mozilla/interfaces/nsIRequestObserver.cs
 Mono.Mozilla/interfaces/nsIServiceManager.cs
 Mono.Mozilla/interfaces/nsIStreamListener.cs
+Mono.Mozilla/interfaces/nsITimer.cs
+Mono.Mozilla/interfaces/nsITimerCallback.cs
 Mono.Mozilla/interfaces/nsIURIContentListener.cs
 Mono.Mozilla/interfaces/nsIWeakReference.cs
 Mono.Mozilla/interfaces/nsIWebBrowser.cs
index 154bca9c4250389faa9de8032dfe2fc216382370..02bdcbfebc0799b9de6b7e41c99e6acae9acc991 100644 (file)
     <Compile Include="Mono.Mozilla\DOM\NamedNodeMap.cs" />
     <Compile Include="Mono.Mozilla\DOM\Stylesheet.cs" />
     <Compile Include="Mono.Mozilla\DOM\StylesheetList.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\extras\nsIReadSegmentFun.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\extras\nsITimerCallbackDelegate.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessibilityService.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessible.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessibleDocument.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessibleRelation.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessibleRetrieval.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIAccessNode.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIArray.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsICancelable.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIChannel.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIClassInfo.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIDOMCounter.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIDOMCSSPrimitiveValue.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMCSSRule.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMCSSRuleList.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMCSSStyleDeclaration.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMCSSValue.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMDocumentEvent.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMDocumentStyle.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIDOMDOMStringList.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMEvent.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMEventListener.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMEventTarget.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMMediaList.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMMouseEvent.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMNSRange.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIDOMRect.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIDOMRGBColor.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMStyleSheet.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMStyleSheetList.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIDOMUIEvent.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIFile.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIIOService.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsILoadGroup.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIObserver.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIOutputStream.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIPersistentProperties.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIPrefBranch.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIPrefService.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsIProperties.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIProtocolHandler.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIRequest.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIRequestObserver.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIServiceManager.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIStreamListener.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsITimer.cs" />
+    <Compile Include="Mono.Mozilla\interfaces\nsITimerCallback.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIURIContentListener.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIWeakReference.cs" />
     <Compile Include="Mono.Mozilla\interfaces\nsIWebBrowser.cs" />