| 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 93b32ae5fee915f8d4c67f4c70ccf22b93f06d04..10a36c46696f068ec41941cae0bd85d88296aa6e 100644
|
| --- a/chrome/browser/ui/views/browser_action_view.h
|
| +++ b/chrome/browser/ui/views/browser_action_view.h
|
| @@ -89,6 +89,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 cannot
|
| + // receive drag events.
|
| + bool IsEnabled(int tab_id) const;
|
| +
|
| protected:
|
| // Overridden from views::View:
|
| virtual void ViewHierarchyChanged(bool is_add,
|
|
|