M dist/netbeans/build.xml
- Correctly exclude Gtk test on Mac M dist/netbeans/logging.properties - turn on all webclient logging M dist/netbeans/webclient.properties - Use correct extension for jnilib on mac os x M webclient/src_moz/EmbedWindow.cpp M webclient/src_moz/NativeBrowserControl.cpp - extra logging M webclient/src_moz/WindowControlImpl.cpp - correct ifdef logic to exclude some Gtk specific code. git-svn-id: svn://10.0.0.236/trunk@227854 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -134,6 +134,9 @@ NativeBrowserControl::Realize(jobject javaBrowserControl,
|
||||
PRUint32 width, PRUint32 height)
|
||||
{
|
||||
|
||||
PR_LOG(prLogModuleInfo, PR_LOG_DEBUG,
|
||||
("NativeBrowserControl::Realize: start"));
|
||||
|
||||
// parentWinPtr is whatever was returned from
|
||||
// <platform>BrowserControlCanvas.getWindow().
|
||||
|
||||
@@ -161,6 +164,8 @@ NativeBrowserControl::Realize(jobject javaBrowserControl,
|
||||
// create the window
|
||||
rv = mWindow->CreateWindow_(width, height);
|
||||
if (NS_FAILED(rv)) {
|
||||
PR_LOG(prLogModuleInfo, PR_LOG_DEBUG,
|
||||
("NativeBrowserControl::Realize: EmbedWindow::CreateWindow returned: %d", rv));
|
||||
JNIEnv *env = (JNIEnv *) JNU_GetEnv(gVm, JNI_VERSION);
|
||||
::util_ThrowExceptionToJava(env, "Can't CreateWindow");
|
||||
}
|
||||
@@ -185,6 +190,8 @@ NativeBrowserControl::Realize(jobject javaBrowserControl,
|
||||
::util_ThrowExceptionToJava(env, "Can't get EventRegistration from BrowserControl");
|
||||
}
|
||||
|
||||
PR_LOG(prLogModuleInfo, PR_LOG_DEBUG,
|
||||
("NativeBrowserControl::Realize: succeeded"));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user