summaryrefslogtreecommitdiffstats
path: root/ash/wm
diff options
context:
space:
mode:
authormohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 14:07:19 +0000
committermohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 14:07:19 +0000
commit505df7b9b280d3acfa9fa66094d6a5906fa6e743 (patch)
treee0f3b4ca8e03699e7e388130a12d4aa2b0691e88 /ash/wm
parent71de10ee5b06eacf9ee72db449c15967878054b6 (diff)
downloadchromium_src-505df7b9b280d3acfa9fa66094d6a5906fa6e743.zip
chromium_src-505df7b9b280d3acfa9fa66094d6a5906fa6e743.tar.gz
chromium_src-505df7b9b280d3acfa9fa66094d6a5906fa6e743.tar.bz2
Rename View::set_focusable and View::set_accessibility_focusable
These functions are renamed to SetFocusable and SetAccessibilityFocusable, respectively, as a first step to add some functionality to them later. Later the view should give up focus if it has become unfocusable. BUG=323956 Review URL: https://codereview.chromium.org/103493005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm')
-rw-r--r--ash/wm/immersive_fullscreen_controller_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/wm/immersive_fullscreen_controller_unittest.cc b/ash/wm/immersive_fullscreen_controller_unittest.cc
index 94e3f01..7e50916 100644
--- a/ash/wm/immersive_fullscreen_controller_unittest.cc
+++ b/ash/wm/immersive_fullscreen_controller_unittest.cc
@@ -131,7 +131,7 @@ class ImmersiveFullscreenControllerTest : public ash::test::AshTestBase {
top_container_ = new views::View();
top_container_->SetBounds(
0, 0, widget_->GetWindowBoundsInScreen().width(), 100);
- top_container_->set_focusable(true);
+ top_container_->SetFocusable(true);
widget_->GetContentsView()->AddChildView(top_container_);
delegate_.reset(
@@ -684,11 +684,11 @@ TEST_F(ImmersiveFullscreenControllerTest, Focus) {
// test.
views::View* child_view = new views::View();
child_view->SetBounds(0, 0, 10, 10);
- child_view->set_focusable(true);
+ child_view->SetFocusable(true);
top_container()->AddChildView(child_view);
views::View* unrelated_view = new views::View();
unrelated_view->SetBounds(0, 100, 10, 10);
- unrelated_view->set_focusable(true);
+ unrelated_view->SetFocusable(true);
top_container()->parent()->AddChildView(unrelated_view);
views::FocusManager* focus_manager =
top_container()->GetWidget()->GetFocusManager();