Embedded Web Shell (cont)
Creating a webshell
•
Creating the webshell instance
–
nsComponentManager::CreateInstance(…);
•
Initializing the webshell
–
mWebShell->Init(native window, x, y, w, h);
–
mWebShell->Show();
•
Loading a URL
–
mWebShell->LoadURL(L”http://…”);