Index: chrome/browser/ui/panels/panel_browser_window_gtk.h |
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.h b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
index 8f6c447e1cdeeef5827014078f86d23e1bf8f831..9c1c4c0d5ae1b9d9111ab595b96e86b103b9037f 100644 |
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h |
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/gtk/menu_gtk.h" |
#include "chrome/browser/ui/panels/native_panel.h" |
#include "ui/base/animation/animation_delegate.h" |
+#include "ui/base/x/work_area_watcher_x.h" |
class Panel; |
class PanelSettingsMenuModel; |
@@ -25,6 +26,7 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
public NativePanel, |
public MenuGtk::Delegate, |
public MessageLoopForUI::Observer, |
+ public ui::WorkAreaWatcherX::Observer, |
Dmitry Titov
2011/11/18 04:56:37
If these are in alphabetic order, then last two sh
prasadt
2011/11/18 22:31:42
Moved things around to keep them in order.
I was
|
public ui::AnimationDelegate { |
friend class NativePanelTestingGtk; |
public: |
@@ -41,6 +43,9 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
GdkEventButton* event) OVERRIDE; |
virtual TitleDecoration GetWindowTitle(std::string* title) const OVERRIDE; |
+ // ui::WorkAreaWatcherX::Observer overrides |
Dmitry Titov
2011/11/18 04:56:37
overrides -> override?
prasadt
2011/11/18 22:31:42
Done.
|
+ void WorkAreaChanged() OVERRIDE; |
+ |
protected: |
// BrowserWindowGtk overrides |
virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE; |
@@ -59,7 +64,6 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
virtual void HandleFocusIn(GtkWidget* widget, |
GdkEventFocus* event) OVERRIDE; |
- |
// Overridden from NativePanel: |
virtual void ShowPanel() OVERRIDE; |
virtual void ShowPanelInactive() OVERRIDE; |