#include "RefPtr.h"
#include "HashMap.h"
#include "HitTestResult.h"
+#include "WindowFeatures.h"
#include "LocalizedStrings.h"
#include <QDebug>
static void openNewWindow(const QUrl& url, WebCore::Frame* frame)
{
- if (Page* oldPage = frame->page())
+ if (Page* oldPage = frame->page()) {
+ WindowFeatures features;
if (Page* newPage = oldPage->chrome()->createWindow(frame,
- frameLoadRequest(url, frame)))
+ frameLoadRequest(url, frame), features))
newPage->chrome()->show();
+ }
}
void QWebPage::triggerAction(WebAction action, bool checked)
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Build fix, reviewed by nobody.
+
+ Fix the Qt build by setting up WindowFeatures before calling
+ createWindow on the Chrome. This is similar to openNewWindow in
+ page/ContextMenuController.cpp
+
+ * Api/qwebpage.cpp:
+ (openNewWindow):
+
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.