From 95ce56621a1202b00716136dc4a6d2664e3a3d07 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 29 Jul 2009 17:38:10 +0000 Subject: GTK Themes: Native location bar area. The combined star/location bar/go construct doesn't look native. In GTK mode, make the star and go buttons act like toolbar buttons, and draw a GTK text entry widget onto the toolbar. The omnibox popup is just the size of the entry when in GTK theme mode. There's still a lot of work to be done on this; I want to properly draw focus rings, have the rest of the location box use theme colors, et cetera, but this is less broken then what's currently there. Review URL: http://codereview.chromium.org/159532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21965 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/location_bar_view_gtk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/gtk/location_bar_view_gtk.h') diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h index 1ac1fa4..e241537 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.h +++ b/chrome/browser/gtk/location_bar_view_gtk.h @@ -107,6 +107,10 @@ class LocationBarViewGtk : public AutocompleteEditController, // The outermost widget we want to be hosted. OwnedWidgetGtk hbox_; + // A GtkEntry that isn't part of the hierarchy. We keep this for native + // rendering. + OwnedWidgetGtk offscreen_entry_; + // SSL icons. GtkWidget* security_icon_align_; GtkWidget* security_lock_icon_image_; -- cgit v1.1