Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.538 kb
#include "GetWindowHandles.h"
#include "WebPageManager.h"
#include "CommandFactory.h"
#include "WebPage.h"
#include <QStringList>
GetWindowHandles::GetWindowHandles(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
void GetWindowHandles::start() {
QString handles = "[";
QStringList stringList;
foreach(WebPage *page, manager()->pages())
stringList.append("\"" + page->uuid() + "\"");
handles += stringList.join(",") + "]";
emitFinished(true, handles);
Jump to Line
Something went wrong with that request. Please try again.