Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: ui/views/color_chooser/color_chooser_view.cc

Issue 103493005: Rename View::set_focusable and View::set_accessibility_focusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a few missing files Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/bubble/bubble_delegate_unittest.cc ('k') | ui/views/controls/button/button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1ccc12be5cc0ccbb86fa4ad1d8fbff56a737f58d..3c649f9718aaf1ecb8035d70cdb36dd18fbc248c 100644
--- a/ui/views/color_chooser/color_chooser_view.cc
+++ b/ui/views/color_chooser/color_chooser_view.cc
@@ -137,7 +137,7 @@ class ColorChooserView::HueView : public LocatedEventHandlerView {
ColorChooserView::HueView::HueView(ColorChooserView* chooser_view)
: chooser_view_(chooser_view),
level_(0) {
- set_focusable(false);
+ SetFocusable(false);
}
void ColorChooserView::HueView::OnHueChanged(SkScalar hue) {
@@ -251,7 +251,7 @@ ColorChooserView::SaturationValueView::SaturationValueView(
ColorChooserView* chooser_view)
: chooser_view_(chooser_view),
hue_(0) {
- set_focusable(false);
+ SetFocusable(false);
set_border(Border::CreateSolidBorder(kBorderWidth, SK_ColorGRAY));
}
@@ -346,7 +346,7 @@ class ColorChooserView::SelectedColorPatchView : public views::View {
};
ColorChooserView::SelectedColorPatchView::SelectedColorPatchView() {
- set_focusable(false);
+ SetFocusable(false);
SetVisible(true);
set_border(Border::CreateSolidBorder(kBorderWidth, SK_ColorGRAY));
}
@@ -368,7 +368,7 @@ ColorChooserView::ColorChooserView(ColorChooserListener* listener,
: listener_(listener) {
DCHECK(listener_);
- set_focusable(false);
+ SetFocusable(false);
set_background(Background::CreateSolidBackground(SK_ColorLTGRAY));
SetLayoutManager(new BoxLayout(BoxLayout::kVertical, kMarginWidth,
kMarginWidth, kMarginWidth));
« no previous file with comments | « ui/views/bubble/bubble_delegate_unittest.cc ('k') | ui/views/controls/button/button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698