summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_item_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-01 22:54:16 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-01 22:54:16 +0000
commitc4bb3c405236225fb67fc969dd809d5b241d9ad8 (patch)
tree19727d825d6cc7cd429479eac4253f89890d73a0 /chrome/browser/gtk/download_item_gtk.h
parent07aa910d904da92ba9d461d4f867b9438ace6ce0 (diff)
downloadchromium_src-c4bb3c405236225fb67fc969dd809d5b241d9ad8.zip
chromium_src-c4bb3c405236225fb67fc969dd809d5b241d9ad8.tar.gz
chromium_src-c4bb3c405236225fb67fc969dd809d5b241d9ad8.tar.bz2
Linux: Fix appearance of dangerous download dialog.
Don't give dangerous download dialog its own GdkWindow. We need the window to be transparent, which only works with compositing window managers, so instead of going through that hassle just don't give it a window. Let the text field adjust in size during animation. BUG=none TEST=download an .exe with a dark system theme. The dialog shouldn't have a dark frame around it. Review URL: http://codereview.chromium.org/118092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.h')
-rw-r--r--chrome/browser/gtk/download_item_gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h
index c9b1ae0..13680cd 100644
--- a/chrome/browser/gtk/download_item_gtk.h
+++ b/chrome/browser/gtk/download_item_gtk.h
@@ -151,6 +151,7 @@ class DownloadItemGtk : public DownloadItem::Observer,
// An hbox for holding components of the dangerous download dialog.
GtkWidget* dangerous_hbox_;
+ int dangerous_hbox_start_width_;
int dangerous_hbox_full_width_;
// The ID of the handler for the parent shelf's "size-allocate" event. We save