Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: chrome/test/webdriver/commands/window_commands.h

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test in chromedriver_tests.py; nicer error reporting - a method to check whether the current v… Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
index d5df95d9e52c8693b37856de78e5fcf95fe63f98..b8390095ba942afac58d142e071ffa9252471524 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_

Powered by Google App Engine
This is Rietveld 408576698