summaryrefslogtreecommitdiffstats
path: root/src/core/javascript_dialog_controller_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/javascript_dialog_controller_p.h')
-rw-r--r--src/core/javascript_dialog_controller_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/javascript_dialog_controller_p.h b/src/core/javascript_dialog_controller_p.h
index 0d7552ce..ed51619d 100644
--- a/src/core/javascript_dialog_controller_p.h
+++ b/src/core/javascript_dialog_controller_p.h
@@ -55,14 +55,15 @@ class JavaScriptDialogControllerPrivate {
public:
void dialogFinished(bool accepted, const base::string16 &promptValue);
JavaScriptDialogControllerPrivate(WebContentsAdapterClient::JavascriptDialogType, const QString &message, const QString &prompt
- , const QUrl &securityOrigin, const content::JavaScriptDialogManager::DialogClosedCallback &
- , content::WebContents *);
+ , const QString& title, const QUrl &securityOrigin
+ , const content::JavaScriptDialogManager::DialogClosedCallback &, content::WebContents *);
WebContentsAdapterClient::JavascriptDialogType type;
QString message;
QString defaultPrompt;
QUrl securityOrigin;
QString userInput;
+ QString title;
content::JavaScriptDialogManager::DialogClosedCallback callback;
content::WebContents *contents;
};