NOT PART OF BUILD. Simple test app for Gecko written using wxWindows
git-svn-id: svn://10.0.0.236/trunk@144101 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
26
mozilla/embedding/tests/wxEmbed/GeckoWindowCreator.cpp
Normal file
26
mozilla/embedding/tests/wxEmbed/GeckoWindowCreator.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "GeckoWindowCreator.h"
|
||||
#include "GeckoContainer.h"
|
||||
|
||||
#include "nsIWebBrowserChrome.h"
|
||||
|
||||
GeckoWindowCreator::GeckoWindowCreator()
|
||||
{
|
||||
}
|
||||
|
||||
GeckoWindowCreator::~GeckoWindowCreator()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(GeckoWindowCreator, nsIWindowCreator)
|
||||
|
||||
NS_IMETHODIMP
|
||||
GeckoWindowCreator::CreateChromeWindow(nsIWebBrowserChrome *parent,
|
||||
PRUint32 chromeFlags,
|
||||
nsIWebBrowserChrome **_retval)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(_retval);
|
||||
// AppCallbacks::CreateBrowserWindow(PRInt32(chromeFlags), parent, _retval);
|
||||
// TODO QI nsIGeckoContainer
|
||||
*_retval = nsnull;
|
||||
return *_retval ? NS_OK : NS_ERROR_FAILURE;
|
||||
}
|
||||
Reference in New Issue
Block a user