Home | History | Annotate | Download | only in ash

Lines Matching full:aura

18 #include "ui/aura/client/capture_client.h"
19 #include "ui/aura/client/focus_client.h"
20 #include "ui/aura/test/event_generator.h"
21 #include "ui/aura/test/test_windows.h"
22 #include "ui/aura/test/window_test_api.h"
23 #include "ui/aura/window.h"
24 #include "ui/aura/window_event_dispatcher.h"
66 explicit MoveWindowByClickEventHandler(aura::Window* target)
74 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
80 aura::Window* target_;
160 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
164 for (aura::Window::Windows::const_iterator iter = root_windows.begin();
169 EXPECT_EQ(aura::client::GetFocusClient(root_windows[0]),
170 aura::client::GetFocusClient(root_windows[1]));
171 EXPECT_EQ(aura::client::GetActivationClient(root_windows[0]),
172 aura::client::GetActivationClient(root_windows[1]));
173 EXPECT_EQ(aura::client::GetCaptureClient(root_windows[0]),
174 aura::client::GetCaptureClient(root_windows[1]));
182 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
191 aura::client::GetFocusClient(root_windows[0])->GetFocusedWindow());
194 aura::test::EventGenerator& event_generator(GetEventGenerator());
200 aura::client::GetFocusClient(root_windows[0])->GetFocusedWindow());
207 aura::client::GetFocusClient(root_windows[0])->GetFocusedWindow());
216 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
233 aura::test::EventGenerator& event_generator(GetEventGenerator());
254 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
255 aura::WindowTreeHost* host0 = root_windows[0]->GetHost();
256 aura::WindowTreeHost* host1 = root_windows[1]->GetHost();
269 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
270 aura::test::WindowTestApi root_window0_test_api(root_windows[0]);
271 aura::test::WindowTestApi root_window1_test_api(root_windows[1]);
293 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
315 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
353 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
355 aura::test::EventCountDelegate r1_d1;
356 aura::test::EventCountDelegate r1_d2;
357 aura::test::EventCountDelegate r2_d1;
359 scoped_ptr<aura::Window> r1_w1(aura::test::CreateTestWindowWithDelegate(
361 scoped_ptr<aura::Window> r1_w2(aura::test::CreateTestWindowWithDelegate(
363 scoped_ptr<aura::Window> r2_w1(aura::test::CreateTestWindowWithDelegate(
369 aura::client::GetCaptureWindow(r2_w1->GetRootWindow()));
371 aura::test::EventGenerator& generator = GetEventGenerator();
393 aura::client::GetCaptureWindow(r2_w1->GetRootWindow()));
407 EXPECT_EQ(NULL, aura::client::GetCaptureWindow(r2_w1->GetRootWindow()));
423 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
461 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
462 aura::test::EventCountDelegate delegate;
463 scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
468 aura::test::EventGenerator& event_generator(GetEventGenerator());
483 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
515 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
569 // TODO(oshima): Move multiple display suport and this test to aura.
575 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
581 aura::Window* d1 =
583 aura::Window* d2 =
590 aura::Window::ConvertPointToTarget(root_windows[1], root_windows[0], &p);
593 aura::Window::ConvertPointToTarget(d2, d1, &p);
598 aura::Window::ConvertPointToTarget(root_windows[0], root_windows[1], &p);
601 aura::Window::ConvertPointToTarget(d1, d2, &p);
612 aura::Window::ConvertPointToTarget(root_windows[1], root_windows[0], &p);
615 aura::Window::ConvertPointToTarget(d2, d1, &p);
620 aura::Window::ConvertPointToTarget(root_windows[0], root_windows[1], &p);
623 aura::Window::ConvertPointToTarget(d1, d2, &p);
635 aura::test::EventGenerator& event_generator(GetEventGenerator());
666 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
685 aura::Window* settings_bubble_container =
688 aura::Window* window = aura::test::CreateTestWindowWithId(
694 aura::Window* status_container =
697 window = aura::test::CreateTestWindowWithId(100, status_container);
708 aura::Window::Windows root_windows = Shell::GetAllRootWindows();
732 aura::client::FocusClient* focus_client =
733 aura::client::GetFocusClient(root_windows[0]);
737 aura::test::EventGenerator& event_generator(GetEventGenerator());
788 aura::test::EventGenerator& generator(GetEventGenerator());