| Index: chrome/browser/extensions/extension_action.h
|
| diff --git a/chrome/browser/extensions/extension_action.h b/chrome/browser/extensions/extension_action.h
|
| index efdceeef6509828d233fbc761dd4228563962c0b..67041f74b9fa8008c676ce242f7de3e6fd9e8bec 100644
|
| --- a/chrome/browser/extensions/extension_action.h
|
| +++ b/chrome/browser/extensions/extension_action.h
|
| @@ -70,6 +70,12 @@ class ExtensionAction {
|
| std::string id() const { return id_; }
|
| void set_id(const std::string& id) { id_ = id; }
|
|
|
| + // Should open Popup in sidebar?
|
| + bool open_in_sidebar() { return open_in_sidebar_; }
|
| + void set_open_in_sidebar(bool open_in_sidebar) {
|
| + open_in_sidebar_ = open_in_sidebar;
|
| + }
|
| +
|
| // Set the url which the popup will load when the user clicks this action's
|
| // icon. Setting an empty URL will disable the popup for a given tab.
|
| void SetPopupUrl(int tab_id, const GURL& url);
|
| @@ -299,6 +305,9 @@ class ExtensionAction {
|
| // needed for compat with an older version of the page actions API.
|
| std::string id_;
|
|
|
| + // Popup should be open sidebar
|
| + bool open_in_sidebar_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionAction);
|
| };
|
|
|
|
|