| Index: chrome/common/extensions/extension_action.h
|
| diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h
|
| index 5a655ff69159738a984a27573159aa634a43c14e..ded9bebc0cff950762ac06a43c7d824c88da6a22 100644
|
| --- a/chrome/common/extensions/extension_action.h
|
| +++ b/chrome/common/extensions/extension_action.h
|
| @@ -242,6 +242,11 @@ class ExtensionAction {
|
| return GetValue(&appearance_, tab_id) != INVISIBLE;
|
| }
|
|
|
| + // True if the tab's action wants the user's attention.
|
| + bool WantsAttention(int tab_id) const {
|
| + return GetValue(&appearance_, tab_id) == WANTS_ATTENTION;
|
| + }
|
| +
|
| // Remove all tab-specific state.
|
| void ClearAllValuesForTab(int tab_id);
|
|
|
|
|