summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 18:10:34 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 18:10:34 +0000
commit5c3e4fc722a99f457a863f3fed2fc912e94fccf9 (patch)
tree56e5ecaf7cbdfd2897f179fb00cc945eb160d6c8 /chrome/common
parentfa3fb0cad74e8eeb76547358f62dc87f8327f447 (diff)
downloadchromium_src-5c3e4fc722a99f457a863f3fed2fc912e94fccf9.zip
chromium_src-5c3e4fc722a99f457a863f3fed2fc912e94fccf9.tar.gz
chromium_src-5c3e4fc722a99f457a863f3fed2fc912e94fccf9.tar.bz2
BookmarkBarView tests fixes
* Add BOOKMARK_CONTEXT_MENU_SHOWN notification. On Linux, event handling is asynchronous, but the showing context menu is blocking, so we can't use RunAllPending(). * Convert gtk keycode to Win when checking accelerator. BUG=39736 TEST=none (interactive_ui_tests should pass once enabled it'll be enabled by http://codereview.chromium.org/1576008 Review URL: http://codereview.chromium.org/1545011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43628 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 d00a33d..6bb7efb 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -932,6 +932,12 @@ class NotificationType {
// The source is a NavigationController.
RELOADING,
+#if defined(TOOLKIT_VIEWS)
+ // Sent when a bookmark's context menu is shown. Used to notify
+ // tests that the context menu has been created and shown.
+ BOOKMARK_CONTEXT_MENU_SHOWN,
+#endif
+
// Count (must be last) ----------------------------------------------------
// Used to determine the number of notification types. Not valid as
// a type parameter when registering for or posting notifications.