// Notifies the controller that state has changed in one of the following
// areas and it should update command states.
void TabStateChanged();
+ void ZoomStateChanged();
void ContentRestrictionsChanged();
void FullscreenStateChanged();
void PrintingStateChanged();
// Overridden from TabRestoreServiceObserver:
virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE;
virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE;
+ virtual void TabRestoreServiceLoaded(TabRestoreService* service) OVERRIDE;
// Returns true if the regular Chrome UI (not the fullscreen one and
// not the single-tab one) is shown. Used for updating window command states
// Update commands whose state depends on the tab's state.
void UpdateCommandsForTabState();
+ // Update Zoom commands based on zoom state.
+ void UpdateCommandsForZoomState();
+
// Updates commands when the content's restrictions change.
void UpdateCommandsForContentRestrictionState();
// Updates commands for find.
void UpdateCommandsForFind();
+ void UpdateTabRestoreCommandState();
+
// Add/remove observers for interstitial attachment/detachment from
// |contents|.
void AddInterstitialObservers(content::WebContents* contents);