Index: chrome/browser/cocoa/location_bar_view_mac.h |
diff --git a/chrome/browser/cocoa/location_bar_view_mac.h b/chrome/browser/cocoa/location_bar_view_mac.h |
index ee9cf26d9dc82a2905a6f23e0e9a5870ac1b91eb..12f32fadb72f21d70b82dcfdbafd77d5ed8835c8 100644 |
--- a/chrome/browser/cocoa/location_bar_view_mac.h |
+++ b/chrome/browser/cocoa/location_bar_view_mac.h |
@@ -46,6 +46,11 @@ class LocationBarViewMac : public AutocompleteEditController, |
return edit_view_.get(); |
} |
+ // Updates the location bar. Resets the bar's permanent text and |
+ // security style, and if |should_restore_state| is true, restores |
+ // saved state from the tab (for tab switching). |
+ void Update(const TabContents* tab, bool should_restore_state); |
+ |
virtual void OnAutocompleteAccept(const GURL& url, |
WindowOpenDisposition disposition, |
PageTransition::Type transition, |