diff options
author | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 21:29:05 +0000 |
---|---|---|
committer | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 21:29:05 +0000 |
commit | 6825560e7645b6ae46da50a8a9f7f4a05c26f17f (patch) | |
tree | e78ce26ac2229f2a11c535d52694b403671fc046 /chrome/browser/ui/panels/panel.h | |
parent | 9d7be655058fdf5fec5bb69cbe3cf6bd5e35bf39 (diff) | |
download | chromium_src-6825560e7645b6ae46da50a8a9f7f4a05c26f17f.zip chromium_src-6825560e7645b6ae46da50a8a9f7f4a05c26f17f.tar.gz chromium_src-6825560e7645b6ae46da50a8a9f7f4a05c26f17f.tar.bz2 |
Misc panel bug fixes on Windows.
1) SchedulePaint should be called for the frame view when the attention is changing.
2) Title-bar controls should be hidden when the panel is minimized.
3) The minimized panel should lose the focus.
4) The panel that pops up the title-bar for drawing attention should not be brought down when the mouse is over other minimized panel.
BUG=none
TEST=browser tests for 2-4. manual verification for 1.
Review URL: http://codereview.chromium.org/7397022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/panels/panel.h')
-rw-r--r-- | chrome/browser/ui/panels/panel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h index 974a302..df5271d 100644 --- a/chrome/browser/ui/panels/panel.h +++ b/chrome/browser/ui/panels/panel.h @@ -44,6 +44,8 @@ class Panel : public BrowserWindow { bool ShouldBringUpTitleBar(int mouse_x, int mouse_y) const; + bool IsDrawingAttention() const; + // BrowserWindow overrides. virtual void Show() OVERRIDE; virtual void ShowInactive() OVERRIDE; |