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

Unified Diff: ui/message_center/views/notifier_settings_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/message_center/views/notification_button.cc ('k') | ui/message_center/views/padded_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notifier_settings_view.cc
diff --git a/ui/message_center/views/notifier_settings_view.cc b/ui/message_center/views/notifier_settings_view.cc
index 399283b7b5b79c3db760a49e9b8b7483705946ad..e345d93e501545e5f11a7fb62ef101382741b0d2 100644
--- a/ui/message_center/views/notifier_settings_view.cc
+++ b/ui/message_center/views/notifier_settings_view.cc
@@ -306,7 +306,7 @@ NotifierSettingsView::NotifierButton::NotifierButton(
checkbox_->SetChecked(notifier_->enabled);
checkbox_->set_listener(this);
- checkbox_->set_focusable(false);
+ checkbox_->SetFocusable(false);
checkbox_->SetAccessibleName(notifier_->name);
if (ShouldHaveLearnMoreButton()) {
@@ -314,7 +314,7 @@ NotifierSettingsView::NotifierButton::NotifierButton(
learn_more_ = new views::ImageButton(this);
learn_more_->SetFocusPainter(CreateFocusPainter());
learn_more_->set_request_focus_on_press(false);
- learn_more_->set_focusable(true);
+ learn_more_->SetFocusable(true);
ui::ResourceBundle& rb = ResourceBundle::GetSharedInstance();
learn_more_->SetImage(
@@ -483,7 +483,7 @@ NotifierSettingsView::NotifierSettingsView(NotifierSettingsProvider* provider)
if (provider_)
provider_->AddObserver(this);
- set_focusable(true);
+ SetFocusable(true);
set_background(
views::Background::CreateSolidBackground(kMessageCenterBackgroundColor));
if (get_use_acceleration_when_possible())
@@ -601,7 +601,7 @@ void NotifierSettingsView::UpdateContentsView(
notifier_group_selector_->set_border(selector_border.release());
notifier_group_selector_->SetFocusPainter(scoped_ptr<views::Painter>());
notifier_group_selector_->set_animate_on_state_change(false);
- notifier_group_selector_->set_focusable(true);
+ notifier_group_selector_->SetFocusable(true);
contents_title_view->AddChildView(notifier_group_selector_);
}
@@ -627,7 +627,7 @@ void NotifierSettingsView::UpdateContentsView(
settings::kEntrySeparatorColor));
}
entry->set_border(entry_border.release());
- entry->set_focusable(true);
+ entry->SetFocusable(true);
contents_view->AddChildView(entry);
buttons_.insert(button);
}
« no previous file with comments | « ui/message_center/views/notification_button.cc ('k') | ui/message_center/views/padded_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698