Further work on experiment llmozlib/geko based embedded web browser

This commit is contained in:
Robert Osfield
2008-11-14 16:48:07 +00:00
parent d75cc7f84d
commit b62cb79c7e
6 changed files with 799 additions and 311 deletions

View File

@@ -78,9 +78,9 @@ LLMozLib::~LLMozLib()
bool LLMozLib::init( std::string applicationDir, std::string componentDir, std::string profileDir, void* nativeWindowHandleIn )
{
return LLEmbeddedBrowser::getInstance()->init( applicationDir,
componentDir,
profileDir,
nativeWindowHandleIn );
componentDir,
profileDir,
nativeWindowHandleIn );
}
////////////////////////////////////////////////////////////////////////////////
@@ -408,8 +408,11 @@ const unsigned char* LLMozLib::getBrowserWindowPixels( int browserWindowIdIn )
LLEmbeddedBrowserWindow* browserWindow = getBrowserWindowFromWindowId( browserWindowIdIn );
if ( browserWindow )
{
std::cout<<"Returning browserWindow->getPageBuffer() "<<std::endl;
return browserWindow->getPageBuffer();
};
std::cout<<"No browserWindow"<<std::endl;
return 0;
}