diff options
Diffstat (limited to 'ui/views/controls/button')
-rw-r--r-- | ui/views/controls/button/button.cc | 2 | ||||
-rw-r--r-- | ui/views/controls/button/checkbox.cc | 2 | ||||
-rw-r--r-- | ui/views/controls/button/custom_button.h | 2 | ||||
-rw-r--r-- | ui/views/controls/button/image_button.h | 2 | ||||
-rw-r--r-- | ui/views/controls/button/label_button.cc | 2 | ||||
-rw-r--r-- | ui/views/controls/button/text_button.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ui/views/controls/button/button.cc b/ui/views/controls/button/button.cc index eccec03..96e2e27 100644 --- a/ui/views/controls/button/button.cc +++ b/ui/views/controls/button/button.cc @@ -48,7 +48,7 @@ void Button::GetAccessibleState(ui::AccessibleViewState* state) { Button::Button(ButtonListener* listener) : listener_(listener), tag_(-1) { - set_accessibility_focusable(true); + SetAccessibilityFocusable(true); } void Button::NotifyClick(const ui::Event& event) { diff --git a/ui/views/controls/button/checkbox.cc b/ui/views/controls/button/checkbox.cc index ae263e3..ec33a47 100644 --- a/ui/views/controls/button/checkbox.cc +++ b/ui/views/controls/button/checkbox.cc @@ -24,7 +24,7 @@ Checkbox::Checkbox(const string16& label) button_border->SetPainter(false, STATE_PRESSED, NULL); // Inset the trailing side by a couple pixels for the focus border. button_border->set_insets(gfx::Insets(0, 0, 0, 2)); - set_focusable(true); + SetFocusable(true); ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h index c769d1b..9ac502d 100644 --- a/ui/views/controls/button/custom_button.h +++ b/ui/views/controls/button/custom_button.h @@ -21,7 +21,7 @@ class CustomButtonStateChangedDelegate; // A button with custom rendering. The common base class of ImageButton and // TextButton. // Note that this type of button is not focusable by default and will not be -// part of the focus chain. Call set_focusable(true) to make it part of the +// part of the focus chain. Call SetFocusable(true) to make it part of the // focus chain. class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate { diff --git a/ui/views/controls/button/image_button.h b/ui/views/controls/button/image_button.h index d74eceb..4977b06 100644 --- a/ui/views/controls/button/image_button.h +++ b/ui/views/controls/button/image_button.h @@ -18,7 +18,7 @@ class Painter; // An image button. // Note that this type of button is not focusable by default and will not be -// part of the focus chain. Call set_focusable(true) to make it part of the +// part of the focus chain. Call SetFocusable(true) to make it part of the // focus chain. class VIEWS_EXPORT ImageButton : public CustomButton { diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc index 58e3fe6..30db5d1 100644 --- a/ui/views/controls/button/label_button.cc +++ b/ui/views/controls/button/label_button.cc @@ -154,7 +154,7 @@ void LabelButton::SetStyle(ButtonStyle style) { } if (style == STYLE_BUTTON || style == STYLE_NATIVE_TEXTBUTTON) { label_->SetHorizontalAlignment(gfx::ALIGN_CENTER); - set_focusable(true); + SetFocusable(true); } if (style == STYLE_BUTTON) set_min_size(gfx::Size(70, 33)); diff --git a/ui/views/controls/button/text_button.h b/ui/views/controls/button/text_button.h index 18d2ba2..4dc6157 100644 --- a/ui/views/controls/button/text_button.h +++ b/ui/views/controls/button/text_button.h @@ -49,7 +49,7 @@ class VIEWS_EXPORT TextButtonBorder : public Border { // the button frame in the hot/pushed states. // // Note that this type of button is not focusable by default and will not be -// part of the focus chain. Call set_focusable(true) to make it part of the +// part of the focus chain. Call SetFocusable(true) to make it part of the // focus chain. class VIEWS_EXPORT TextButtonDefaultBorder : public TextButtonBorder { public: |