summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 17:13:52 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 17:13:52 +0000
commit8a585cbb238840eadf792f120d1b80a321b37220 (patch)
tree3452a7cf6d16f488de4fa897f766a363ec894b53 /chrome/browser/ui/browser.h
parentc1b3468d91c5ec0bda9192c4781cefb43cc90379 (diff)
downloadchromium_src-8a585cbb238840eadf792f120d1b80a321b37220.zip
chromium_src-8a585cbb238840eadf792f120d1b80a321b37220.tar.gz
chromium_src-8a585cbb238840eadf792f120d1b80a321b37220.tar.bz2
Implement settings om a window
Adds SettingsWindowManager which manages settings popup windows, one per Profile. Implemented behind the flag -enable-settings-window Includes some cleanup in chrome_pages for settings url generation and showing settings by profile in general. Also moves logic for whether to display the Location Bar in a Browser to ShowLocationBar() (affects code for streamlined hosted apps, shouldn't change the logic any). BUG=342983 R=ben@chromium.org, calamity@chromium.org Review URL: https://codereview.chromium.org/178863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser.h')
-rw-r--r--chrome/browser/ui/browser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 72bdcb8..0e81603 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -769,6 +769,9 @@ class Browser : public TabStripModelObserver,
// Shared code between Reload() and ReloadIgnoringCache().
void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
+ // Returns true if the Browser window should show the location bar.
+ bool ShouldShowLocationBar() const;
+
// Implementation of SupportsWindowFeature and CanSupportWindowFeature. If
// |check_fullscreen| is true, the set of features reflect the actual state of
// the browser, otherwise the set of features reflect the possible state of