summaryrefslogtreecommitdiffstats
path: root/src/core/javascript_dialog_controller.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-04-11 18:46:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-29 16:37:37 +0200
commit4da1db8fb60b444dc112b41804a3ac7480197bd2 (patch)
tree9d49ec3bfb6a8703ee23fb6122c025862db39a79 /src/core/javascript_dialog_controller.h
parent59ec1beac8b2c0931efb9a78ee696a8e150e9a6f (diff)
Add a way of using UI dialogs for authorization
We could use this to prompt the user for various feature permissions that we are not ready to expose in our API. Change-Id: If6e6a16aca4142b0564121dfc7677b7c4996f742 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/javascript_dialog_controller.h')
-rw-r--r--src/core/javascript_dialog_controller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/javascript_dialog_controller.h b/src/core/javascript_dialog_controller.h
index 755a2712..25e711cb 100644
--- a/src/core/javascript_dialog_controller.h
+++ b/src/core/javascript_dialog_controller.h
@@ -54,6 +54,7 @@ public:
~JavaScriptDialogController();
QString message() const;
QString defaultPrompt() const;
+ QString title() const;
WebContentsAdapterClient::JavascriptDialogType type() const;
QUrl securityOrigin() const;