| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index 80e8c61725592b7c7c75e133018c949f38e3d6a6..003580ab67dbcf39675d4dcff4670dd6eb62be1c 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -59,6 +59,7 @@
|
| #include "chrome/browser/ui/omnibox/location_bar_util.h"
|
| #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| +#include "chrome/browser/ui/webui/extensions/extension_info_ui.h"
|
| #include "chrome/browser/ui/zoom/zoom_controller.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/extensions/extension.h"
|
| @@ -1890,6 +1891,14 @@ gboolean LocationBarViewGtk::PageActionViewGtk::OnButtonPressed(
|
| new MenuGtk(NULL, context_menu_model_.get()));
|
| context_menu_->PopupForWidget(sender, event->button, event->time);
|
| break;
|
| +
|
| + case LocationBarController::ACTION_SHOW_SCRIPT_POPUP:
|
| + ExtensionPopupGtk::Show(
|
| + ExtensionInfoUI::GetURL(extension->id()),
|
| + owner_->browser_,
|
| + event_box_.get(),
|
| + ExtensionPopupGtk::SHOW);
|
| + break;
|
| }
|
|
|
| return TRUE;
|
|
|