Index: chrome/browser/ui/webui/chrome_web_ui.h |
diff --git a/chrome/browser/ui/webui/chrome_web_ui.h b/chrome/browser/ui/webui/chrome_web_ui.h |
index 765fe0300f72614010e90eaeab0368657964fcd2..1e5ebc5f146f7e0fa44bbf8536f96f48d623de4a 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui.h |
+++ b/chrome/browser/ui/webui/chrome_web_ui.h |
@@ -18,11 +18,9 @@ class ChromeWebUI : public WebUI { |
// Returns the profile for this WebUI. |
Profile* GetProfile() const; |
- // Returns true if the bookmark bar should be forced to being visible, |
- // overriding the user's preference. |
- bool force_bookmark_bar_visible() const { |
- return force_bookmark_bar_visible_; |
- } |
+ // Returns true if the bookmark bar can be displayed over this webui, |
+ // detached from the location bar. |
+ virtual bool CanShowBookmarkBar() const; |
// IsMoreWebUI returns a command line flag that tracks whether to use |
// available WebUI implementations of native dialogs. |
@@ -32,14 +30,7 @@ class ChromeWebUI : public WebUI { |
// WebUI. |
static void OverrideMoreWebUI(bool use_more_webui); |
- protected: |
- void set_force_bookmark_bar_visible(bool value) { |
- force_bookmark_bar_visible_ = value; |
- } |
- |
private: |
- bool force_bookmark_bar_visible_; |
- |
DISALLOW_COPY_AND_ASSIGN(ChromeWebUI); |
}; |