Home | History | Annotate | Download | only in aura

Lines Matching refs:w111

260   scoped_ptr<Window> w111(CreateTestWindowWithId(111, w11.get()));
265 EXPECT_EQ(w111.get(), w1->GetChildById(111));
328 scoped_ptr<Window> w111(
331 CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get()));
343 w111->MoveCursorTo(gfx::Point(10, 10));
438 scoped_ptr<Window> w111(
441 CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get()));
459 w111->SetTransform(transform);
533 scoped_ptr<Window> w111(
536 CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get()));
550 EXPECT_EQ(w111.get(), root->GetEventHandlerForPoint(gfx::Point(21, 21)));
631 scoped_ptr<Window> w111(CreateTestWindowWithId(111, w11.get()));
633 CreateTestWindowWithDelegate(&delegate, 1111, kBounds, w111.get()));
638 EXPECT_EQ(w11.get(), w111->GetToplevelWindow());
1400 // Creates a window with a delegate (w111) that can handle events at a lower
1412 scoped_ptr<Window> w111(CreateTestWindowWithDelegate(&d111, 111,
1417 gfx::Point target_point = w111->bounds().CenterPoint();
1418 EXPECT_EQ(w111.get(), w1->GetEventHandlerForPoint(target_point));
1518 scoped_ptr<Window> w111(CreateTestWindowWithDelegate(&d111, 111,
1534 EXPECT_EQ(w111.get(), w1->GetEventHandlerForPoint(gfx::Point(160, 160)));
1535 w111->set_ignore_events(true);
2564 Window* w111 = new Window(NULL);
2565 w111->Init(ui::LAYER_NOT_DRAWN);
2566 w111->AddObserver(&observer);
2567 w11->AddChild(w111);
2576 w1.reset(); // Deletes w11 and w111.
2578 w111 = NULL;
2962 Window* w111 = CreateTestWindowWithId(111, w11);
2968 w111->AddObserver(&o);
2984 params.receiver = w111;
2997 params.receiver = w111;
3094 // w111 5,6
3112 Window* w111 = new Window(NULL);
3113 w111->InitWithWindowLayerType(WINDOW_LAYER_NOT_DRAWN);
3114 w111->SetBounds(gfx::Rect(5, 6, 100, 100));
3115 w11ll->AddChild(w111);
3130 EXPECT_EQ(root.layer(), w111->layer()->parent());
3137 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
3143 EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString());
3149 EXPECT_TRUE(w111->layer()->parent() == NULL);
3155 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
3161 EXPECT_EQ("5,6 100x100", w111->layer()->bounds().ToString());
3174 // w111 5,6
3192 Window* w111 = new Window(NULL);
3193 w111->InitWithWindowLayerType(WINDOW_LAYER_NOT_DRAWN);
3194 w111->SetBounds(gfx::Rect(5, 6, 100, 100));
3195 w11ll->AddChild(w111);
3209 w111->SetBounds(gfx::Rect(7, 8, 11, 12));
3210 EXPECT_EQ("7,8 11x12", w111->bounds().ToString());
3211 EXPECT_EQ("7,8 11x12", w111->GetTargetBounds().ToString());
3212 EXPECT_EQ("11,14 11x12", w111->layer()->bounds().ToString());
3215 w111->SetBounds(gfx::Rect(5, 6, 100, 100));
3216 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
3217 EXPECT_EQ("5,6 100x100", w111->GetTargetBounds().ToString());
3218 EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString());
3225 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
3226 EXPECT_EQ("5,6 100x100", w111->GetTargetBounds().ToString());
3227 EXPECT_EQ("11,14 100x100", w111->layer()->bounds().ToString());
3231 w111->SetBounds(gfx::Rect(7, 8, 11, 12));
3232 EXPECT_EQ("7,8 11x12", w111->bounds().ToString());
3233 EXPECT_EQ("7,8 11x12", w111->GetTargetBounds().ToString());
3234 EXPECT_EQ("7,8 11x12", w111->layer()->bounds().ToString());
3286 w111 5,6
3309 Window* w111 = new Window(&w111_delegate);
3310 w111->InitWithWindowLayerType(WINDOW_LAYER_NOT_DRAWN);
3311 w111->SetBounds(gfx::Rect(5, 6, 100, 100));
3312 w111->Show();
3313 w11ll->AddChild(w111);
3356 // w111 5,6
3374 Window* w111 = new Window(NULL);
3375 w111->InitWithWindowLayerType(WINDOW_LAYER_NOT_DRAWN);
3376 w111->SetBounds(gfx::Rect(5, 6, 100, 100));
3377 w11ll->AddChild(w111);
3391 // w111->w11ll
3392 EXPECT_EQ("5,6", ConvertPointToTargetString(w111, w11ll));
3394 // w111->w1ll
3395 EXPECT_EQ("8,10", ConvertPointToTargetString(w111, w1ll));
3397 // w111->root
3398 EXPECT_EQ("9,12", ConvertPointToTargetString(w111, &root));
3400 // w111->w12
3401 EXPECT_EQ("1,2", ConvertPointToTargetString(w111, w12));
3403 // w111->w121
3404 EXPECT_EQ("-8,-8", ConvertPointToTargetString(w111, w121));
3406 // w11ll->w111
3407 EXPECT_EQ("-5,-6", ConvertPointToTargetString(w11ll, w111));