~abreu-alexandre/webbrowser-app/container-extension

« back to all changes in this revision

Viewing changes to src/app/webcontainer/webapp-container.qml

  • Committer: CI Train Bot
  • Author(s): Alexandre Abreu
  • Date: 2016-04-05 15:42:40 UTC
  • mfrom: (1387.1.2 tata)
  • Revision ID: ci-train-bot@canonical.com-20160405154240-kfzvblpl0eii05se
Add --open-external-url-in-overlay option to allow externals urls (not part of patterns) are opened in overlays instead of external browser Fixes: #1548575
Approved by: David Barth, Alberto Mardegan

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    property alias webContextSessionCookieMode: webappViewLoader.webContextSessionCookieMode
46
46
    property string localUserAgentOverride: ""
47
47
    property bool blockOpenExternalUrls: false
 
48
    property bool openExternalUrlInOverlay: false
48
49
 
49
50
    currentWebview: webappViewLoader.item ? webappViewLoader.item.currentWebview : null
50
51
 
87
88
            webappModelSearchPath: root.webappModelSearchPath
88
89
            webappUrlPatterns: root.webappUrlPatterns
89
90
            blockOpenExternalUrls: root.blockOpenExternalUrls
 
91
            openExternalUrlInOverlay: root.openExternalUrlInOverlay
90
92
 
91
93
            popupRedirectionUrlPrefixPattern: root.popupRedirectionUrlPrefixPattern
92
94