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

Unified Diff: chrome/browser/ui/views/fullscreen_exit_bubble_views.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/fullscreen_exit_bubble_views.cc
diff --git a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
index d8b43df45fa48270dcc549d780d21c58131cf6cb..ec7c5c2fd1479c9dc95a4737aa58453d0612b7bb 100644
--- a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
+++ b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
@@ -66,12 +66,12 @@ ButtonView::ButtonView(views::ButtonListener* listener,
deny_button_(NULL) {
accept_button_ = new views::LabelButton(listener, base::string16());
accept_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
- accept_button_->set_focusable(false);
+ accept_button_->SetFocusable(false);
AddChildView(accept_button_);
deny_button_ = new views::LabelButton(listener, base::string16());
deny_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
- deny_button_->set_focusable(false);
+ deny_button_->SetFocusable(false);
AddChildView(deny_button_);
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0,
@@ -138,7 +138,7 @@ FullscreenExitBubbleViews::FullscreenExitView::FullscreenExitView(
SK_ColorWHITE);
set_background(new views::BubbleBackground(bubble_border));
set_border(bubble_border);
- set_focusable(false);
+ SetFocusable(false);
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
message_label_ = new views::Label();
@@ -152,7 +152,7 @@ FullscreenExitBubbleViews::FullscreenExitView::FullscreenExitView(
link_ = new views::Link();
link_->set_collapse_when_hidden(true);
- link_->set_focusable(false);
+ link_->SetFocusable(false);
#if defined(OS_CHROMEOS)
// On CrOS, the link text doesn't change, since it doesn't show the shortcut.
link_->SetText(l10n_util::GetStringUTF16(IDS_EXIT_FULLSCREEN_MODE));
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/infobars/extension_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698