| Index: chrome/browser/ui/views/extensions/extension_action_view_controller.h
|
| diff --git a/chrome/browser/ui/views/extensions/extension_action_view_controller.h b/chrome/browser/ui/views/extensions/extension_action_view_controller.h
|
| index 3799db6ac475d037dc9805715d53617c4be33412..86ab7d8b158d2d20f59155b631f0bd451a0fe9f4 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_action_view_controller.h
|
| +++ b/chrome/browser/ui/views/extensions/extension_action_view_controller.h
|
| @@ -117,9 +117,13 @@ class ExtensionActionViewController
|
| void DoShowContextMenu(ui::MenuSourceType source_type);
|
|
|
| // Shows the popup for the extension action, given the associated |popup_url|.
|
| + // |grant_tab_permissions| is true if active tab permissions should be given
|
| + // to the extension; this is only true if the popup is opened through a user
|
| + // action.
|
| // Returns true if a popup is successfully shown.
|
| bool ShowPopupWithUrl(ExtensionPopup::ShowAction show_action,
|
| - const GURL& popup_url);
|
| + const GURL& popup_url,
|
| + bool grant_tab_permissions);
|
|
|
| // Populates |command| with the command associated with |extension|, if one
|
| // exists. Returns true if |command| was populated.
|
|
|