Home | History | Annotate | Download | only in layers

Lines Matching defs:child1

197   scoped_refptr<Layer> child1 = Layer::Create();
213 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child1, 0));
215 EXPECT_EQ(child1, parent->children()[0]);
217 EXPECT_EQ(parent.get(), child1->parent());
222 EXPECT_EQ(child1, parent->children()[0]);
231 EXPECT_EQ(child1, parent->children()[0]);
242 scoped_refptr<Layer> child1 = Layer::Create();
248 parent->InsertChild(child1, 53);
251 EXPECT_EQ(child1, parent->children()[0]);
257 EXPECT_EQ(child1, parent->children()[0]);
263 scoped_refptr<Layer> child1 = Layer::Create();
270 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child1, 0));
274 EXPECT_EQ(child1, parent->children()[0]);
279 EXPECT_SET_NEEDS_FULL_TREE_SYNC(AtLeast(1), parent->InsertChild(child1, 1));
281 // child1 should now be at the end of the list.
284 EXPECT_EQ(child1, parent->children()[1]);
365 scoped_refptr<Layer> child1 = Layer::Create();
369 new_children.push_back(child1);
372 // Set up and verify initial test conditions: child1 has a parent, child2 has
374 old_parent->AddChild(child1);
376 EXPECT_EQ(old_parent.get(), child1->parent());
386 EXPECT_EQ(new_parent.get(), child1->parent());
432 // |child1| and its children, grand_child1 and grand_child2 are now on a
456 // |grand_child3| gets orphaned and the child1 subtree gets planted back into