diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:30:27 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:30:27 +0000 |
commit | 98f5ea69fed3f2f39646acdffd76baeac4a6a7df (patch) | |
tree | e6f4525d1daf154b650df2c503a5d52445a3eecb /chrome/browser/gtk/browser_window_gtk.cc | |
parent | fd81a10dc199076671eab98cc5722522004a84d5 (diff) | |
download | chromium_src-98f5ea69fed3f2f39646acdffd76baeac4a6a7df.zip chromium_src-98f5ea69fed3f2f39646acdffd76baeac4a6a7df.tar.gz chromium_src-98f5ea69fed3f2f39646acdffd76baeac4a6a7df.tar.bz2 |
Quick reimplementation of StatusBubbleGtk to not suck as much.
The TabContentsContainerGtk now uses a GtkFixed to store its
children, and the status bubble is now a child of that GtkFixed
so that it can be absolutely positioned on top of the rendered
data. Since it is no longer a GTK_WINDOW_POPUP, all the weird
stuff related to different window managers goes away.
http://crbug.com/11635
Review URL: http://codereview.chromium.org/113590
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index 8417e64..51c2f23 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -326,7 +326,9 @@ BrowserWindowGtk::BrowserWindowGtk(Browser* browser) infobar_container_->widget(), FALSE, FALSE, 0); - contents_container_.reset(new TabContentsContainerGtk()); + status_bubble_.reset(new StatusBubbleGtk()); + + contents_container_.reset(new TabContentsContainerGtk(status_bubble_.get())); contents_container_->AddContainerToBox(render_area_vbox_); // Note that calling this the first time is necessary to get the @@ -334,8 +336,6 @@ BrowserWindowGtk::BrowserWindowGtk(Browser* browser) // TODO(port): make this a pref. SetCustomFrame(false); - status_bubble_.reset(new StatusBubbleGtk(window_)); - GtkWidget* event_box = gtk_event_box_new(); gtk_container_add(GTK_CONTAINER(event_box), render_area_vbox_); gtk_container_add(GTK_CONTAINER(content_vbox_), event_box); |