Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4591)

Unified Diff: chrome/browser/automation/ui_controls_win.cc

Issue 174113: Linux: more interactive tests porting.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: compile fixes Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/ui_controls_win.cc
===================================================================
--- chrome/browser/automation/ui_controls_win.cc (revision 23786)
+++ chrome/browser/automation/ui_controls_win.cc (working copy)
@@ -306,20 +306,12 @@
return SendKeyPressImpl(key, control, shift, alt, task);
}
-bool SendKeyDown(wchar_t key) {
- return SendKeyEvent(key, false);
-}
-
-bool SendKeyUp(wchar_t key) {
- return SendKeyEvent(key, true);
-}
-
bool SendMouseMove(long x, long y) {
return SendMouseMoveImpl(x, y, NULL);
}
-void SendMouseMoveNotifyWhenDone(long x, long y, Task* task) {
- SendMouseMoveImpl(x, y, task);
+bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task) {
+ return SendMouseMoveImpl(x, y, task);
}
bool SendMouseEvents(MouseButton type, int state) {
@@ -330,8 +322,7 @@
SendMouseEventsImpl(type, state, task);
}
-bool SendMouseClick(gfx::NativeWindow window, const gfx::Point& point,
- MouseButton type) {
+bool SendMouseClick(const gfx::Point& point, MouseButton type) {
return SendMouseEventsImpl(type, UP | DOWN, NULL);
}
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/blocked_popup_container_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698