summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter_client.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/web_contents_adapter_client.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/web_contents_adapter_client.h')
-rw-r--r--src/core/web_contents_adapter_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h
index 7deb55686..64b5fca38 100644
--- a/src/core/web_contents_adapter_client.h
+++ b/src/core/web_contents_adapter_client.h
@@ -96,7 +96,9 @@ public:
enum JavascriptDialogType {
AlertDialog,
ConfirmDialog,
- PromptDialog
+ PromptDialog,
+ // Leave room for potential new specs
+ InternalAuthorizationDialog = 0x10,
};
// Must match the ones in file_chooser_params.h