| Index: chrome/browser/extensions/location_bar_controller.h
|
| diff --git a/chrome/browser/extensions/location_bar_controller.h b/chrome/browser/extensions/location_bar_controller.h
|
| index 127661f88f3ac02996a0b8c3b38047979a9d6d89..b1b3c3d93c55900a55a47c89e4846f6a161992fb 100644
|
| --- a/chrome/browser/extensions/location_bar_controller.h
|
| +++ b/chrome/browser/extensions/location_bar_controller.h
|
| @@ -32,6 +32,10 @@ class LocationBarController {
|
| // Gets the action data for all extensions.
|
| virtual std::vector<ExtensionAction*> GetCurrentActions() const = 0;
|
|
|
| + // Requests permission from the user to execute a script, due to a
|
| + // scriptBadge.requestToAct() call.
|
| + virtual void RequestScriptPermission(const std::string& extension_id) = 0;
|
| +
|
| // Notifies this that the badge for an extension has been clicked with some
|
| // mouse button (1 for left, 2 for middle, and 3 for right click), and
|
| // returns the action that should be taken in response (if any).
|
|
|