summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_messages_internal.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 11:49:08 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 11:49:08 +0000
commit585b6bdeaf4104d26311f09dbb99f5085b5becb6 (patch)
tree737e492a12c1577ed730952080160fa07304fb12 /chrome/test/automation/automation_messages_internal.h
parent88e71dc17b86efc2f4d70dee9a1bb4a71f86adc9 (diff)
downloadchromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.zip
chromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.tar.gz
chromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.tar.bz2
Add AutomationMsg_WaitForDownloadShelfVisibilityChange and use it in UITestBase for the download tests.
This should decrease flakiness of download tests. TEST=DownloadTest.*, especially DownloadTest.[Dont]CloseNewTab* BUG=43066 Review URL: http://codereview.chromium.org/1933005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/automation_messages_internal.h')
-rw-r--r--chrome/test/automation/automation_messages_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 77f9d56..9f96c5a 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -1396,4 +1396,11 @@ IPC_BEGIN_MESSAGES(Automation)
IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DeleteCookie, GURL, std::string,
int, bool)
+ // Waits for the download shelf to appear or disappear (depending on
+ // |visibility|) and sets |success| to true on success.
+ IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_WaitForDownloadShelfVisibilityChange,
+ int /* browser handle */,
+ bool /* visibility */,
+ bool /* success */)
+
IPC_END_MESSAGES(Automation)