summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_toolbar_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 01:29:43 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 01:29:43 +0000
commit3484b56f1defad2c882f0621e19ef191b62a59fa (patch)
tree3f1f2471d133554ef5dd2453574e74851d9837cc /chrome/browser/gtk/browser_toolbar_gtk.h
parentc970dda6872775374a216f03f24b0c8a4b00272a (diff)
downloadchromium_src-3484b56f1defad2c882f0621e19ef191b62a59fa.zip
chromium_src-3484b56f1defad2c882f0621e19ef191b62a59fa.tar.gz
chromium_src-3484b56f1defad2c882f0621e19ef191b62a59fa.tar.bz2
Control spacing of toolbar elements with pixels rather than " " GtkLabels.
This fixes another large fonts issue. BUG=12573 TEST=toolbar should look like it does on windows (where there is spacing, the size of it, etc.) Review URL: http://codereview.chromium.org/115792 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_toolbar_gtk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h
index ceafeba..6a2a3aa 100644
--- a/chrome/browser/gtk/browser_toolbar_gtk.h
+++ b/chrome/browser/gtk/browser_toolbar_gtk.h
@@ -77,11 +77,14 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
private:
// Builds a toolbar button with all the properties set.
+ // |spacing| is the width of padding (in pixels) on the left and right of the
+ // button.
CustomDrawButton* BuildToolbarButton(int normal_id,
int active_id,
int highlight_id,
int depressed_id,
- const std::string& localized_tooltip);
+ const std::string& localized_tooltip,
+ int spacing);
ToolbarStarToggleGtk* BuildStarButton(const std::string& localized_tooltip);