| Index: chrome/browser/ui/views/browser_action_view.h
|
| diff --git a/chrome/browser/ui/views/browser_action_view.h b/chrome/browser/ui/views/browser_action_view.h
|
| index 2cb8a93a1e318bbe8e6c50aff2940f27b11f0aa6..8a9121893ccdbef62b4053d5037992b61cba03cd 100644
|
| --- a/chrome/browser/ui/views/browser_action_view.h
|
| +++ b/chrome/browser/ui/views/browser_action_view.h
|
| @@ -88,6 +88,11 @@ class BrowserActionButton : public views::MenuButton,
|
| void SetButtonPushed();
|
| void SetButtonNotPushed();
|
|
|
| + // Whether the browser action is enabled on this tab. Note that we cannot use
|
| + // the built-in views enabled/SetEnabled because disabled views do not
|
| + // receive drag events.
|
| + bool IsEnabled(int tab_id) const;
|
| +
|
| protected:
|
| // Overridden from views::View:
|
| virtual void ViewHierarchyChanged(bool is_add,
|
|
|