summaryrefslogtreecommitdiffstats
path: root/src/webview/qwebview_winrt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make QtWebView plugin basedChristian Stromme2018-01-261-687/+0
| | | | | | | | | | | | | | | | This removes the hard build dependency to QtWebEngine, which opens up the possibility for QtWebEngine, or others, to provide their own plugin. Another benefit of having the backends loaded at run-time, is that we can provide an alternative for developers that wants to publish their application in the App Store, where shipping QtWebEngine isn't an option, due to store policies, and where we already have an alternative/experimental backend that can be used. [ChangeLog][WebView] QtWebView will now load its backends at run-time. Task-number: QTBUG-63137 Change-Id: I581940fe4c3b5e6bb41896367d3163ac8bc7b6b9 Reviewed-by: Kai Koehne <[email protected]>
* winrt: Remove callback registrations on webview destructionOliver Wolff2018-01-101-0/+4
| | | | | Change-Id: Ie730be9fa46e5ab2a236c5e7c4a2533789e06a5e Reviewed-by: Maurice Kalinowski <[email protected]>
* winrt: Handle setting of URL with unsupported schemeOliver Wolff2018-01-101-0/+11
| | | | | | | | | | | | While the webview handles clicks on links with unsupported schemes (like mailto or sms) internally and opens the default program/asks the user what to do, calling the url directly resulted in an assert. We try to mimic the webview's behavior as closely as possible by launching the default program for the given URI. If no default program is set, the user is asked, what to do. Change-Id: I4b5220f3de76ebecb50643110944056a60c3b3b6 Reviewed-by: Maurice Kalinowski <[email protected]>
* winrt: Add missing hr assignmentOliver Wolff2018-01-101-1/+1
| | | | | Change-Id: Iaf067396ac7d9ed6d920b0b033fcf61353756342 Reviewed-by: Maurice Kalinowski <[email protected]>
* Eradicate last Q_FOREACH loop and mark the module as Q_FOREACH-freeMarc Mutz2016-09-141-1/+1
| | | | | Change-Id: I769fbf2082c7c90567a6e63cf43b8463a5d201dd Reviewed-by: Christian Stromme <[email protected]>
* winrt: Take device pixel ratio into accountMaurice Kalinowski2016-06-101-2/+3
| | | | | | | | | | When resizing, the device pixel ratio needs to be taken into account. Otherwise the area for Xaml viewer will be misplaced and/or wrongly scaled. Change-Id: Id2dd34c2dd29f5582a9f3536e6394c7e49eddf94 Task-number: QTBUG-53405 Reviewed-by: Oliver Wolff <[email protected]>
* winrt: Emit the titleChanged() signal when appropriateAndy Shaw2016-02-181-0/+1
| | | | | Change-Id: Iafc4f49a0e7a5aee6aef0622142271000b8f82e8 Reviewed-by: Maurice Kalinowski <[email protected]>
* winrt: Fix geometry for QWebView.Samuel Nevala2015-11-041-8/+16
| | | | | | | | | Respect statusbar size when setting webviews geometry. Change-Id: Ifae03d2a673930a97ce1726cb50dd19ef6a1f7bb Task-Id: QTBUG-48842 Reviewed-by: Andrew Knight <[email protected]> Reviewed-by: Maurice Kalinowski <[email protected]>
* Add support for Windows RuntimeAndrew Knight2015-08-251-0/+662
Now that WinRT uses XAML-based windows, it can support creating native WebView controls. Change-Id: I04361956eba9de5b5d41fcc6b57a9772b49f6a2b Reviewed-by: Christian Stromme <[email protected]>