Chromium Code Reviews| Index: ui/views/controls/slider.cc |
| diff --git a/ui/views/controls/slider.cc b/ui/views/controls/slider.cc |
| index e063456aaaf4bd716d44002a1dbe136fa029118b..3cd8b4751c267efb459ad87cdaa0339c188c31d9 100644 |
| --- a/ui/views/controls/slider.cc |
| +++ b/ui/views/controls/slider.cc |
| @@ -67,7 +67,12 @@ Slider::Slider(SliderListener* listener, Orientation orientation) |
| bar_active_images_(kBarImagesActive), |
| bar_disabled_images_(kBarImagesDisabled) { |
| EnableCanvasFlippingForRTLUI(true); |
| +#if !defined(OS_MACOSX) |
|
tapted
2016/02/12 02:56:44
I think this can be
#if defined(OS_MACOSX)
SetAcc
karandeepb
2016/02/22 07:15:37
Using PlatformStyle::SetControlStyleFocus() now.
|
| SetFocusable(true); |
| +#else |
| + SetFocusable(false); |
| + SetAccessibilityFocusable(true); |
| +#endif |
| UpdateState(true); |
| } |