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 REMOTE_DESKTOP_BROWSER_TEST_H_ | 5 #ifndef REMOTE_DESKTOP_BROWSER_TEST_H_ |
6 #define REMOTE_DESKTOP_BROWSER_TEST_H_ | 6 #define REMOTE_DESKTOP_BROWSER_TEST_H_ |
7 | 7 |
8 #include "chrome/browser/chrome_notification_types.h" | 8 #include "chrome/browser/chrome_notification_types.h" |
9 #include "chrome/browser/extensions/extension_browsertest.h" | 9 #include "chrome/browser/extensions/extension_browsertest.h" |
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Authenticate: sign in to google using the credentials provided. | 75 // Authenticate: sign in to google using the credentials provided. |
76 void Authenticate(); | 76 void Authenticate(); |
77 | 77 |
78 // Approve: grant the chromoting app necessary permissions. | 78 // Approve: grant the chromoting app necessary permissions. |
79 void Approve(); | 79 void Approve(); |
80 | 80 |
81 // Click on "Get Started" in the Me2Me section and show the host list. | 81 // Click on "Get Started" in the Me2Me section and show the host list. |
82 void StartMe2Me(); | 82 void StartMe2Me(); |
83 | 83 |
84 // Simulate a key event. | 84 // Simulate a key event. |
85 void SimulateKeyPress(ui::KeyboardCode key, int nativeKeyCode); | 85 void SimulateKeyPress(ui::KeyboardCode key, const char* code); |
86 | 86 |
87 void SimulateKeyPress(ui::KeyboardCode key, | 87 void SimulateKeyPress(ui::KeyboardCode key, |
88 int nativeKeyCode, | 88 const char* code, |
89 bool control, | 89 bool control, |
90 bool shift, | 90 bool shift, |
91 bool alt, | 91 bool alt, |
92 bool command); | 92 bool command); |
93 | 93 |
94 | 94 |
95 /* */ | 95 /* */ |
96 /* The following helpers each perform a composite task. */ | 96 /* The following helpers each perform a composite task. */ |
97 /* */ | 97 /* */ |
98 | 98 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 std::string chromoting_id_; | 219 std::string chromoting_id_; |
220 base::FilePath webapp_crx_; | 220 base::FilePath webapp_crx_; |
221 std::string username_; | 221 std::string username_; |
222 std::string password_; | 222 std::string password_; |
223 std::string me2me_pin_; | 223 std::string me2me_pin_; |
224 }; | 224 }; |
225 | 225 |
226 } // namespace remoting | 226 } // namespace remoting |
227 | 227 |
228 #endif // REMOTE_DESKTOP_BROWSER_TEST_H_ | 228 #endif // REMOTE_DESKTOP_BROWSER_TEST_H_ |
OLD | NEW |