Author: andreia
Date: 2007-07-04 13:26:00 -0400 (Wed, 04 Jul 2007)
New Revision: 81345

Modified:
   trunk/mozembed/xulbrowser/BrowserWindow.cpp
   trunk/mozembed/xulbrowser/BrowserWindow.h
   trunk/mozembed/xulbrowser/ChangeLog
   trunk/mozembed/xulbrowser/xulbrowser.h
Log:
2007-07-04 Andreia Gaita <[EMAIL PROTECTED]>

* BrowserWindow.cpp, BrowserWindow.h, xulbrowser.h: 
Change the include paths of non-frozen interfaces to use
the xulrunner-devel package tree.

Modified: trunk/mozembed/xulbrowser/BrowserWindow.cpp
===================================================================
--- trunk/mozembed/xulbrowser/BrowserWindow.cpp 2007-07-04 16:20:26 UTC (rev 
81344)
+++ trunk/mozembed/xulbrowser/BrowserWindow.cpp 2007-07-04 17:26:00 UTC (rev 
81345)
@@ -15,10 +15,8 @@
 #include "BrowserWindow.h"
 #include "nsEmbedString.h"
 
-#include "nsIDocShellTreeItem.h"
 
 // for getting the native mozilla drawing handle
-#include "nsIWidget.h"
 
 #ifdef NS_UNIX
 #include "gtkWidget.h"
@@ -80,6 +78,9 @@
 
     if ( webBrowser )
     {
+               // I really hope we don't need this, it calls in nsIWidget.h 
which calls
+               // in a bunch of local includes we don't want
+/*             
 #ifdef NS_UNIX
                // save the window id of the newly created window
                nsCOMPtr<nsIWidget> mozWidget;
@@ -95,6 +96,7 @@
                gdk_window_get_user_data(tmp_window, &data);
                this->nativeMozWidget = NS_STATIC_CAST(Handle *, data);
 #endif         
+*/
                return NS_OK;
     }
 

Modified: trunk/mozembed/xulbrowser/BrowserWindow.h
===================================================================
--- trunk/mozembed/xulbrowser/BrowserWindow.h   2007-07-04 16:20:26 UTC (rev 
81344)
+++ trunk/mozembed/xulbrowser/BrowserWindow.h   2007-07-04 17:26:00 UTC (rev 
81345)
@@ -9,30 +9,32 @@
  * 
  */
 
-#include <nsIBaseWindow.h>
+#include <widget/nsIBaseWindow.h>
 #include <nsIDOMEventListener.h>
 #include <nsIDOMEventTarget.h>
 #include <nsIInterfaceRequestor.h>
 #include <nsIWebBrowserChrome.h>
-#include <nsIWebNavigation.h>
+#include <docshell/nsIWebNavigation.h>
 #include <nsIWebProgress.h>
 #include <nsIWebProgressListener.h>
 #include <nsIURIContentListener.h>
 #include <nsIDOMEvent.h>
 #include <nsIDOMEventListener.h>
 #include <nsIDOMWindow.h>
-#include <nsIDOMKeyEvent.h>
+#include <dom/nsIDOMKeyEvent.h>
 #include <nsIDOMMouseEvent.h>
 
 #include <nsIWeakReference.h>
 #include <nsWeakReference.h>
 #include <nsIWebBrowser.h>
-#include <nsIWidget.h>
+// for getting the native mozilla drawing handle
+//#include <widget/nsIWidget.h>
 #include <nsISHistory.h>
 #include <nsIWindowCreator.h>
 #include <nsIWindowWatcher.h>
 
 #include <nsServiceManagerUtils.h>
+#include <docshell/nsIDocShellTreeItem.h>
 
 
 #include "Widget.h"

Modified: trunk/mozembed/xulbrowser/ChangeLog
===================================================================
--- trunk/mozembed/xulbrowser/ChangeLog 2007-07-04 16:20:26 UTC (rev 81344)
+++ trunk/mozembed/xulbrowser/ChangeLog 2007-07-04 17:26:00 UTC (rev 81345)
@@ -1,3 +1,9 @@
+2007-07-04 Andreia Gaita <[EMAIL PROTECTED]>
+
+       * BrowserWindow.cpp, BrowserWindow.h, xulbrowser.h: 
+       Change the include paths of non-frozen interfaces to use
+       the xulrunner-devel package tree.
+
 2007-06-25 Andreia Gaita <[EMAIL PROTECTED]>
 
        * BrowserWindow.cpp: 

Modified: trunk/mozembed/xulbrowser/xulbrowser.h
===================================================================
--- trunk/mozembed/xulbrowser/xulbrowser.h      2007-07-04 16:20:26 UTC (rev 
81344)
+++ trunk/mozembed/xulbrowser/xulbrowser.h      2007-07-04 17:26:00 UTC (rev 
81345)
@@ -32,12 +32,12 @@
 
 //WebBrowser Interface
 #include <nsIWebBrowserFocus.h>
-#include <nsIBaseWindow.h>
-#include <nsIWebNavigation.h>
+#include <widget/nsIBaseWindow.h>
+#include <docshell/nsIWebNavigation.h>
 
 // for NS_APPSHELL_CID
-#include <nsWidgetsCID.h>
-#include <nsIAppShell.h>
+#include <widget/nsWidgetsCID.h>
+#include <widget/nsIAppShell.h>
 
 #ifdef WIN32
 #define NS_EXPORT_(type) __declspec(dllexport) type __stdcall

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to