 Chromium Code Reviews
 Chromium Code Reviews Issue 6630001:
  Allow webdriver users to choose between sending the key events when...  (Closed) 
  Base URL: http://src.chromium.org/svn/trunk/src/
    
  
    Issue 6630001:
  Allow webdriver users to choose between sending the key events when...  (Closed) 
  Base URL: http://src.chromium.org/svn/trunk/src/| Index: chrome/test/webdriver/automation.h | 
| =================================================================== | 
| --- chrome/test/webdriver/automation.h (revision 77771) | 
| +++ chrome/test/webdriver/automation.h (working copy) | 
| @@ -53,10 +53,19 @@ | 
| std::string* result, | 
| bool* success); | 
| - // Sends a key event to the current browser. Waits until the key has | 
| + // Sends a webkit key event to the current browser. Waits until the key has | 
| // been processed by the web page. | 
| - void SendWebKeyEvent(int tab_id, const WebKeyEvent& key_event, bool* success); | 
| + void SendWebKeyEvent(int tab_id, | 
| + const WebKeyEvent& key_event, | 
| + bool* success); | 
| + // Sends an OS level key event to the current browser. Waits until the key | 
| 
kkania
2011/03/11 16:32:13
Your func doesn't wait until the key has been proc
 | 
| + // has been processed by the web page. | 
| + void SendNativeKeyEvent(int tab_id, | 
| + ui::KeyboardCode keycode, | 
| 
kkania
2011/03/11 16:32:13
key_code
 
timothe
2011/03/21 18:02:05
Done.
 | 
| + int modifiers, | 
| + bool* success); | 
| + | 
| void NavigateToURL(int tab_id, const std::string& url, bool* success); | 
| void GoForward(int tab_id, bool* success); | 
| void GoBack(int tab_id, bool* success); |