Chromium Code Reviews| Index: chrome/browser/ui/views/browser_actions_container.cc |
| diff --git a/chrome/browser/ui/views/browser_actions_container.cc b/chrome/browser/ui/views/browser_actions_container.cc |
| index a213e078fec3db1c2c14c6fcdf1e9ace670b1ce2..61024de1345ccce3e24ad6c6f57825146a1bf251 100644 |
| --- a/chrome/browser/ui/views/browser_actions_container.cc |
| +++ b/chrome/browser/ui/views/browser_actions_container.cc |
| @@ -251,6 +251,11 @@ void BrowserActionButton::OnMouseExited(const views::MouseEvent& e) { |
| void BrowserActionButton::ShowContextMenu(const gfx::Point& p, |
| bool is_mouse_gesture) { |
| + // There is nothing in context menu that has sense to show for |
| + // component extensions so just ignore the request. |
| + if (extension()->location() == Extension::COMPONENT) |
|
Aaron Boodman
2011/01/24 19:45:58
I could see 'options' making sense, but I think th
Dmitry Polukhin
2011/01/25 07:23:21
Yes, options would make sense for some component e
|
| + return; |
| + |
| showing_context_menu_ = true; |
| SetButtonPushed(); |