Lines Matching refs:view1
72 SimpleTestView* view1 = new SimpleTestView(&event_list, kView1ID);
74 GetContentsView()->AddChildView(view1);
77 view1->RequestFocus();
98 View* view1 = new View();
99 view1->SetFocusable(true);
102 GetContentsView()->AddChildView(view1);
111 view1->RequestFocus();
113 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(null_view, view1));
118 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2));
889 View* view1 = new View;
890 view1->SetFocusable(true);
891 view1->SetBounds(0, 0, 20, 20);
895 child_widget.client_view()->AddChildView(view1);
903 EXPECT_EQ(view1, GetFocusManager()->GetFocusedView());
909 // And forward again, wrapping back to |view1|.
911 EXPECT_EQ(view1, GetFocusManager()->GetFocusedView());