| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ | 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |
| 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ | 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual bool DoesGet() OVERRIDE; | 28 virtual bool DoesGet() OVERRIDE; |
| 29 virtual bool DoesPost() OVERRIDE; | 29 virtual bool DoesPost() OVERRIDE; |
| 30 | 30 |
| 31 virtual void ExecuteGet(Response* const response) OVERRIDE; | 31 virtual void ExecuteGet(Response* const response) OVERRIDE; |
| 32 virtual void ExecutePost(Response* const response) OVERRIDE; | 32 virtual void ExecutePost(Response* const response) OVERRIDE; |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 DISALLOW_COPY_AND_ASSIGN(ExtensionsCommand); | 35 DISALLOW_COPY_AND_ASSIGN(ExtensionsCommand); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 class ViewsCommand : public WebDriverCommand { |
| 39 public: |
| 40 ViewsCommand(const std::vector<std::string>& path_segments, |
| 41 const base::DictionaryValue* const parameters); |
| 42 virtual ~ViewsCommand(); |
| 43 |
| 44 virtual bool DoesGet() OVERRIDE; |
| 45 virtual bool DoesPost() OVERRIDE; |
| 46 |
| 47 virtual void ExecuteGet(Response* const response) OVERRIDE; |
| 48 virtual void ExecutePost(Response* const response) OVERRIDE; |
| 49 |
| 50 private: |
| 51 DISALLOW_COPY_AND_ASSIGN(ViewsCommand); |
| 52 }; |
| 53 |
| 38 } // namespace webdriver | 54 } // namespace webdriver |
| 39 | 55 |
| 40 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ | 56 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_CHROME_COMMANDS_H_ |
| OLD | NEW |