diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 20:21:58 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 20:21:58 +0000 |
commit | 3803088091ca375b9dc4896ec5a3c85c5e99cbea (patch) | |
tree | 4a4c3b60eccae52d0dcb02f8d726663cc61c5920 /chrome/browser | |
parent | 760d03d9bdf2b69e9f526869a5513fbcae80017e (diff) | |
download | chromium_src-3803088091ca375b9dc4896ec5a3c85c5e99cbea.zip chromium_src-3803088091ca375b9dc4896ec5a3c85c5e99cbea.tar.gz chromium_src-3803088091ca375b9dc4896ec5a3c85c5e99cbea.tar.bz2 |
Puts chrome menus on a slimfast diet: they are no longer chubby. I
added an option such that menus can be rendered in two ways, chubby or
skinny. The only places that uses the taller menus is the bookmark
bar.
I also made the menus use the right font.
BUG=1074332
TEST=none
Review URL: http://codereview.chromium.org/10865
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/views/bookmark_bar_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc index a5f6fdf..49e758d6 100644 --- a/chrome/browser/views/bookmark_bar_view.cc +++ b/chrome/browser/views/bookmark_bar_view.cc @@ -364,6 +364,7 @@ class MenuRunner : public views::MenuDelegate, menu_(this) { int next_menu_id = 1; menu_id_to_node_map_[menu_.GetCommand()] = node; + menu_.set_has_icons(true); BuildMenu(node, start_child_index, &menu_, &next_menu_id); } |