summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineurlrequestinfo.h
diff options
context:
space:
mode:
authorTamas Zakor <ztamas@inf.u-szeged.hu>2019-06-05 09:05:09 +0200
committerTamas Zakor <ztamas@inf.u-szeged.hu>2019-06-05 15:07:34 +0200
commita1d3562d5115f5b06f9cb515df570e36c89ba187 (patch)
treeddc7d496f0a1dd9b870177c698e8feb641bc524b /src/core/api/qwebengineurlrequestinfo.h
parent366aef14779c28b12807be960eb494b534a859c9 (diff)
Add QWebEngineUrlRequestInfo::initiator()
Returns the origin url of the document which initiated the navigation when a frame navigates another frame. Task-number: QTBUG-75759 Change-Id: Ia2884b5a3027cceea45f0e659652b02036faaacb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/api/qwebengineurlrequestinfo.h')
-rw-r--r--src/core/api/qwebengineurlrequestinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.h b/src/core/api/qwebengineurlrequestinfo.h
index 09b74bd60..4637ff788 100644
--- a/src/core/api/qwebengineurlrequestinfo.h
+++ b/src/core/api/qwebengineurlrequestinfo.h
@@ -97,6 +97,7 @@ public:
QUrl requestUrl() const;
QUrl firstPartyUrl() const;
+ QUrl initiator() const;
QByteArray requestMethod() const;
bool changed() const;