diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 23:09:39 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 23:09:39 +0000 |
commit | 42e8de911a526f8c86a7f5e5fc7dce82a647f6d0 (patch) | |
tree | cdc0bc11f5308d862b0023f6df6af58d731cc80a /chrome/browser/gtk/browser_toolbar_gtk.h | |
parent | 9d6ad02b8c83feeefa57d6131aa4b00cabb9e914 (diff) | |
download | chromium_src-42e8de911a526f8c86a7f5e5fc7dce82a647f6d0.zip chromium_src-42e8de911a526f8c86a7f5e5fc7dce82a647f6d0.tar.gz chromium_src-42e8de911a526f8c86a7f5e5fc7dce82a647f6d0.tar.bz2 |
GTK Themes: Make the location bar area look native.
Replace the star and go buttons with a native looking thing, where
we manually draw the theme's button image for the full omnibox area
and then position the star/go buttons on top of that.
Also adds stand in versions of star_noborder and starred_noborder
until Glen can make real icons.
http://crbug.com/16227
http://crbug.com/13967
http://crbug.com/16915
Review URL: http://codereview.chromium.org/149681
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_toolbar_gtk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h index ab86f41..37a2c3f 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.h +++ b/chrome/browser/gtk/browser_toolbar_gtk.h @@ -114,6 +114,9 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver, // Gtk callback for the "expose-event" signal. static gboolean OnToolbarExpose(GtkWidget* widget, GdkEventExpose* e, BrowserToolbarGtk* toolbar); + static gboolean OnLocationHboxExpose(GtkWidget* omnibox_hbox, + GdkEventExpose* e, + BrowserToolbarGtk* toolbar); // Gtk callback for the "clicked" signal. static void OnButtonClick(GtkWidget* button, BrowserToolbarGtk* toolbar); |