| Index: chrome/test/webdriver/commands/window_commands.h
|
| diff --git a/chrome/test/webdriver/commands/window_commands.h b/chrome/test/webdriver/commands/window_commands.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d5df95d9e52c8693b37856de78e5fcf95fe63f98
|
| --- /dev/null
|
| +++ b/chrome/test/webdriver/commands/window_commands.h
|
| @@ -0,0 +1,53 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_TEST_WEBDRIVER_COMMANDS_WINDOW_COMMANDS_H_
|
| +#define CHROME_TEST_WEBDRIVER_COMMANDS_WINDOW_COMMANDS_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "chrome/test/webdriver/commands/webdriver_command.h"
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +namespace webdriver {
|
| +
|
| +class Response;
|
| +
|
| +class WindowSizeCommand : public WebDriverCommand {
|
| + public:
|
| + WindowSizeCommand(const std::vector<std::string>& path_segments,
|
| + const base::DictionaryValue* parameters);
|
| + virtual ~WindowSizeCommand();
|
| +
|
| + virtual bool DoesGet() OVERRIDE;
|
| + virtual bool DoesPost() OVERRIDE;
|
| + virtual void ExecuteGet(Response* const response) OVERRIDE;
|
| + virtual void ExecutePost(Response* const response) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(WindowSizeCommand);
|
| +};
|
| +
|
| +class WindowPositionCommand : public WebDriverCommand {
|
| + public:
|
| + WindowPositionCommand(const std::vector<std::string>& path_segments,
|
| + const base::DictionaryValue* parameters);
|
| + virtual ~WindowPositionCommand();
|
| +
|
| + virtual bool DoesGet() OVERRIDE;
|
| + virtual bool DoesPost() OVERRIDE;
|
| + virtual void ExecuteGet(Response* const response) OVERRIDE;
|
| + virtual void ExecutePost(Response* const response) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(WindowPositionCommand);
|
| +};
|
| +
|
| +} // namespace webdriver
|
| +
|
| +#endif // CHROME_TEST_WEBDRIVER_COMMANDS_WINDOW_COMMANDS_H_
|
|
|