Sha256: 8a199e873d87c494222e162ce046357609ba06a2e1520673cfb62788698ecf53

Contents?: true

Size: 395 Bytes

Versions: 22

Compression:

Stored size: 395 Bytes

Contents

#include "WindowResize.h"
#include "WebPage.h"
#include "WebPageManager.h"

WindowResize::WindowResize(WebPageManager *manager, QStringList &arguments, QObject *parent) : WindowCommand(manager, arguments, parent) {
}

void WindowResize::windowFound(WebPage *page) {
  int width = arguments()[1].toInt();
  int height = arguments()[2].toInt();

  page->resize(width, height);

  finish(true);
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
capybara-webkit-1.15.1 src/WindowResize.cpp
capybara-webkit-1.15.0 src/WindowResize.cpp
capybara-webkit-1.14.0 src/WindowResize.cpp
capybara-webkit-1.13.0 src/WindowResize.cpp
capybara-webkit-1.12.0 src/WindowResize.cpp
capybara-webkit-1.11.1 src/WindowResize.cpp
capybara-webkit-1.11.0 src/WindowResize.cpp
capybara-webkit-1.10.1 src/WindowResize.cpp
capybara-webkit-1.10.0 src/WindowResize.cpp
capybara-webkit-1.9.0 src/WindowResize.cpp
capybara-webkit-1.8.0 src/WindowResize.cpp
capybara-webkit-1.7.1 src/WindowResize.cpp
capybara-webkit-1.7.0 src/WindowResize.cpp
capybara-webkit-1.6.0 src/WindowResize.cpp
capybara-webkit-1.5.2 src/WindowResize.cpp
capybara-webkit-1.5.1 src/WindowResize.cpp
capybara-webkit-1.5.0 src/WindowResize.cpp
capybara-webkit-1.4.1 src/WindowResize.cpp
capybara-webkit-1.4.0 src/WindowResize.cpp
capybara-webkit-1.3.1 src/WindowResize.cpp