diff options
author | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 17:55:29 +0000 |
---|---|---|
committer | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 17:55:29 +0000 |
commit | 5f58c2afdeae4f8895d9da0afdc1c5a82c250e4c (patch) | |
tree | 6f6fa853cb9ad18c1de6e620721078bbbcc6753d /chrome/browser/ui/cocoa/browser_window_cocoa.mm | |
parent | eaf430e4367b812d8e7545fefcc8b2ffa97be520 (diff) | |
download | chromium_src-5f58c2afdeae4f8895d9da0afdc1c5a82c250e4c.zip chromium_src-5f58c2afdeae4f8895d9da0afdc1c5a82c250e4c.tar.gz chromium_src-5f58c2afdeae4f8895d9da0afdc1c5a82c250e4c.tar.bz2 |
Add Browser::IsPanelWindow() to correctly identify panel windows.
Change-Id: If2a49c80931d629481571db76cbaf4c5afe7d2d5
BUG=chromium-os:109050
TEST=See issue + tests pass
Review URL: http://codereview.chromium.org/9116015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/browser_window_cocoa.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/browser_window_cocoa.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm index 3c950c5..84eebef 100644 --- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm @@ -369,6 +369,10 @@ bool BrowserWindowCocoa::IsToolbarVisible() const { browser_->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR); } +bool BrowserWindowCocoa::IsPanel() const { + return false; +} + // This is called from Browser, which in turn is called directly from // a menu option. All we do here is set a preference. The act of // setting the preference sends notifications to all windows who then |