зеркало из https://github.com/mozilla/gecko-dev.git
Added extra parameter for Init of WenShell
This commit is contained in:
Родитель
fdcb34465c
Коммит
e66cef5066
|
@ -1070,7 +1070,7 @@ void nsBrowserWindow::DoFind()
|
|||
nsString findHTML("resource:/res/samples/find.html");
|
||||
//nsString findHTML("resource:/res/samples/find-table.html");
|
||||
nsRect rect(0, 0, 510, 170);
|
||||
//nsRect rect(0, 0, 480, 150);
|
||||
//nsRect rect(0, 0, 480, 127);
|
||||
nsString title("Find");
|
||||
|
||||
nsXPBaseWindow * dialog = nsnull;
|
||||
|
|
|
@ -234,7 +234,7 @@ nsresult nsXPBaseWindow::Init(nsIAppShell* aAppShell,
|
|||
rv = mWebShell->Init(mWindow->GetNativeData(NS_NATIVE_WIDGET),
|
||||
r.x, r.y, r.width, r.height,
|
||||
nsScrollPreference_kNeverScroll, //nsScrollPreference_kAuto,
|
||||
aAllowPlugins);
|
||||
aAllowPlugins, PR_FALSE);
|
||||
mWebShell->SetContainer((nsIWebShellContainer*) this);
|
||||
mWebShell->SetObserver((nsIStreamObserver*)this);
|
||||
mWebShell->SetPrefs(aPrefs);
|
||||
|
|
Загрузка…
Ссылка в новой задаче