Index: chrome/browser/views/bookmark_context_menu.cc |
diff --git a/chrome/browser/views/bookmark_context_menu.cc b/chrome/browser/views/bookmark_context_menu.cc |
index aef80705437152abdc2f3b01c31ae17a425e8640..9ef9506c3c0925922dfc7c5fd3dd20c0f86a7d43 100644 |
--- a/chrome/browser/views/bookmark_context_menu.cc |
+++ b/chrome/browser/views/bookmark_context_menu.cc |
@@ -7,6 +7,7 @@ |
#include "app/l10n_util.h" |
#include "base/i18n/rtl.h" |
#include "chrome/browser/profile.h" |
+#include "chrome/common/notification_service.h" |
#include "grit/generated_resources.h" |
#include "views/controls/menu/menu_item_view.h" |
@@ -35,6 +36,10 @@ BookmarkContextMenu::~BookmarkContextMenu() { |
} |
void BookmarkContextMenu::RunMenuAt(const gfx::Point& point) { |
+ NotificationService::current()->Notify( |
+ NotificationType::BOOKMARK_CONTEXT_MENU_SHOWN, |
+ Source<BookmarkContextMenu>(this), |
+ NotificationService::NoDetails()); |
// width/height don't matter here. |
views::MenuItemView::AnchorPosition anchor = base::i18n::IsRTL() ? |
views::MenuItemView::TOPRIGHT : views::MenuItemView::TOPLEFT; |