Searched refs:child_params (Results 1 – 7 of 7) sorted by relevance
35 Widget::InitParams child_params = in TEST_F() local37 child_params.parent = toplevel->GetNativeView(); in TEST_F()39 child_params.native_widget = new NativeWidgetAura(child); in TEST_F()40 child->Init(child_params); in TEST_F()
65 Widget::InitParams child_params = in CreateChildPlatformWidget() local67 child_params.native_widget = CreatePlatformNativeWidget(child); in CreateChildPlatformWidget()68 child_params.parent = parent_native_view; in CreateChildPlatformWidget()69 child->Init(child_params); in CreateChildPlatformWidget()
51 Widget::InitParams child_params(Widget::InitParams::TYPE_CONTROL); in CreateHost() local52 child_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateHost()53 child_params.parent = toplevel_->GetNativeView(); in CreateHost()54 child_->Init(child_params); in CreateHost()
39 Widget::InitParams child_params(Widget::InitParams::TYPE_CONTROL); in CreateChildForHost() local40 child_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateChildForHost()41 child_params.parent = native_parent_view; in CreateChildForHost()42 child->Init(child_params); in CreateChildForHost()
363 Widget::InitParams child_params(Widget::InitParams::TYPE_CONTROL); in TEST_F() local364 child_params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()365 child_params.parent = parent->GetNativeWindow(); in TEST_F()366 child->Init(child_params); in TEST_F()
1849 Widget::InitParams child_params = in RunDestroyChildWidgetsTest() local1851 child_params.parent = top_level->GetNativeView(); in RunDestroyChildWidgetsTest()1854 child_params.native_widget = new PlatformDesktopNativeWidget(child); in RunDestroyChildWidgetsTest()1856 child->Init(child_params); in RunDestroyChildWidgetsTest()2268 Widget::InitParams child_params = in TEST_F() local2270 child_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()2271 child_params.context = parent_widget.GetNativeView(); in TEST_F()2272 child_widget.Init(child_params); in TEST_F()
1911 Widget::InitParams child_params(Widget::InitParams::TYPE_CONTROL); in TEST_F() local1912 child_params.parent = toplevel1->GetNativeView(); in TEST_F()1913 child->Init(child_params); in TEST_F()