|
Modifying extension automation so that it is done through a particular
tab for all extension views. Previously, API routing to the
automation client would only work for extension views that were
contained in the particular ExternalTab instance being automated. This
meant you couldn't test API calls from e.g. background pages.
Also using async functions instead of the previous RVH-based hack.
Updating one of the UI tests to make the API calls from a background
page, to provide an end-to-end test of the new routing.
This makes AutomationProvider::SetEnableAutomationExtension
Windows-only, but it effectively always was since it was already
dependent on ExternalTabContainer (indirectly, to provide a non-empty
implementation of TabContentsDelegate::ForwardMessageToExternalHost).
BUG=none
TEST=ui_tests.exe, chrome_frame_tests.exe, chrome_frame_unittests.exe
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31403
Total comments: 27
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+256 lines, -111 lines) |
Patch |
 |
M |
chrome/browser/automation/automation_extension_function.h
|
View
|
1
2
3
4
|
2 chunks |
+31 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_extension_function.cc
|
View
|
1
2
3
4
|
4 chunks |
+80 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider_win.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_uitest.cc
|
View
|
1
2
|
2 chunks |
+24 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/external_tab_container.h
|
View
|
2
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/external_tab_container.cc
|
View
|
2
3
4
|
4 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/automation/automation_messages_internal.h
|
View
|
1
2
|
1 chunk |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/automation_proxy.h
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/automation_proxy.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/tab_proxy.h
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/tab_proxy.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/uitest/roundtrip_api_call/background.html
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
MM |
chrome/test/data/extensions/uitest/roundtrip_api_call/manifest.json
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
MM |
chrome/test/data/extensions/uitest/roundtrip_api_call/test.html
|
View
|
1
2
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/chrome_frame_automation.h
|
View
|
1
2
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/chrome_frame_automation.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|