| Index: views/controls/menu/menu_item_view_linux.cc
|
| diff --git a/views/controls/menu/menu_item_view_linux.cc b/views/controls/menu/menu_item_view_linux.cc
|
| index b90c7cea07a5d7ecd45532fefdec42a04b5d25ef..594f3df6ad96a48db899d133fc791e9a194a5fe4 100644
|
| --- a/views/controls/menu/menu_item_view_linux.cc
|
| +++ b/views/controls/menu/menu_item_view_linux.cc
|
| @@ -25,7 +25,7 @@ static const SkColor kSelectedBackgroundColor = SkColorSetRGB(246, 249, 253);
|
| #endif
|
|
|
| #if defined(TOUCH_UI)
|
| -const int kMinTouchHeight = 46;
|
| +const int kMinTouchHeight = 40;
|
| #endif
|
|
|
| gfx::Size MenuItemView::CalculatePreferredSize() {
|
| @@ -111,8 +111,9 @@ void MenuItemView::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) {
|
| text_bounds.x(), text_bounds.y(), text_bounds.width(),
|
| text_bounds.height(),
|
| GetRootMenuItem()->GetDrawStringFlags());
|
| -
|
| +#if !defined(TOUCH_UI)
|
| PaintAccelerator(canvas);
|
| +#endif
|
|
|
| // Render the icon.
|
| if (icon_.width() > 0) {
|
|
|