| Index: chrome/browser/ui/toolbar/action_box_button_controller.h
|
| diff --git a/chrome/browser/ui/toolbar/action_box_button_controller.h b/chrome/browser/ui/toolbar/action_box_button_controller.h
|
| index 45c56928f63afcbe1c648200a9d16b08762bb0bb..13872e08e478060a66db8bb17edc8441ad37803b 100644
|
| --- a/chrome/browser/ui/toolbar/action_box_button_controller.h
|
| +++ b/chrome/browser/ui/toolbar/action_box_button_controller.h
|
| @@ -68,10 +68,21 @@ class ActionBoxButtonController : public ui::SimpleMenuModel::Delegate,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + // Handles "share with X" commands.
|
| + void TriggerExplicitShareIntent(const GURL& share_service_url);
|
| +
|
| + // Handles the "Find places to share" command. Navigates the browser to the
|
| + // web store to find extensions with share intents.
|
| + void NavigateToWebStoreShareIntentsList();
|
| +
|
| Browser* browser_;
|
|
|
| Delegate* delegate_;
|
|
|
| + // The share service strings that have commands associated with them.
|
| + typedef std::map<int, GURL> ShareIntentServiceCommandMap;
|
| + ShareIntentServiceCommandMap share_intent_service_ids_;
|
| +
|
| // The command ID to assign to the next extension that needs one.
|
| int next_extension_command_id_;
|
|
|
|
|