src/WebPage.h in capybara-webkit-1.1.1 vs src/WebPage.h in capybara-webkit-1.2.0
- old
+ new
@@ -8,10 +8,11 @@
#include <QtNetwork>
class WebPageManager;
class InvocationResult;
class NetworkReplyProxy;
+class QWebView;
class WebPage : public QWebPage {
Q_OBJECT
public:
@@ -31,11 +32,11 @@
void setSkipImageLoading(bool skip);
QVariantList consoleMessages();
QVariantList alertMessages();
QVariantList confirmMessages();
QVariantList promptMessages();
- void resetWindowSize();
+ void createWindow();
void resetLocalStorage();
QWebPage *createWindow(WebWindowType type);
QString uuid();
QString getWindowName();
bool matchesWindowSelector(QString);
@@ -44,10 +45,11 @@
QStringList pageHeaders();
QByteArray body();
QString contentType();
void mouseEvent(QEvent::Type type, const QPoint &position, Qt::MouseButton button);
bool clickTest(QWebElement element, int absoluteX, int absoluteY);
+ void resize(int, int);
public slots:
bool shouldInterruptJavaScript();
void injectJavascriptHelpers();
void loadStarted();
@@ -55,9 +57,10 @@
bool isLoading() const;
void frameCreated(QWebFrame *);
void handleSslErrorsForReply(QNetworkReply *reply, const QList<QSslError> &);
void handleUnsupportedContent(QNetworkReply *reply);
void replyFinished(QUrl &, QNetworkReply *);
+ void remove();
signals:
void pageFinished(bool);
void requestCreated(QByteArray &url, QNetworkReply *reply);
void replyFinished(QNetworkReply *reply);