| Index: chrome/common/extensions/extension_action.h
|
| diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h
|
| index 1dee6c2c84660b0f690d208f2da541ad2a78a485..0aff091c4856bf318fe0cf9d0967bbc4fa52bfb0 100644
|
| --- a/chrome/common/extensions/extension_action.h
|
| +++ b/chrome/common/extensions/extension_action.h
|
| @@ -228,6 +228,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);
|
|
|
|
|