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

Unified Diff: chrome/browser/ui/views/infobars/infobar_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
Index: chrome/browser/ui/views/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index f75d3d3da4bbf7d95a10149280cd2c35c1915036..5b81098f39bc679cac87c445c46a2b6a153e4711 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -97,7 +97,7 @@ views::Link* InfoBarView::CreateLink(const base::string16& text,
link->SetHorizontalAlignment(gfx::ALIGN_LEFT);
link->set_listener(listener);
link->SetBackgroundColor(background()->get_color());
- link->set_focusable(true);
+ link->SetFocusable(true);
return link;
}
@@ -127,7 +127,7 @@ views::MenuButton* InfoBarView::CreateMenuButton(
menu_button->SetEnabledColor(SK_ColorBLACK);
menu_button->SetHoverColor(SK_ColorBLACK);
menu_button->SetFont(rb.GetFont(ui::ResourceBundle::MediumFont));
- menu_button->set_focusable(true);
+ menu_button->SetFocusable(true);
return menu_button;
}
@@ -183,7 +183,7 @@ views::LabelButton* InfoBarView::CreateLabelButton(
}
}
#endif
- label_button->set_focusable(true);
+ label_button->SetFocusable(true);
return label_button;
}
@@ -271,7 +271,7 @@ void InfoBarView::ViewHierarchyChanged(
rb.GetImageNamed(IDR_CLOSE_1_P).ToImageSkia());
close_button_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE));
- close_button_->set_focusable(true);
+ close_button_->SetFocusable(true);
AddChildView(close_button_);
} else if ((close_button_ != NULL) && (details.parent == this) &&
(details.child != close_button_) && (close_button_->parent() == this) &&
« no previous file with comments | « chrome/browser/ui/views/infobars/extension_infobar.cc ('k') | chrome/browser/ui/views/location_bar/bubble_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698