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

Unified Diff: chrome/browser/ui/views/toolbar/wrench_menu.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/toolbar/wrench_menu.cc
diff --git a/chrome/browser/ui/views/toolbar/wrench_menu.cc b/chrome/browser/ui/views/toolbar/wrench_menu.cc
index c6f833b024d5aeeafdc00c2194be3c8f9269d536..a82b5f272b63ea707ee02b348ede1e188cd04abc 100644
--- a/chrome/browser/ui/views/toolbar/wrench_menu.cc
+++ b/chrome/browser/ui/views/toolbar/wrench_menu.cc
@@ -391,7 +391,7 @@ class WrenchMenuView : public views::View,
l10n_util::GetStringUTF16(string_id), '&', NULL, NULL));
button->SetAccessibleName(
GetAccessibleNameForWrenchMenuItem(menu_model_, index, acc_string_id));
- button->set_focusable(true);
+ button->SetFocusable(true);
button->set_request_focus_on_press(false);
button->set_tag(index);
button->SetEnabled(menu_model_->IsEnabledAt(index));
@@ -664,7 +664,7 @@ class WrenchMenu::ZoomView : public WrenchMenuView {
disabled_text_color);
increment_button_->SetTextColor(views::Button::STATE_DISABLED,
disabled_text_color);
- fullscreen_button_->set_focusable(true);
+ fullscreen_button_->SetFocusable(true);
fullscreen_button_->set_request_focus_on_press(false);
fullscreen_button_->set_tag(fullscreen_index);
fullscreen_button_->SetImageAlignment(

Powered by Google App Engine
This is Rietveld 408576698