Chromium Code Reviews| Index: chrome/browser/ui/panels/panel_manager.h |
| diff --git a/chrome/browser/ui/panels/panel_manager.h b/chrome/browser/ui/panels/panel_manager.h |
| index e7319b3c02008affcb1317627345e6305acb8ca3..6c6573bbf677122a5e2fc22d34ba96db9bcf54dd 100644 |
| --- a/chrome/browser/ui/panels/panel_manager.h |
| +++ b/chrome/browser/ui/panels/panel_manager.h |
| @@ -10,6 +10,7 @@ |
| #include "base/basictypes.h" |
| #include "base/lazy_instance.h" |
| #include "base/memory/scoped_ptr.h" |
| +#include "base/timer.h" |
| #include "chrome/browser/ui/panels/auto_hiding_desktop_bar.h" |
| #include "chrome/browser/ui/panels/panel.h" |
| #include "ui/gfx/rect.h" |
| @@ -100,6 +101,8 @@ class PanelManager : public AutoHidingDesktopBar::Observer { |
| return panel_strip_.get(); |
| } |
| + bool is_full_screen_mode_on() const { return is_full_screen_mode_on_; } |
|
jianli
2011/12/02 00:04:45
nit: extra space.
prasadt
2011/12/02 00:29:39
Done.
|
| + |
| #ifdef UNIT_TEST |
| static int horizontal_spacing() { return PanelStrip::horizontal_spacing(); } |
| @@ -179,6 +182,11 @@ class PanelManager : public AutoHidingDesktopBar::Observer { |
| // will not be affected. |
| bool auto_sizing_enabled_; |
| + // Timer used to track if the current active app is in full screen mode. |
| + base::RepeatingTimer<PanelManager> full_screen_mode_timer_; |
| + void CheckFullScreenMode(); |
|
jianli
2011/12/02 00:04:45
nit: it'd better to move this declaration to the a
prasadt
2011/12/02 00:29:39
Done.
|
| + bool is_full_screen_mode_on_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(PanelManager); |
| }; |