Chromium Code Reviews| Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| index 395783601cd5ca91555ac46453564043d446bc6a..9a1400afd519b4b253b12770ba69c0a90839ae7d 100644 |
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| @@ -198,6 +198,10 @@ class BackgroundColorHoverButton : public views::LabelButton { |
| views::Border::CreateEmptyBorder(0, button_margin, 0, button_margin)); |
| SetFocusForPlatform(); |
| set_request_focus_on_press(true); |
| + |
| + if (switches::IsMaterialDesignUserMenu()) { |
| + label()->SetHandlesTooltips(false); |
|
sky
2016/08/11 03:25:35
The other option is to not set a tooltip. Not sett
Jane
2016/08/11 14:59:04
I don't need to set the tooltip for the MD case, a
|
| + } |
| } |
| BackgroundColorHoverButton(views::ButtonListener* listener, |