summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_gtk.h
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 00:41:04 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 00:41:04 +0000
commitd904bc88427330a9cf4a32f3129c2353736be5ab (patch)
treefc4a3bd31be8bbc7ae8ed77dc1e2431963aa0bf2 /chrome/browser/gtk/browser_window_gtk.h
parent3c78ae92e0c9a8c1e3e33c68df8e8a8af7d76a6c (diff)
downloadchromium_src-d904bc88427330a9cf4a32f3129c2353736be5ab.zip
chromium_src-d904bc88427330a9cf4a32f3129c2353736be5ab.tar.gz
chromium_src-d904bc88427330a9cf4a32f3129c2353736be5ab.tar.bz2
Popup changes
Review URL: http://codereview.chromium.org/155075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index 64d4449..3045236 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -12,6 +12,7 @@
#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
+#include "build/build_config.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/common/notification_registrar.h"
@@ -31,6 +32,10 @@ class StatusBubbleGtk;
class TabContentsContainerGtk;
class TabStripGtk;
+#ifdef LINUX2
+class PanelController;
+#endif
+
// An implementation of BrowserWindow for GTK.
// Cross-platform code will interact with this object when
// it needs to manipulate the window.
@@ -149,6 +154,8 @@ class BrowserWindowGtk : public BrowserWindow,
return browser_.get();
}
+ GtkWindow* window() { return window_; }
+
protected:
virtual void DestroyBrowser();
// Top level window.
@@ -292,6 +299,8 @@ class BrowserWindowGtk : public BrowserWindow,
#if defined(LINUX2)
// True if a drag is active. See description above setter for details.
bool drag_active_;
+ // Controls interactions with the window manager for popup panels.
+ PanelController* panel_controller_;
#endif
// A map which translates an X Window ID into its respective GtkWindow.