summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter_client.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-12 12:59:00 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-13 14:28:04 +0100
commit71edccabd4c359eb1ac9d6f6c3220b0d308f3a7b (patch)
tree4fdd781b1371c9ee4218cac37e9f44dcc5dbb509 /src/core/web_contents_adapter_client.h
parent0bb596fbebd9317ef7acf00860cbcca45193fcee (diff)
Move the requestID argument before the result
This tries to get the order of declaration to be consistent. It also follows the order used by Chromium in some places where the routing_id usually comes first, then the request_id and then the result of the asynchronous request. Change-Id: I88e164dee67e1631161a222f7dd7a4679c3d3acd Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r--src/core/web_contents_adapter_client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h
index b07521734..ba6a45355 100644
--- a/src/core/web_contents_adapter_client.h
+++ b/src/core/web_contents_adapter_client.h
@@ -132,9 +132,9 @@ public:
virtual bool isFullScreen() const = 0;
virtual void javascriptDialog(QSharedPointer<JavaScriptDialogController>) = 0;
virtual void runFileChooser(FileChooserMode, const QString &defaultFileName, const QStringList &acceptedMimeTypes) = 0;
- virtual void didRunJavaScript(const QVariant& result, quint64 requestId) = 0;
- virtual void didFetchDocumentMarkup(const QString& result, quint64 requestId) = 0;
- virtual void didFetchDocumentInnerText(const QString& result, quint64 requestId) = 0;
+ virtual void didRunJavaScript(quint64 requestId, const QVariant& result) = 0;
+ virtual void didFetchDocumentMarkup(quint64 requestId, const QString& result) = 0;
+ virtual void didFetchDocumentInnerText(quint64 requestId, const QString& result) = 0;
virtual void passOnFocus(bool reverse) = 0;
virtual void javaScriptConsoleMessage(int level, const QString& message, int lineNumber, const QString& sourceID) = 0;
};