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

Issue 174113: Linux: more interactive tests porting.... (Closed)

Created:
11 years, 4 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
tony
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Linux: more interactive tests porting. The most noteworthy change here is the implementation of SendMouseMove() and SendMouseClick() in ui_controls. I've combed the interwebs and I don't think it's possible to figure out the GdkWindow that is showing for a given (x,y) coordinate pair (except perhaps by delving into X), so we have to just send clicks to wherever the pointer lies. This is unfortunate in that it means we have to move the pointer, wait for it to get where it's going, and only then make the click. But on the bright side there's this super helpful function called gdk_display_warp_pointer() which makes moving the mouse a breeze. BUG=19076 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23880

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : compile fixes #

Patch Set 4 : compile fixes #

Patch Set 5 : compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -71 lines) Patch
M chrome/browser/automation/automation_provider.cc View 1 2 3 4 4 chunks +57 lines, -17 lines 0 comments Download
M chrome/browser/automation/ui_controls.h View 1 2 3 4 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/automation/ui_controls_linux.cc View 1 2 3 4 4 chunks +51 lines, -23 lines 0 comments Download
chrome/browser/automation/ui_controls_win.cc View 1 2 3 4 2 chunks +3 lines, -12 lines 0 comments Download
M chrome/browser/blocked_popup_container_interactive_uitest.cc View 1 4 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/debugger/devtools_sanity_unittest.cc View 1 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/chrome.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Stade
11 years, 4 months ago (2009-08-20 00:53:21 UTC) #1
tony
http://codereview.chromium.org/174113/diff/1/6 File chrome/browser/automation/ui_controls_linux.cc (right): http://codereview.chromium.org/174113/diff/1/6#newcode29 Line 29: NOTIMPLEMENTED() << "listening..."; Did you mean to include ...
11 years, 4 months ago (2009-08-20 01:12:34 UTC) #2
tony
Also, LGTM
11 years, 4 months ago (2009-08-20 01:14:54 UTC) #3
Evan Stade
http://codereview.chromium.org/174113/diff/1/6 File chrome/browser/automation/ui_controls_linux.cc (right): http://codereview.chromium.org/174113/diff/1/6#newcode40 Line 40: NOTIMPLEMENTED() << "heard..."; On 2009/08/20 01:12:34, tony wrote: ...
11 years, 4 months ago (2009-08-20 01:25:23 UTC) #4
Evan Stade
oh wait. They don't get deleted when you run them explicitly, only when you post ...
11 years, 4 months ago (2009-08-20 01:27:31 UTC) #5
Evan Stade
updated, tanl?
11 years, 4 months ago (2009-08-20 02:31:30 UTC) #6
Evan Stade
of course by tanl I mean TAL (don't know why that initialization is so hard ...
11 years, 4 months ago (2009-08-20 02:33:25 UTC) #7
tony
11 years, 4 months ago (2009-08-20 17:48:07 UTC) #8
Yes, LGTM.

Powered by Google App Engine
This is Rietveld 408576698