| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 5 #ifndef CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| 6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/apps/app_browsertest_util.h" | 8 #include "chrome/browser/apps/app_browsertest_util.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void SimulateCharInput(char c); | 103 void SimulateCharInput(char c); |
| 104 | 104 |
| 105 // Simulate typing a string | 105 // Simulate typing a string |
| 106 void SimulateStringInput(const std::string& input); | 106 void SimulateStringInput(const std::string& input); |
| 107 | 107 |
| 108 // Helper to simulate a left button mouse click. | 108 // Helper to simulate a left button mouse click. |
| 109 void SimulateMouseLeftClickAt(int x, int y); | 109 void SimulateMouseLeftClickAt(int x, int y); |
| 110 | 110 |
| 111 // Helper to simulate a mouse click. | 111 // Helper to simulate a mouse click. |
| 112 void SimulateMouseClickAt( | 112 void SimulateMouseClickAt( |
| 113 int modifiers, WebKit::WebMouseEvent::Button button, int x, int y); | 113 int modifiers, blink::WebMouseEvent::Button button, int x, int y); |
| 114 | 114 |
| 115 // The following helpers each perform a composite task. | 115 // The following helpers each perform a composite task. |
| 116 | 116 |
| 117 // Install the chromoting extension | 117 // Install the chromoting extension |
| 118 void Install(); | 118 void Install(); |
| 119 | 119 |
| 120 // Clean up after the test. | 120 // Clean up after the test. |
| 121 void Cleanup(); | 121 void Cleanup(); |
| 122 | 122 |
| 123 // Perform all the auth steps: authorization, authenticattion, etc. | 123 // Perform all the auth steps: authorization, authenticattion, etc. |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 base::FilePath webapp_unpacked_; | 298 base::FilePath webapp_unpacked_; |
| 299 std::string username_; | 299 std::string username_; |
| 300 std::string password_; | 300 std::string password_; |
| 301 std::string me2me_pin_; | 301 std::string me2me_pin_; |
| 302 std::string remote_host_name_; | 302 std::string remote_host_name_; |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace remoting | 305 } // namespace remoting |
| 306 | 306 |
| 307 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 307 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| OLD | NEW |