Home
last modified time | relevance | path

Searched refs:InitParams (Results 1 – 25 of 186) sorted by relevance

12345678

/external/chromium_org/ui/views/widget/
Dwidget_aura_utils.cc12 Widget::InitParams::Type type) { in GetAuraWindowTypeForWidgetType()
14 case Widget::InitParams::TYPE_WINDOW: in GetAuraWindowTypeForWidgetType()
16 case Widget::InitParams::TYPE_PANEL: in GetAuraWindowTypeForWidgetType()
18 case Widget::InitParams::TYPE_CONTROL: in GetAuraWindowTypeForWidgetType()
20 case Widget::InitParams::TYPE_WINDOW_FRAMELESS: in GetAuraWindowTypeForWidgetType()
21 case Widget::InitParams::TYPE_POPUP: in GetAuraWindowTypeForWidgetType()
22 case Widget::InitParams::TYPE_BUBBLE: in GetAuraWindowTypeForWidgetType()
23 case Widget::InitParams::TYPE_DRAG: in GetAuraWindowTypeForWidgetType()
25 case Widget::InitParams::TYPE_MENU: in GetAuraWindowTypeForWidgetType()
27 case Widget::InitParams::TYPE_TOOLTIP: in GetAuraWindowTypeForWidgetType()
Dwidget_hwnd_utils.cc25 const Widget::InitParams& params, in CalculateWindowStylesFromInitParams()
64 if (params.opacity == Widget::InitParams::TRANSLUCENT_WINDOW) { in CalculateWindowStylesFromInitParams()
79 case Widget::InitParams::TYPE_PANEL: in CalculateWindowStylesFromInitParams()
86 case Widget::InitParams::TYPE_WINDOW: { in CalculateWindowStylesFromInitParams()
116 case Widget::InitParams::TYPE_CONTROL: in CalculateWindowStylesFromInitParams()
119 case Widget::InitParams::TYPE_WINDOW_FRAMELESS: in CalculateWindowStylesFromInitParams()
122 case Widget::InitParams::TYPE_BUBBLE: in CalculateWindowStylesFromInitParams()
126 case Widget::InitParams::TYPE_POPUP: in CalculateWindowStylesFromInitParams()
130 case Widget::InitParams::TYPE_MENU: in CalculateWindowStylesFromInitParams()
147 const Widget::InitParams& params, in ConfigureWindowStyles()
Dnative_widget_aura_unittest.cc28 Widget::InitParams params(Widget::InitParams::TYPE_POPUP); in Init()
29 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in Init()
173 Widget::InitParams params(Widget::InitParams::TYPE_WINDOW); in TEST_F()
174 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
186 Widget::InitParams params(Widget::InitParams::TYPE_WINDOW); in TEST_F()
187 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
251 Widget::InitParams params(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
252 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
287 Widget::InitParams params(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
288 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
[all …]
Dwidget_unittest.cc178 Widget::InitParams init1; in TEST_F()
179 EXPECT_EQ(Widget::InitParams::INFER_OPACITY, init1.opacity); in TEST_F()
182 Widget::InitParams init2(Widget::InitParams::TYPE_MENU); in TEST_F()
183 EXPECT_EQ(Widget::InitParams::INFER_OPACITY, init2.opacity); in TEST_F()
187 Widget::InitParams init3; in TEST_F()
188 EXPECT_EQ(Widget::InitParams::TRANSLUCENT_WINDOW, init3.opacity); in TEST_F()
191 Widget::InitParams init4(Widget::InitParams::TYPE_MENU); in TEST_F()
192 EXPECT_EQ(Widget::InitParams::INFER_OPACITY, init4.opacity); in TEST_F()
382 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
385 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
[all …]
Dwidget_interactive_uitest.cc167 Widget::InitParams init_params = in TEST_F()
168 CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
170 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
187 Widget::InitParams init_params2 = in TEST_F()
188 CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
190 init_params2.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
478 Widget::InitParams init_params = in TEST_F()
479 CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
480 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
535 Widget::InitParams init_params = in TEST_F()
[all …]
Dnative_widget_unittest.cc41 Widget::InitParams::Type type) { in CreateNativeWidgetOfType()
43 Widget::InitParams params = CreateParams(type); in CreateNativeWidgetOfType()
44 params.ownership = views::Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET; in CreateNativeWidgetOfType()
52 return CreateNativeWidgetOfType(Widget::InitParams::TYPE_POPUP); in CreateNativeWidget()
56 return CreateNativeWidgetOfType(Widget::InitParams::TYPE_CONTROL); in CreateNativeSubWidget()
Dwidget.cc73 DefaultWidgetDelegate(Widget* widget, const Widget::InitParams& params) in DefaultWidgetDelegate()
76 params.type != Widget::InitParams::TYPE_POPUP && in DefaultWidgetDelegate()
77 params.type != Widget::InitParams::TYPE_DRAG) { in DefaultWidgetDelegate()
111 Widget::InitParams::InitParams() in InitParams() function in views::Widget::InitParams
136 Widget::InitParams::InitParams(Type type) in InitParams() function in views::Widget::InitParams
163 Widget::InitParams::~InitParams() { in ~InitParams()
174 ownership_(InitParams::NATIVE_WIDGET_OWNS_WIDGET), in Widget()
194 if (ownership_ == InitParams::WIDGET_OWNS_NATIVE_WIDGET) { in ~Widget()
212 Widget::InitParams params; in CreateWindowWithBounds()
231 Widget::InitParams params; in CreateWindowWithParentAndBounds()
[all …]
Droot_view_unittest.cc34 Widget::InitParams init_params = in TEST_F()
35 CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
36 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_screen_position_client_unittest.cc18 Widget::InitParams init_params = in TEST_F()
19 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
21 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
55 Widget::InitParams params1 = in TEST_F()
56 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
58 params1.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
62 Widget::InitParams params2 = in TEST_F()
63 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
66 params2.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
70 Widget::InitParams params3 = in TEST_F()
[all …]
Ddesktop_native_widget_aura_unittest.cc22 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
25 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
34 Widget::InitParams init_params = in TEST_F()
35 CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in TEST_F()
36 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
63 Widget::InitParams init_params = in TEST_F()
64 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
65 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
80 Widget::InitParams init_params = in TEST_F()
81 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
[all …]
Ddesktop_root_window_host_win_unittest.cc44 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
46 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/ui/views/test/
Dwidget_test.cc47 Widget::InitParams toplevel_params = in CreateTopLevelPlatformWidget()
48 CreateParams(Widget::InitParams::TYPE_WINDOW); in CreateTopLevelPlatformWidget()
56 Widget::InitParams toplevel_params = in CreateTopLevelFramelessPlatformWidget()
57 CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS); in CreateTopLevelFramelessPlatformWidget()
66 Widget::InitParams child_params = in CreateChildPlatformWidget()
67 CreateParams(Widget::InitParams::TYPE_CONTROL); in CreateChildPlatformWidget()
81 Widget::InitParams child_params = in CreateChildPopupPlatformWidget()
82 CreateParams(Widget::InitParams::TYPE_POPUP); in CreateChildPopupPlatformWidget()
94 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_WINDOW); in CreateTopLevelNativeWidget()
101 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_CONTROL); in CreateChildNativeWidgetWithParent()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc21 Widget::InitParams init_params = in TEST_F()
22 CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
23 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
72 Widget::InitParams init_params = in TEST_F()
73 CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
74 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
97 Widget::InitParams init_params = in TEST_F()
98 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
99 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
110 Widget::InitParams owned_init_params = in TEST_F()
[all …]
/external/chromium_org/ui/views/
Daccessible_pane_view_unittest.cc77 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
78 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
108 Widget::InitParams params_main = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
109 params_main.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
121 Widget::InitParams params_bar = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
122 params_bar.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
154 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
155 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
184 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
185 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host_aura_unittest.cc38 Widget::InitParams toplevel_params = in CreateHost()
39 CreateParams(Widget::InitParams::TYPE_WINDOW); in CreateHost()
40 toplevel_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateHost()
46 Widget::InitParams child_params(Widget::InitParams::TYPE_CONTROL); in CreateHost()
47 child_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateHost()
/external/chromium_org/ash/
Dshell_unittest.cc145 views::Widget* CreateTestWindow(views::Widget::InitParams params) { in CreateTestWindow()
152 void TestCreateWindow(views::Widget::InitParams::Type type, in TestCreateWindow()
155 views::Widget::InitParams widget_params(type); in TestCreateWindow()
177 views::Widget::InitParams widget_params( in LockScreenAndVerifyMenuClosed()
178 views::Widget::InitParams::TYPE_WINDOW); in LockScreenAndVerifyMenuClosed()
204 TestCreateWindow(views::Widget::InitParams::TYPE_WINDOW, in TEST_F()
207 TestCreateWindow(views::Widget::InitParams::TYPE_POPUP, in TEST_F()
212 TestCreateWindow(views::Widget::InitParams::TYPE_WINDOW, in TEST_F()
215 TestCreateWindow(views::Widget::InitParams::TYPE_POPUP, in TEST_F()
221 views::Widget::InitParams widget_params( in TEST_F()
[all …]
/external/chromium_org/ui/views/controls/
Dmessage_box_view.h44 struct VIEWS_EXPORT InitParams { struct
45 explicit InitParams(const string16& message);
46 ~InitParams();
55 explicit MessageBoxView(const InitParams& params); argument
98 void Init(const InitParams& params);
/external/chromium_org/ui/views/corewm/
Ddesktop_capture_controller_unittest.cc54 views::Widget::InitParams params; in CreateWidget()
55 params.type = views::Widget::InitParams::TYPE_WINDOW_FRAMELESS; in CreateWidget()
57 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateWidget()
95 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
100 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
118 params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
119 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/ui/views/ime/
Dinput_method_bridge_unittest.cc28 Widget::InitParams toplevel_params = in TEST_F()
29 CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
35 Widget::InitParams child_params = in TEST_F()
36 CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
/external/chromium_org/ash/shelf/
Dshelf_tooltip_manager_unittest.cc93 views::Widget::InitParams params( in CreateWidget()
94 views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); in CreateWidget()
95 params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW; in CreateWidget()
96 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in CreateWidget()
125 views::Widget::InitParams params(views::Widget::InitParams::TYPE_WINDOW); in TEST_F()
126 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
151 views::Widget::InitParams params(views::Widget::InitParams::TYPE_WINDOW); in TEST_F()
/external/chromium_org/ui/views/examples/
Dwidget_example.cc86 void WidgetExample::ShowWidget(View* sender, Widget::InitParams params) { in ShowWidget()
110 ShowWidget(sender, Widget::InitParams(Widget::InitParams::TYPE_POPUP)); in ButtonPressed()
118 ShowWidget(sender, Widget::InitParams(Widget::InitParams::TYPE_CONTROL)); in ButtonPressed()
/external/chromium_org/ui/views/controls/button/
Dcustom_button_unittest.cc60 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
61 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
127 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_POPUP); in TEST_F()
128 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dconfirm_bubble_views_unittest.cc20 Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_WINDOW); in TEST_F()
21 params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dlock_window_aura.cc47 views::Widget::InitParams params( in Init()
48 views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); in Init()
50 params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW; in Init()
/external/chromium_org/ui/views/bubble/
Dtray_bubble_view.h90 struct VIEWS_EXPORT InitParams { struct
93 InitParams(AnchorType anchor_type, argument
117 InitParams* init_params); argument
173 const InitParams& init_params);
184 InitParams params_;

12345678