Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2186)

Unified Diff: chrome/browser/views/bookmark_context_menu.cc

Issue 1612005: Revert "BookmarkBarView tests fixes" (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/bookmark_bar_view_test.cc ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9ef9506c3c0925922dfc7c5fd3dd20c0f86a7d43..aef80705437152abdc2f3b01c31ae17a425e8640 100644
--- a/chrome/browser/views/bookmark_context_menu.cc
+++ b/chrome/browser/views/bookmark_context_menu.cc
@@ -7,7 +7,6 @@
#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"
@@ -36,10 +35,6 @@ 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;
« no previous file with comments | « chrome/browser/views/bookmark_bar_view_test.cc ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698