M Makefile.win
M dom/jni/javaDOMEventsGlobals.cpp M dom/jni/makefile.win M dom/jni/nativeDOMProxyListener.cpp M dom/jni/nativeDOMProxyListener.h M dom/jni/org_mozilla_dom_events_EventImpl.cpp M dom/src/makefile.win M dom/src/nsJavaDOMImpl.cpp M webclient/Makefile.win M webclient/classes_spec/Makefile.win M webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java M webclient/src_moz/CBrowserContainer.cpp M webclient/src_moz/CurrentPageActionEvents.cpp M webclient/src_moz/HistoryActionEvents.cpp M webclient/src_moz/HistoryImpl.cpp M webclient/src_moz/InputStreamShim.cpp M webclient/src_moz/Makefile.win M webclient/src_moz/NativeEventThread.cpp M webclient/src_moz/NativeEventThreadActionEvents.cpp M webclient/src_moz/NavigationActionEvents.cpp M webclient/src_moz/NavigationImpl.cpp M webclient/src_moz/PreferencesActionEvents.cpp M webclient/src_moz/PromptActionEvents.cpp M webclient/src_moz/RDFActionEvents.cpp M webclient/src_moz/win32/Makefile.win Changes to make webclient compile and run with MOZILLA_0_9_9_BRANCH. git-svn-id: svn://10.0.0.236/trunk@118989 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
#include "NativeEventThreadActionEvents.h"
|
||||
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
|
||||
static NS_DEFINE_IID(kWebShellCID, NS_WEB_SHELL_CID);
|
||||
static NS_DEFINE_IID(kIWebShellIID, NS_IWEB_SHELL_IID);
|
||||
|
||||
@@ -118,21 +120,20 @@ wsRealizeBrowserEvent::handleEvent ()
|
||||
|
||||
// set the docloaderobserver PENDING(edburns): how to we make our
|
||||
// presence as a nsIWebProgressListener know?n
|
||||
|
||||
|
||||
printf("Creation Done.....\n");
|
||||
// Get the WebNavigation Object from the DocShell
|
||||
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(mInitContext->docShell));
|
||||
mInitContext->webNavigation = webNav;
|
||||
|
||||
if (nsnull == gHistory) {
|
||||
rv = gComponentManager->CreateInstance(kSHistoryCID, nsnull,
|
||||
kISHistoryIID,
|
||||
(void**)&gHistory);
|
||||
rv = webNav->GetSessionHistory((nsISHistory **)&gHistory);
|
||||
if (NS_FAILED(rv)) {
|
||||
mInitContext->initFailCode = kHistoryWebShellError;
|
||||
return (void *) rv;
|
||||
}
|
||||
}
|
||||
|
||||
printf("Creation Done.....\n");
|
||||
// Get the WebNavigation Object from the DocShell
|
||||
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(mInitContext->docShell));
|
||||
mInitContext->webNavigation = webNav;
|
||||
|
||||
// Set the History
|
||||
// mInitContext->webNavigation->SetSessionHistory(gHistory);
|
||||
|
||||
Reference in New Issue
Block a user