|
[chromedriver] Determine the element location and click synchronously in the renderer.
This is only the browser-side implementation. In this patch we send some scripts from the client which the renderer evaluates to determine where to move or click the mouse. I tried to keep the renderer code as small and as simple as possible. I plan on eventually removing the script-based location finding in favor of some scrollIntoView-like method in WebKit. Currently scrollIntoView does not work. See http://code.google.com/p/chromium/issues/detail?id=73953.
BUG=chromedriver:22, chromedriver:36, chromedriver:44
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138479
Total comments: 20
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+642 lines, -4 lines) |
Patch |
 |
A |
chrome/browser/automation/automation_misc_browsertest.cc
|
View
|
1
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider_observers.h
|
View
|
1
2
3
4
|
3 chunks |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider_observers.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/testing_automation_provider.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+70 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/automation_events.h
|
View
|
1
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/automation_events.cc
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/automation_messages.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/automation_messages.cc
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/automation_messages_internal.h
|
View
|
1
2
3
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/automation/automation_renderer_helper.h
|
View
|
|
3 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/automation/automation_renderer_helper.cc
|
View
|
1
2
3
4
|
4 chunks |
+138 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/automation/automation_renderer_helper_browsertest.cc
|
View
|
|
2 chunks |
+44 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|