Home
last modified time | relevance | path

Searched refs:init_params (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_native_widget_aura_unittest.cc34 Widget::InitParams init_params = in TEST_F() local
36 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
37 init_params.native_widget = new DesktopNativeWidgetAura(&widget); in TEST_F()
38 widget.Init(init_params); in TEST_F()
63 Widget::InitParams init_params = in TEST_F() local
65 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
66 init_params.native_widget = new DesktopNativeWidgetAura(&widget); in TEST_F()
67 widget.Init(init_params); in TEST_F()
80 Widget::InitParams init_params = in TEST_F() local
82 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
[all …]
Ddesktop_screen_position_client_unittest.cc18 Widget::InitParams init_params = in TEST_F() local
20 init_params.bounds = gfx::Rect(10, 11, 200, 200); in TEST_F()
21 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
22 init_params.native_widget = new DesktopNativeWidgetAura(&parent_widget); in TEST_F()
23 parent_widget.Init(init_params); in TEST_F()
Ddesktop_native_widget_aura.cc89 Widget::InitParams init_params; in CreateParentWindow() local
90 init_params.type = full_screen ? Widget::InitParams::TYPE_WINDOW : in CreateParentWindow()
92 init_params.bounds = bounds; in CreateParentWindow()
93 init_params.ownership = Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET; in CreateParentWindow()
94 init_params.layer_type = ui::LAYER_NOT_DRAWN; in CreateParentWindow()
95 init_params.can_activate = full_screen; in CreateParentWindow()
99 top_level_handler->top_level_widget_->Init(init_params); in CreateParentWindow()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc21 Widget::InitParams init_params = in TEST_F() local
23 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
24 widget.Init(init_params); in TEST_F()
72 Widget::InitParams init_params = in TEST_F() local
74 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
75 widget.Init(init_params); in TEST_F()
97 Widget::InitParams init_params = in TEST_F() local
99 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
100 widget.Init(init_params); in TEST_F()
/external/chromium_org/ui/message_center/views/
Dmessage_center_bubble.cc81 views::TrayBubbleView::InitParams init_params = in GetInitParams() local
83 init_params.min_width += kMarginBetweenItems * 2; in GetInitParams()
84 init_params.max_width += kMarginBetweenItems * 2; in GetInitParams()
85 init_params.max_height = max_height(); in GetInitParams()
86 init_params.can_activate = true; in GetInitParams()
87 init_params.first_item_has_no_margin = first_item_has_no_margin_; in GetInitParams()
88 return init_params; in GetInitParams()
Dmessage_bubble_base.cc71 views::TrayBubbleView::InitParams init_params( in GetDefaultInitParams() local
76 init_params.arrow_color = kBackgroundDarkColor; in GetDefaultInitParams()
77 return init_params; in GetDefaultInitParams()
/external/chromium_org/ui/views/bubble/
Dtray_bubble_view.cc295 InitParams* init_params) { in Create() argument
297 if (init_params->anchor_type == ANCHOR_TYPE_TRAY) { in Create()
298 if (init_params->anchor_alignment == ANCHOR_ALIGNMENT_BOTTOM) { in Create()
299 init_params->arrow = base::i18n::IsRTL() ? in Create()
301 } else if (init_params->anchor_alignment == ANCHOR_ALIGNMENT_TOP) { in Create()
302 init_params->arrow = BubbleBorder::TOP_LEFT; in Create()
303 } else if (init_params->anchor_alignment == ANCHOR_ALIGNMENT_LEFT) { in Create()
304 init_params->arrow = BubbleBorder::LEFT_BOTTOM; in Create()
306 init_params->arrow = BubbleBorder::RIGHT_BOTTOM; in Create()
309 init_params->arrow = BubbleBorder::NONE; in Create()
[all …]
Dtray_bubble_view.h117 InitParams* init_params);
173 const InitParams& init_params);
/external/chromium_org/ui/views/widget/
Dwidget_interactive_uitest.cc167 Widget::InitParams init_params = in TEST_F() local
169 init_params.bounds = gfx::Rect(0, 0, 200, 200); in TEST_F()
170 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
171 init_params.native_widget = new DesktopNativeWidgetAura(&widget1); in TEST_F()
172 widget1.Init(init_params); in TEST_F()
478 Widget::InitParams init_params = in TEST_F() local
480 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
482 init_params.native_widget = new DesktopNativeWidgetAura(&widget1); in TEST_F()
484 init_params.bounds = gfx::Rect(0, 0, 200, 200); in TEST_F()
485 widget1.Init(init_params); in TEST_F()
[all …]
Dwidget_unittest.cc957 Widget::InitParams init_params = in TEST_F() local
959 init_params.bounds = gfx::Rect(0, 0, 200, 200); in TEST_F()
960 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
962 init_params.native_widget = new DesktopNativeWidgetAura(&widget); in TEST_F()
964 widget.Init(init_params); in TEST_F()
994 Widget::InitParams init_params = in TEST_F() local
996 init_params.show_state = ui::SHOW_STATE_NORMAL; in TEST_F()
998 init_params.bounds = initial_bounds; in TEST_F()
999 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
1000 init_params.native_widget = new DesktopNativeWidgetAura(&widget); in TEST_F()
[all …]
Droot_view_unittest.cc34 Widget::InitParams init_params = in TEST_F() local
36 init_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; in TEST_F()
37 widget.Init(init_params); in TEST_F()
/external/chromium_org/ash/system/tray/
Dsystem_tray.cc89 TrayBubbleView::InitParams* init_params, in InitView() argument
94 bubble_->InitView(anchor, login_status, init_params); in InitView()
486 TrayBubbleView::InitParams init_params(TrayBubbleView::ANCHOR_TYPE_TRAY, in ShowItems() local
490 init_params.can_activate = can_activate; in ShowItems()
491 init_params.first_item_has_no_margin = in ShowItems()
496 init_params.max_height = default_bubble_height_; in ShowItems()
497 init_params.arrow_color = kBackgroundColor; in ShowItems()
499 init_params.arrow_color = kHeaderBackgroundColor; in ShowItems()
501 init_params.arrow_offset = arrow_offset; in ShowItems()
503 init_params.close_on_deactivate = !persistent; in ShowItems()
[all …]
Dsystem_tray_bubble.cc254 TrayBubbleView::InitParams* init_params) { in InitView() argument
258 init_params->max_height < kDetailedBubbleMaxHeight) { in InitView()
259 init_params->max_height = kDetailedBubbleMaxHeight; in InitView()
261 init_params->close_on_deactivate = false; in InitView()
264 tray_->GetBubbleWindowContainer(), anchor, tray_, init_params); in InitView()
Dsystem_tray_bubble.h44 views::TrayBubbleView::InitParams* init_params);
/external/chromium_org/content/common/gpu/client/
Dgpu_channel_host.cc133 GPUCreateCommandBufferConfig init_params; in CreateViewCommandBuffer() local
134 init_params.share_group_id = in CreateViewCommandBuffer()
136 init_params.attribs = attribs; in CreateViewCommandBuffer()
137 init_params.active_url = active_url; in CreateViewCommandBuffer()
138 init_params.gpu_preference = gpu_preference; in CreateViewCommandBuffer()
139 int32 route_id = factory_->CreateViewCommandBuffer(surface_id, init_params); in CreateViewCommandBuffer()
160 GPUCreateCommandBufferConfig init_params; in CreateOffscreenCommandBuffer() local
161 init_params.share_group_id = in CreateOffscreenCommandBuffer()
163 init_params.attribs = attribs; in CreateOffscreenCommandBuffer()
164 init_params.active_url = active_url; in CreateOffscreenCommandBuffer()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dgpu_message_filter.cc27 const GPUCreateCommandBufferConfig& init_params, in CreateViewCommandBufferRequest()
30 init_params(init_params), in CreateViewCommandBufferRequest()
34 GPUCreateCommandBufferConfig init_params; member
109 request->init_params, in SurfaceUpdated()
176 const GPUCreateCommandBufferConfig& init_params, in OnCreateViewCommandBuffer() argument
202 surface_id, init_params, reply.Pass())); in OnCreateViewCommandBuffer()
221 init_params, in OnCreateViewCommandBuffer()
/external/chromium_org/chrome/browser/ui/views/apps/
Dnative_app_window_views_win.cc37 views::Widget::InitParams* init_params, views::Widget* widget) { in OnBeforeWidgetInit() argument
55 init_params->context = ash::Shell::GetPrimaryRootWindow(); in OnBeforeWidgetInit()
57 init_params->native_widget = new views::DesktopNativeWidgetAura(widget); in OnBeforeWidgetInit()
Dnative_app_window_views.cc283 views::Widget::InitParams* init_params, in OnBeforeWidgetInit() argument
291 views::Widget::InitParams init_params(views::Widget::InitParams::TYPE_WINDOW); in InitializeDefaultWindow() local
292 init_params.delegate = this; in InitializeDefaultWindow()
293 init_params.remove_standard_frame = ShouldUseChromeStyleFrame(); in InitializeDefaultWindow()
294 init_params.use_system_default_icon = true; in InitializeDefaultWindow()
297 init_params.top_level = true; in InitializeDefaultWindow()
299 init_params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW; in InitializeDefaultWindow()
300 init_params.keep_on_top = create_params.always_on_top; in InitializeDefaultWindow()
305 init_params.bounds = window_bounds; in InitializeDefaultWindow()
310 init_params.wm_class_name = web_app::GetWMClassFromAppName(app_name); in InitializeDefaultWindow()
[all …]
Dnative_app_window_views_win.h20 virtual void OnBeforeWidgetInit(views::Widget::InitParams* init_params,
/external/chromium_org/chrome/browser/ui/views/
Dpdf_password_dialog.cc68 views::MessageBoxView::InitParams init_params(prompt); in PDFPasswordDialogViews() local
69 init_params.options = views::MessageBoxView::HAS_PROMPT_FIELD; in PDFPasswordDialogViews()
70 init_params.inter_row_vertical_spacing = in PDFPasswordDialogViews()
72 message_box_view_ = new views::MessageBoxView(init_params); in PDFPasswordDialogViews()
Dtab_modal_confirm_dialog_views.cc46 views::MessageBoxView::InitParams init_params(delegate->GetMessage()); in TabModalConfirmDialogViews() local
47 init_params.inter_row_vertical_spacing = in TabModalConfirmDialogViews()
49 message_box_view_ = new views::MessageBoxView(init_params); in TabModalConfirmDialogViews()
/external/chromium_org/content/common/gpu/
Dgpu_channel.cc596 const GPUCreateCommandBufferConfig& init_params, in CreateViewCommandBuffer() argument
605 GpuCommandBufferStub* share_group = stubs_.Lookup(init_params.share_group_id); in CreateViewCommandBuffer()
624 init_params.attribs, in CreateViewCommandBuffer()
625 init_params.gpu_preference, in CreateViewCommandBuffer()
631 init_params.active_url)); in CreateViewCommandBuffer()
841 const GPUCreateCommandBufferConfig& init_params, in OnCreateOffscreenCommandBuffer() argument
844 GpuCommandBufferStub* share_group = stubs_.Lookup(init_params.share_group_id); in OnCreateOffscreenCommandBuffer()
856 init_params.attribs, in OnCreateOffscreenCommandBuffer()
857 init_params.gpu_preference, in OnCreateOffscreenCommandBuffer()
863 init_params.active_url)); in OnCreateOffscreenCommandBuffer()
Dgpu_channel.h120 const GPUCreateCommandBufferConfig& init_params,
183 const GPUCreateCommandBufferConfig& init_params,
/external/chromium_org/content/browser/gpu/
Dbrowser_gpu_channel_host_factory.cc201 const GPUCreateCommandBufferConfig& init_params) { in CreateViewCommandBufferOnIO() argument
215 init_params, in CreateViewCommandBufferOnIO()
229 const GPUCreateCommandBufferConfig& init_params) { in CreateViewCommandBuffer() argument
236 init_params)); in CreateViewCommandBuffer()
Dbrowser_gpu_channel_host_factory.h35 const GPUCreateCommandBufferConfig& init_params) OVERRIDE;
113 const GPUCreateCommandBufferConfig& init_params);

12