Skip to content
This repository
Newer
Older
100644 12 lines (9 sloc) 0.34 kb
e677cb9c »
2012-07-10 Control JavaScript confirmation dialogs from Ruby
1 #include "SetPromptAction.h"
2 #include "WebPage.h"
3 #include "WebPageManager.h"
4
5 SetPromptAction::SetPromptAction(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
6
7 void SetPromptAction::start()
8 {
9 page()->setPromptAction(arguments()[0]);
10 emit finished(new Response(true));
11 }
Something went wrong with that request. Please try again.