| Index: ui/views/color_chooser/color_chooser_view.cc
|
| diff --git a/ui/views/color_chooser/color_chooser_view.cc b/ui/views/color_chooser/color_chooser_view.cc
|
| index e0aea825e9e4b7709934ace3c514bfbc33dfcf9d..007e665eb4132f8db68b375fc7da5f438c2a5001 100644
|
| --- a/ui/views/color_chooser/color_chooser_view.cc
|
| +++ b/ui/views/color_chooser/color_chooser_view.cc
|
| @@ -141,7 +141,7 @@ class ColorChooserView::HueView : public LocatedEventHandlerView {
|
| ColorChooserView::HueView::HueView(ColorChooserView* chooser_view)
|
| : chooser_view_(chooser_view),
|
| level_(0) {
|
| - SetFocusable(false);
|
| + SetFocusBehavior(views::View::FocusBehavior::NEVER);
|
| }
|
|
|
| void ColorChooserView::HueView::OnHueChanged(SkScalar hue) {
|
| @@ -251,7 +251,7 @@ ColorChooserView::SaturationValueView::SaturationValueView(
|
| ColorChooserView* chooser_view)
|
| : chooser_view_(chooser_view),
|
| hue_(0) {
|
| - SetFocusable(false);
|
| + SetFocusBehavior(views::View::FocusBehavior::NEVER);
|
| SetBorder(Border::CreateSolidBorder(kBorderWidth, SK_ColorGRAY));
|
| }
|
|
|
| @@ -344,7 +344,7 @@ class ColorChooserView::SelectedColorPatchView : public views::View {
|
| };
|
|
|
| ColorChooserView::SelectedColorPatchView::SelectedColorPatchView() {
|
| - SetFocusable(false);
|
| + SetFocusBehavior(views::View::FocusBehavior::NEVER);
|
| SetVisible(true);
|
| SetBorder(Border::CreateSolidBorder(kBorderWidth, SK_ColorGRAY));
|
| }
|
| @@ -366,7 +366,7 @@ ColorChooserView::ColorChooserView(ColorChooserListener* listener,
|
| : listener_(listener) {
|
| DCHECK(listener_);
|
|
|
| - SetFocusable(false);
|
| + SetFocusBehavior(views::View::FocusBehavior::NEVER);
|
| set_background(Background::CreateSolidBackground(SK_ColorLTGRAY));
|
| SetLayoutManager(new BoxLayout(BoxLayout::kVertical, kMarginWidth,
|
| kMarginWidth, kMarginWidth));
|
|
|