/external/chromium_org/ui/views/widget/ |
D | widget_interactive_uitest.cc | 202 Widget widget1; in TEST_F() local 207 init_params.native_widget = new DesktopNativeWidgetAura(&widget1); in TEST_F() 208 widget1.Init(init_params); in TEST_F() 209 widget1.SetContentsView(contents_view1); in TEST_F() 210 widget1.Show(); in TEST_F() 211 aura::Window* root_window1= widget1.GetNativeView()->GetRootWindow(); in TEST_F() 218 EXPECT_EQ(activation_client1->GetActiveWindow(), widget1.GetNativeView()); in TEST_F() 250 EXPECT_EQ(activation_client1->GetActiveWindow(), widget1.GetNativeView()); in TEST_F() 492 Widget* widget1 = CreateTopLevelPlatformWidget(); in TEST_F() local 495 widget1->GetContentsView()->AddChildView(view1); in TEST_F() [all …]
|
/external/chromium_org/ui/views/corewm/ |
D | desktop_capture_controller_unittest.cc | 116 scoped_ptr<Widget> widget1(new Widget()); in TEST_F() local 124 widget1->Init(params); in TEST_F() 126 static_cast<internal::RootView*>(widget1->GetRootView()); in TEST_F() 131 widget1->GetNativeView()->GetRootWindow(), in TEST_F() 137 widget1->Show(); in TEST_F() 160 EXPECT_FALSE(widget1->GetNativeView()->HasCapture()); in TEST_F() 165 widget1->GetNativeView()->SetCapture(); in TEST_F() 166 EXPECT_TRUE(widget1->GetNativeView()->HasCapture()); in TEST_F() 168 EXPECT_EQ(capture_client->GetCaptureWindow(), widget1->GetNativeView()); in TEST_F() 186 EXPECT_FALSE(widget1->GetNativeView()->HasCapture()); in TEST_F() [all …]
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
D | desktop_screen_position_client_unittest.cc | 36 Widget widget1; in TEST_F() local 44 widget1.set_frame_type(Widget::FRAME_TYPE_FORCE_CUSTOM); in TEST_F() 55 params1.native_widget = new DesktopNativeWidgetAura(&widget1); in TEST_F() 56 widget1.Init(params1); in TEST_F() 61 params2.parent = widget1.GetNativeView(); in TEST_F()
|
D | desktop_window_tree_host_x11_interactive_uitest.cc | 184 scoped_ptr<Widget> widget1(CreateWidget(gfx::Rect(100, 100, 100, 100))); in TEST_F() local 185 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() 188 widget1->Show(); in TEST_F() 213 widget1->SetCapture(NULL); in TEST_F() 245 point_in_screen = widget1->GetWindowBoundsInScreen().CenterPoint(); in TEST_F()
|
D | x11_topmost_window_finder_interactive_uitest.cc | 233 scoped_ptr<Widget> widget1( in TEST_F() local 235 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() 284 scoped_ptr<Widget> widget1( in TEST_F() local 286 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() 323 scoped_ptr<Widget> widget1( in TEST_F() local 325 XID xid1 = widget1->GetNativeWindow()->GetHost()->GetAcceleratedWidget(); in TEST_F() 330 widget1->SetShape(skregion1); in TEST_F()
|
D | desktop_window_tree_host_x11_unittest.cc | 226 scoped_ptr<Widget> widget1 = CreateWidget(new ShapedWidgetDelegate()); in TEST_F() local 227 widget1->Show(); in TEST_F() 230 XID xid1 = widget1->GetNativeWindow()->GetHost()->GetAcceleratedWidget(); in TEST_F() 236 int widget_width = widget1->GetWindowBoundsInScreen().width(); in TEST_F() 243 widget1->SetBounds(gfx::Rect(100, 100, 200, 200)); in TEST_F() 246 if (widget1->GetWindowBoundsInScreen().width() == 200) { in TEST_F() 262 widget1->Maximize(); in TEST_F()
|
/external/chromium_org/ash/wm/ |
D | window_positioner_unittest.cc | 73 views::Widget* widget1 = in TEST_F() local 75 gfx::Rect bounds = widget1->GetWindowBoundsInScreen(); in TEST_F() 79 EXPECT_FALSE(widget1->IsMaximized()); in TEST_F() 81 widget1->Maximize(); in TEST_F() 84 bounds = widget1->GetWindowBoundsInScreen(); in TEST_F() 85 EXPECT_TRUE(widget1->IsMaximized()); in TEST_F()
|
/external/chromium_org/ash/tooltips/ |
D | tooltip_controller_unittest.cc | 135 scoped_ptr<views::Widget> widget1(CreateNewWidgetWithBoundsOn( in TEST_F() local 138 AddViewToWidgetAndResize(widget1.get(), view1); in TEST_F() 140 EXPECT_EQ(widget1->GetNativeView()->GetRootWindow(), root_windows[0]); in TEST_F() 170 generator1.MoveMouseRelativeTo(widget1->GetNativeView(), in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | mode_indicator_browsertest.cc | 209 const views::Widget* widget1 = observer.widget_list()[0]; in IN_PROC_BROWSER_TEST_F() local 219 EXPECT_NE(widget1, widget2); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/ash/drag_drop/ |
D | drag_drop_controller_unittest.cc | 508 scoped_ptr<views::Widget> widget1(CreateNewWidget()); in TEST_F() local 510 AddViewToWidgetAndResize(widget1.get(), drag_view1); in TEST_F() 514 gfx::Rect widget1_bounds = widget1->GetClientAreaBoundsInScreen(); in TEST_F() 523 widget1->GetNativeView()); in TEST_F() 862 scoped_ptr<views::Widget> widget1(CreateNewWidget()); in TEST_F() local 864 AddViewToWidgetAndResize(widget1.get(), drag_view1); in TEST_F() 868 gfx::Rect widget1_bounds = widget1->GetClientAreaBoundsInScreen(); in TEST_F() 877 widget1->GetNativeView()); in TEST_F()
|
/external/chromium_org/ui/views/focus/ |
D | focus_manager_unittest.cc | 135 scoped_ptr<Widget> widget1(new Widget); in TEST_F() local 136 widget1->Init(params); in TEST_F() 137 widget1->Show(); in TEST_F() 144 gfx::NativeView native_view1 = widget1->GetNativeView(); in TEST_F()
|
/external/chromium_org/ash/wm/overview/ |
D | window_selector_unittest.cc | 1018 scoped_ptr<views::Widget> widget1(CreatePanelWindowWidget( in TEST_F() local 1022 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() 1035 EXPECT_FALSE(widget1->IsClosed()); in TEST_F() 1037 EXPECT_TRUE(widget1->IsClosed()); in TEST_F()
|
/external/chromium_org/ash/ |
D | extended_desktop_unittest.cc | 843 views::Widget* widget1 = CreateTestWidget( in TEST_F() local 845 widget1->Show(); in TEST_F() 846 EXPECT_EQ(root_windows[0], widget1->GetNativeView()->GetRootWindow()); in TEST_F()
|