| Index: chrome/test/webdriver/commands/value_command.h
|
| ===================================================================
|
| --- chrome/test/webdriver/commands/value_command.h (revision 0)
|
| +++ chrome/test/webdriver/commands/value_command.h (revision 0)
|
| @@ -0,0 +1,37 @@
|
| +// Copyright (c) 2011 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_VALUE_COMMAND_H_
|
| +#define CHROME_TEST_WEBDRIVER_COMMANDS_VALUE_COMMAND_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "chrome/test/webdriver/commands/webelement_command.h"
|
| +
|
| +namespace webdriver {
|
| +
|
| +// Sends keys to the specified web element. Also gets the value property of an
|
| +// element.
|
| +// http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/element/:id/value
|
| +class ValueCommand : public WebElementCommand {
|
| + public:
|
| + ValueCommand(const std::vector<std::string>& path_segments,
|
| + DictionaryValue* parameters)
|
| + : WebElementCommand(path_segments, parameters) {}
|
| + virtual ~ValueCommand() {}
|
| +
|
| + virtual bool DoesGet() { return true; }
|
| + virtual bool DoesPost() { return true; }
|
| + virtual void ExecuteGet(Response* const response);
|
| + virtual void ExecutePost(Response* const response);
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ValueCommand);
|
| +};
|
| +
|
| +} // namespace webdriver
|
| +
|
| +#endif // CHROME_TEST_WEBDRIVER_COMMANDS_VALUE_COMMAND_H_
|
| +
|
|
|
| Property changes on: chrome\test\webdriver\commands\value_command.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|