From 1a2dc1d0b1ae6e59b45d4f807a1049a8f092af77 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 24 Feb 2016 10:13:33 +0100 Subject: Doc: Add information about frames - Describe differences between Qt WebKit and Qt WebEngine in the porting guide - Replace references to frames with references to the view in the QWebEngineView docs - Describe frames in the QWebEnginePage class overview - Replace references to frames with references to pages where appropriate in the QWebEnginePage docs - Describe the "security origin" concept that is related to frame handling Change-Id: I8c952d507414058759537a6333649c37976c12e6 Reviewed-by: Allan Sandfeld Jensen --- .../doc/src/qtwebkitportingguide.qdoc | 13 +++++- .../doc/src/qwebenginepage_lgpl.qdoc | 50 ++++++++++++++-------- .../doc/src/qwebengineview_lgpl.qdoc | 9 ++-- 3 files changed, 48 insertions(+), 24 deletions(-) diff --git a/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc b/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc index 065e5a18b..62d81733f 100644 --- a/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc +++ b/src/webenginewidgets/doc/src/qtwebkitportingguide.qdoc @@ -94,8 +94,17 @@ \section1 QWebFrame Has Been Merged into QWebEnginePage - It is not possible to access sub-frames. Methods of the main QWebFrame are - now available directly through the QWebEnginePage itself. + HTML frames can be used to divide web pages into several areas where the content can be + represented individually. + + In Qt WebKit, QWebFrame represents a frame inside a web page. Each QWebPage object contains at + least one frame, the main frame, obtained using QWebPage::mainFrame(). Additional frames will + be created for the HTML \c element, which defines the appearance and contents of a + single frame, or the \c