Lines Matching refs:window1
1907 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
1909 ui::Layer* parent = window1->parent()->layer();
1912 WindowTestApi window1_test_api(window1.get());
1918 // After acquisition, window1 should not own its layer, but it should still
1920 scoped_ptr<ui::Layer> window1_layer(window1->AcquireLayer());
1922 EXPECT_TRUE(window1_layer.get() == window1->layer());
1927 scoped_ptr<ui::Layer> window1_layer_reacquired(window1->AcquireLayer());
1930 // Upon destruction, window1's layer should still be valid, and in the layer
1932 window1.reset();
1996 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
1997 window1->layer()->set_name("1");
2006 window1->layer()->set_delegate(NULL);