| 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 457311d33f84ae15e021247533c20d8946736a83..7dfc6d8ccbcc2c954b85cfc1ea29a738fd1c51cb 100644
|
| --- a/chrome/browser/extensions/extension_toolbar_model.h
|
| +++ b/chrome/browser/extensions/extension_toolbar_model.h
|
| @@ -167,6 +167,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);
|
|
|