Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3646)

Unified Diff: chrome/browser/ui/webui/chrome_web_ui.h

Issue 8135001: Fixed behavior of the bookmark bar visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed, rebased Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c4aaae4d04f7a2cfbcb028dc186e15467bb121f6 100644
--- a/chrome/browser/ui/webui/chrome_web_ui.h
+++ b/chrome/browser/ui/webui/chrome_web_ui.h
@@ -18,11 +18,8 @@ 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 should be visible, inlined in the webui.
sky 2011/10/05 16:59:12 What does 'inlined in webui' mean here? Is that pa
Joao da Silva 2011/10/06 19:45:38 It refers to the detached state. Made it clearer i
+ virtual bool IsBookmarkBarVisible() const;
// IsMoreWebUI returns a command line flag that tracks whether to use
// available WebUI implementations of native dialogs.
@@ -32,14 +29,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);
};

Powered by Google App Engine
This is Rietveld 408576698