Index: chrome/browser/views/infobars/extension_infobar.cc |
diff --git a/chrome/browser/views/infobars/extension_infobar.cc b/chrome/browser/views/infobars/extension_infobar.cc |
index 70f3f7ffc04afd04a38445b881dfac7257568dda..9303aff8d2c137a1c0f0e268785319972c2990e3 100644 |
--- a/chrome/browser/views/infobars/extension_infobar.cc |
+++ b/chrome/browser/views/infobars/extension_infobar.cc |
@@ -89,10 +89,14 @@ void ExtensionInfoBar::Layout() { |
} |
void ExtensionInfoBar::RunMenu(View* source, const gfx::Point& pt) { |
- if (!options_menu_contents_.get()) { |
+ if (!options_menu_contents_.get()) |
options_menu_contents_.reset(new ExtensionActionContextMenuModel( |
- delegate_->extension_host()->extension())); |
- } |
+ delegate_->extension_host()->extension(), |
+ // Do not include "Inspect Popup" in menu: |
+ NULL, // ExtensionAction |
+ NULL, // PrefService |
+ NULL)); // ExtensionActionContextMenuModel::MenuDelegate |
+ |
options_menu_menu_.reset(new views::Menu2(options_menu_contents_.get())); |
options_menu_menu_->RunMenuAt(pt, views::Menu2::ALIGN_TOPLEFT); |
} |