summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/window_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/commands/window_commands.h')
-rw-r--r--chrome/test/webdriver/commands/window_commands.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/test/webdriver/commands/window_commands.h b/chrome/test/webdriver/commands/window_commands.h
index d5df95d..b839009 100644
--- a/chrome/test/webdriver/commands/window_commands.h
+++ b/chrome/test/webdriver/commands/window_commands.h
@@ -48,6 +48,20 @@ class WindowPositionCommand : public WebDriverCommand {
DISALLOW_COPY_AND_ASSIGN(WindowPositionCommand);
};
+class WindowMaximizeCommand : public WebDriverCommand {
+ public:
+ WindowMaximizeCommand(const std::vector<std::string>& path_segments,
+ const base::DictionaryValue* parameters);
+ virtual ~WindowMaximizeCommand();
+
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WindowMaximizeCommand);
+};
+
+
} // namespace webdriver
#endif // CHROME_TEST_WEBDRIVER_COMMANDS_WINDOW_COMMANDS_H_