| Index: chrome/browser/extensions/extension_toolbar_model.h
|
| diff --git a/chrome/browser/extensions/extension_toolbar_model.h b/chrome/browser/extensions/extension_toolbar_model.h
|
| index b495f5d6e12d77d24bd1b0cc46b3066c66df8c33..05b143d89985dada27060394a545658677fd5364 100644
|
| --- a/chrome/browser/extensions/extension_toolbar_model.h
|
| +++ b/chrome/browser/extensions/extension_toolbar_model.h
|
| @@ -181,6 +181,13 @@ class ExtensionToolbarModel : public content::NotificationObserver,
|
| // Save the model to prefs.
|
| void UpdatePrefs();
|
|
|
| + // Updates |extension|'s browser action visibility pref if the browser action
|
| + // is in the overflow menu and should be considered hidden.
|
| + void MaybeUpdateVisibilityPref(const Extension* extension, int index);
|
| +
|
| + // Calls MaybeUpdateVisibilityPref() for each extension in |toolbar_items|.
|
| + void MaybeUpdateVisibilityPrefs();
|
| +
|
| // Finds the last known visible position of the icon for an |extension|. The
|
| // value returned is a zero-based index into the vector of visible items.
|
| size_t FindNewPositionFromLastKnownGood(const Extension* extension);
|
|
|