summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels/panel.h
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 07:09:35 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 07:09:35 +0000
commit205d2e714f4bfa744769c76f7fe19e2907808618 (patch)
tree483690c35fa2e5f03072225c5953b3cd599d2639 /chrome/browser/ui/panels/panel.h
parent712f4b64f7ebead19b445209c69a54e3c38e1579 (diff)
downloadchromium_src-205d2e714f4bfa744769c76f7fe19e2907808618.zip
chromium_src-205d2e714f4bfa744769c76f7fe19e2907808618.tar.gz
chromium_src-205d2e714f4bfa744769c76f7fe19e2907808618.tar.bz2
New panel should not stack with other panel or stack that is minimized by the system
BUG=188438 TEST=new tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187796 Review URL: https://chromiumcodereview.appspot.com/12438006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/panels/panel.h')
-rw-r--r--chrome/browser/ui/panels/panel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 8c2228b..3f79067 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -304,9 +304,11 @@ class Panel : public BaseWindow,
// Applies |corner_style| to the panel window.
void SetWindowCornerStyle(panel::CornerStyle corner_style);
- // Performs the system minimize for the panel, i.e. hide the panel.
+ // Performs the system minimize for the panel, i.e. becoming iconic.
void MinimizeBySystem();
+ bool IsMinimizedBySystem() const;
+
protected:
// Panel can only be created using PanelManager::CreatePanel() or subclass.
// |app_name| is the default title for Panels when the page content does not