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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_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/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 9b24d4234f8dcfff0d55bb494aceec43c915639a..4b80b09a4ed5137de9816dbc52eb90f6f42fe538 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -278,7 +278,7 @@ void LocationBarView::Init() {
omnibox_view_ = new OmniboxViewViews(this, profile_, command_updater(),
is_popup_mode_, this, font_list);
omnibox_view_->Init();
- omnibox_view_->set_focusable(true);
+ omnibox_view_->SetFocusable(true);
AddChildView(omnibox_view_);
// Initialize the inline autocomplete view which is visible only when IME is
@@ -316,7 +316,7 @@ void LocationBarView::Init() {
mic_search_view_ = new views::ImageButton(this);
mic_search_view_->set_id(VIEW_ID_MIC_SEARCH_BUTTON);
- mic_search_view_->set_accessibility_focusable(true);
+ mic_search_view_->SetAccessibilityFocusable(true);
mic_search_view_->SetTooltipText(
l10n_util::GetStringUTF16(IDS_TOOLTIP_MIC_SEARCH));
mic_search_view_->SetImage(
@@ -369,7 +369,7 @@ void LocationBarView::Init() {
search_button_->set_triggerable_event_flags(
ui::EF_LEFT_MOUSE_BUTTON | ui::EF_MIDDLE_MOUSE_BUTTON);
search_button_->SetStyle(views::Button::STYLE_BUTTON);
- search_button_->set_focusable(false);
+ search_button_->SetFocusable(false);
search_button_->set_min_size(gfx::Size());
views::LabelButtonBorder* search_button_border =
static_cast<views::LabelButtonBorder*>(search_button_->border());

Powered by Google App Engine
This is Rietveld 408576698