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

Unified Diff: chrome/browser/ui/views/content_setting_bubble_contents.cc

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 6 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
Index: chrome/browser/ui/views/content_setting_bubble_contents.cc
diff --git a/chrome/browser/ui/views/content_setting_bubble_contents.cc b/chrome/browser/ui/views/content_setting_bubble_contents.cc
index c39d9ba146fce99f6b8f41bf32b349f7c1ea5d8e..f6f30bb43d175aa1472cb370a1b089c99c3c2768 100644
--- a/chrome/browser/ui/views/content_setting_bubble_contents.cc
+++ b/chrome/browser/ui/views/content_setting_bubble_contents.cc
@@ -55,7 +55,7 @@ const int kMinMultiLineContentsWidth = 250;
// The minimum width of the media menu buttons.
const int kMinMediaMenuButtonWidth = 100;
-}
+} // namespace
using content::PluginService;
using content::WebContents;
@@ -464,6 +464,7 @@ void ContentSettingBubbleContents::OnMenuButtonClicked(
i->first,
gfx::Rect(screen_location, i->first->size()),
views::MenuItemView::TOPLEFT,
+ ui::MENU_SOURCE_NONE,
views::MenuRunner::HAS_MNEMONICS));
}
« no previous file with comments | « chrome/browser/ui/views/browser_action_view.cc ('k') | chrome/browser/ui/views/download/download_item_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698