summaryrefslogtreecommitdiffstats
path: root/chrome/common
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/common
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/common')
-rw-r--r--chrome/common/notification_type.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index d8b46b4..51573a7 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -946,6 +946,12 @@ class NotificationType {
// are a ChromeCookieDetails object.
COOKIE_CHANGED,
+ // Downloads ---------------------------------------------------------------
+
+ // Sent when the download shelf appears or disappears. The source is the
+ // Browser object.
+ DOWNLOAD_SHELF_VISIBILITY_CHANGED,
+
#if defined(OS_CHROMEOS)
// Sent when a chromium os user logs in.
LOGIN_USER_CHANGED,