From 2ff36ae0292da8f0f6e05080c7d2405c0d8658c6 Mon Sep 17 00:00:00 2001
From: Leena Miettinen <riitta-leena.miettinen@qt.io>
Date: Tue, 4 Apr 2017 13:06:14 +0200
Subject: [PATCH] Doc: Describe HTTP/2 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I0dfe290b9d6ac1ed054cecd0911709e9626f8691
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
---
 src/webengine/doc/src/external-resources.qdoc   | 12 +++++++++++-
 src/webengine/doc/src/qtwebengine-features.qdoc | 12 +++++++++++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/webengine/doc/src/external-resources.qdoc b/src/webengine/doc/src/external-resources.qdoc
index 0d9f80c16..a75c7aaed 100644
--- a/src/webengine/doc/src/external-resources.qdoc
+++ b/src/webengine/doc/src/external-resources.qdoc
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
 ** Contact: https://www.qt.io/licensing/
 **
 ** This file is part of the documentation of the Qt Toolkit.
@@ -126,3 +126,13 @@
     \externalpage https://wiki.greasespot.net/Metadata_Block
     \title Greasemonkey
 */
+
+/*!
+    \externalpage https://http2.github.io/
+    \title HTTP/2
+*/
+
+/*!
+    \externalpage https://http2.akamai.com/demo
+    \title Akamai HTTP/2 Demo
+*/
diff --git a/src/webengine/doc/src/qtwebengine-features.qdoc b/src/webengine/doc/src/qtwebengine-features.qdoc
index 647f1030b..11d3a4ca1 100644
--- a/src/webengine/doc/src/qtwebengine-features.qdoc
+++ b/src/webengine/doc/src/qtwebengine-features.qdoc
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
 ** Contact: http://www.qt.io/licensing/
 **
 ** This file is part of the documentation of the Qt Toolkit.
@@ -40,6 +40,7 @@
         \li \l{Fullscreen}
         \li \l{HTML5 DRM}
         \li \l{HTML5 Geolocation}
+        \li \l{HTTP/2 Protocol}
         \li \l{Native Dialogs}
         \li \l{Pepper Plugin API}
         \li \l{Print to PDF}
@@ -143,6 +144,15 @@
 
     Support for this feature was added in Qt 5.5.0.
 
+    \section1 HTTP/2 Protocol
+
+    Qt WebEngine supports the Chromium implementation of the \l{HTTP/2}
+    protocol.
+
+    This feature can be tested by opening an HTTP/2 demo, such as the
+    \l{Akamai HTTP/2 Demo}, in \l{WebEngine Widgets Simple Browser Example}
+    {Simple Browser} or \l{WebEngine Quick Nano Browser}{Nano Browser}.
+
     \section1 Native Dialogs
 
     A web page might request dialogs for the following functions:
-- 
GitLab