Renamed WebProcess to WebPage.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@146 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
#include "DownloadWindow.h"
|
#include "DownloadWindow.h"
|
||||||
|
|
||||||
#include "WebDownload.h"
|
#include "WebDownload.h"
|
||||||
#include "WebProcess.h"
|
#include "WebPage.h"
|
||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
#include <Button.h>
|
#include <Button.h>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "FrameView.h"
|
#include "FrameView.h"
|
||||||
#include "GraphicsContext.h"
|
#include "GraphicsContext.h"
|
||||||
#include "LauncherWindow.h"
|
#include "LauncherWindow.h"
|
||||||
#include "WebProcess.h"
|
#include "WebPage.h"
|
||||||
#include "WebView.h"
|
#include "WebView.h"
|
||||||
#include "WebViewConstants.h"
|
#include "WebViewConstants.h"
|
||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
@@ -92,8 +92,8 @@ void LauncherApp::ArgvReceived(int32 argc, char** argv)
|
|||||||
|
|
||||||
void LauncherApp::ReadyToRun()
|
void LauncherApp::ReadyToRun()
|
||||||
{
|
{
|
||||||
WebProcess::initializeOnce();
|
WebPage::initializeOnce();
|
||||||
WebProcess::setCacheModel(WEBKIT_CACHE_MODEL_WEB_BROWSER);
|
WebPage::setCacheModel(WEBKIT_CACHE_MODEL_WEB_BROWSER);
|
||||||
|
|
||||||
BFile settingsFile;
|
BFile settingsFile;
|
||||||
BRect windowFrameFromSettings = m_lastWindowFrame;
|
BRect windowFrameFromSettings = m_lastWindowFrame;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#include "AuthenticationPanel.h"
|
#include "AuthenticationPanel.h"
|
||||||
#include "BrowsingHistory.h"
|
#include "BrowsingHistory.h"
|
||||||
#include "WebProcess.h"
|
#include "WebPage.h"
|
||||||
#include "WebView.h"
|
#include "WebView.h"
|
||||||
#include "WebViewConstants.h"
|
#include "WebViewConstants.h"
|
||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
@@ -200,7 +200,7 @@ LauncherWindow::LauncherWindow(BRect frame, const BMessenger& downloadListener,
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
webView()->webProcess()->setDownloadListener(downloadListener);
|
webView()->webPage()->setDownloadListener(downloadListener);
|
||||||
|
|
||||||
m_findGroup->SetVisible(false);
|
m_findGroup->SetVisible(false);
|
||||||
|
|
||||||
@@ -367,7 +367,7 @@ void LauncherWindow::newWindowRequested(const BString& url)
|
|||||||
{
|
{
|
||||||
// Always open new windows in the application thread, since
|
// Always open new windows in the application thread, since
|
||||||
// creating a WebView will try to grab the application lock.
|
// creating a WebView will try to grab the application lock.
|
||||||
// But our own WebProcess may already try to lock us from within
|
// But our own WebPage may already try to lock us from within
|
||||||
// the application thread -> dead-lock.
|
// the application thread -> dead-lock.
|
||||||
BMessage message(NEW_WINDOW);
|
BMessage message(NEW_WINDOW);
|
||||||
message.AddString("url", url);
|
message.AddString("url", url);
|
||||||
|
|||||||
Reference in New Issue
Block a user