Home
last modified time | relevance | path

Searched refs:widget_delegate (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/mojo/examples/window_manager/
Ddebug_panel.cc47 views::WidgetDelegateView* widget_delegate = new views::WidgetDelegateView(); in DebugPanel() local
48 widget_delegate->GetContentsView()->set_background( in DebugPanel()
50 widget_delegate->GetContentsView()->AddChildView(navigation_target_label_); in DebugPanel()
51 widget_delegate->GetContentsView()->AddChildView(navigation_target_default_); in DebugPanel()
52 widget_delegate->GetContentsView()->AddChildView(navigation_target_new_); in DebugPanel()
53 widget_delegate->GetContentsView()->AddChildView(navigation_target_source_); in DebugPanel()
54 widget_delegate->GetContentsView()->AddChildView(colored_square_); in DebugPanel()
55 widget_delegate->GetContentsView()->AddChildView(close_last_); in DebugPanel()
56 widget_delegate->GetContentsView()->AddChildView(cross_app_); in DebugPanel()
57 widget_delegate->GetContentsView()->SetLayoutManager(this); in DebugPanel()
[all …]
/external/chromium_org/ui/views/widget/
Dwidget_hwnd_utils.cc26 WidgetDelegate* widget_delegate, in CalculateWindowStylesFromInitParams() argument
88 if (!widget_delegate->CanMaximize()) in CalculateWindowStylesFromInitParams()
90 if (!widget_delegate->CanMinimize()) in CalculateWindowStylesFromInitParams()
92 if (!widget_delegate->CanResize()) in CalculateWindowStylesFromInitParams()
153 WidgetDelegate* widget_delegate, in ConfigureWindowStyles() argument
159 CalculateWindowStylesFromInitParams(params, widget_delegate, in ConfigureWindowStyles()
Dwidget_hwnd_utils.h31 WidgetDelegate* widget_delegate,
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_factory.cc19 RenderWidgetHostDelegate* widget_delegate, in Create() argument
25 return factory_->CreateRenderViewHost(instance, delegate, widget_delegate, in Create()
29 return new RenderViewHostImpl(instance, delegate, widget_delegate, routing_id, in Create()
Drender_view_host_factory.h30 RenderWidgetHostDelegate* widget_delegate,
50 RenderWidgetHostDelegate* widget_delegate,
/external/chromium_org/mojo/examples/keyboard/
Dkeyboard.cc84 views::WidgetDelegateView* widget_delegate = new views::WidgetDelegateView; in CreateWidget() local
85 widget_delegate->GetContentsView()->AddChildView(new KeyboardView(this)); in CreateWidget()
86 widget_delegate->GetContentsView()->SetLayoutManager(new views::FillLayout); in CreateWidget()
92 params.delegate = widget_delegate; in CreateWidget()
/external/chromium_org/mojo/examples/browser/
Dbrowser.cc186 views::WidgetDelegateView* widget_delegate = new views::WidgetDelegateView; in CreateWidget() local
187 widget_delegate->GetContentsView()->set_background( in CreateWidget()
189 widget_delegate->GetContentsView()->AddChildView(textfield); in CreateWidget()
190 widget_delegate->GetContentsView()->SetLayoutManager( in CreateWidget()
197 params.delegate = widget_delegate; in CreateWidget()
/external/chromium_org/content/test/
Dtest_render_view_host_factory.cc32 RenderWidgetHostDelegate* widget_delegate, in CreateRenderViewHost() argument
37 instance, delegate, widget_delegate, routing_id, main_frame_routing_id, in CreateRenderViewHost()
Dtest_render_view_host_factory.h33 RenderWidgetHostDelegate* widget_delegate,
Dtest_render_view_host.cc215 RenderWidgetHostDelegate* widget_delegate, in TestRenderViewHost() argument
221 widget_delegate, in TestRenderViewHost()
/external/chromium_org/ash/wm/panels/
Dpanel_frame_view.cc27 DCHECK(!frame_->widget_delegate()->CanMaximize()); in PanelFrameView()
48 if (frame_->widget_delegate()->ShouldShowWindowIcon()) { in InitHeaderPainter()
88 views::WidgetDelegate* delegate = frame_->widget_delegate(); in UpdateWindowIcon()
/external/chromium_org/content/shell/browser/
Dshell_views.cc463 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); in PlatformEnableUIControl()
480 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); in PlatformSetAddressBarURL()
532 views::WidgetDelegate* widget_delegate = window_widget_->widget_delegate(); in PlatformSetContents() local
534 static_cast<ShellWindowDelegateView*>(widget_delegate); in PlatformSetContents()
553 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); in PlatformSetTitle()
563 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); in PlatformHandleContextMenu()
572 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); in PlatformWebContentsFocused()
/external/chromium_org/mojo/examples/media_viewer/
Dmedia_viewer.cc144 views::WidgetDelegateView* widget_delegate = new views::WidgetDelegateView; in Initialize() local
146 widget_delegate->GetContentsView()->SetLayoutManager( in Initialize()
149 widget_delegate->GetContentsView()->set_background( in Initialize()
157 widget_delegate->GetContentsView()->AddChildView(button); in Initialize()
164 params.delegate = widget_delegate; in Initialize()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_win.cc130 GetWidget()->widget_delegate(), in Init()
607 return GetWidget()->widget_delegate()->CanResize(); in CanResize()
611 return GetWidget()->widget_delegate()->CanMaximize(); in CanMaximize()
615 return GetWidget()->widget_delegate()->CanMinimize(); in CanMinimize()
638 return GetWidget()->widget_delegate()->WillProcessWorkAreaChange(); in WillProcessWorkAreaChange()
691 return GetWidget()->widget_delegate()->ShouldHandleSystemCommands(); in ShouldHandleSystemCommands()
713 return GetWidget()->widget_delegate() && in HandleAppCommand()
714 GetWidget()->widget_delegate()->ExecuteWindowsCommand(command); in HandleAppCommand()
746 return GetWidget()->widget_delegate()->ExecuteWindowsCommand(command); in HandleCommand()
777 GetWidget()->widget_delegate()->OnDisplayChanged(); in HandleDisplayChange()
[all …]
Ddesktop_native_widget_aura.cc938 GetWidget()->widget_delegate()->CanMaximize()); in OnSizeConstraintsChanged()
940 GetWidget()->widget_delegate()->CanResize()); in OnSizeConstraintsChanged()
971 views::WidgetDelegate* widget_delegate = GetWidget()->widget_delegate(); in ShouldDescendIntoChildForEventHandling() local
972 return !widget_delegate || in ShouldDescendIntoChildForEventHandling()
973 widget_delegate->ShouldDescendIntoChildForEventHandling(child, location); in ShouldDescendIntoChildForEventHandling()
/external/chromium_org/apps/ui/views/
Dapp_window_frame_view.cc180 bool can_ever_resize = widget_->widget_delegate() in NonClientHitTest()
181 ? widget_->widget_delegate()->CanResize() in NonClientHitTest()
234 maximize_button_->SetEnabled(widget_->widget_delegate() && in SizeConstraintsChanged()
235 widget_->widget_delegate()->CanMaximize()); in SizeConstraintsChanged()
260 maximize_button_->SetEnabled(widget_->widget_delegate() && in Layout()
261 widget_->widget_delegate()->CanMaximize()); in Layout()
/external/chromium_org/chrome/browser/ui/views/
Dweb_contents_modal_dialog_manager_views.cc143 if (widget->widget_delegate() && in Focus()
144 widget->widget_delegate()->GetInitiallyFocusedView()) in Focus()
145 widget->widget_delegate()->GetInitiallyFocusedView()->RequestFocus(); in Focus()
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc112 if (frame_->widget_delegate()->ShouldShowWindowIcon()) { in Init()
170 frame_->widget_delegate()->CanResize()); in NonClientHitTest()
197 if (frame_->widget_delegate()->ShouldShowWindowTitle()) in UpdateWindowTitle()
390 WidgetDelegate* delegate = frame_->widget_delegate(); in PaintTitleBar()
548 if (!frame_->widget_delegate()->ShouldShowWindowTitle()) in LayoutTitleBar()
604 bool should_show = frame_->widget_delegate()->CanMinimize(); in GetImageButton()
617 bool should_show = frame_->widget_delegate()->CanMaximize(); in GetImageButton()
/external/chromium_org/chrome/browser/ui/views/apps/
Dglass_app_window_frame_view_win.cc78 bool can_ever_resize = widget_->widget_delegate() in NonClientHitTest()
79 ? widget_->widget_delegate()->CanResize() in NonClientHitTest()
/external/chromium_org/ui/views/bubble/
Dbubble_frame_view.cc113 if (GetWidget()->widget_delegate()->AsDialogDelegate()) { in NonClientHitTest()
154 close_->SetVisible(GetWidget()->widget_delegate()->ShouldShowCloseButton()); in ResetWindowControls()
160 title_->SetText(GetWidget()->widget_delegate()->ShouldShowWindowTitle() ? in UpdateWindowTitle()
161 GetWidget()->widget_delegate()->GetWindowTitle() : base::string16()); in UpdateWindowTitle()
Dbubble_delegate_unittest.cc73 EXPECT_EQ(bubble_delegate, bubble_widget->widget_delegate()); in TEST_F()
94 EXPECT_EQ(bubble_delegate, bubble_widget->widget_delegate()); in TEST_F()
177 EXPECT_EQ(bubble_delegate, bubble_widget->widget_delegate()); in TEST_F()
/external/chromium_org/ash/frame/
Ddefault_header_painter.cc176 if (frame_->widget_delegate() && in PaintHeader()
177 frame_->widget_delegate()->ShouldShowWindowTitle()) { in PaintHeader()
273 canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), in PaintTitleBar()
Dframe_border_hit_test_controller.cc49 bool can_ever_resize = frame->widget_delegate()->CanResize(); in NonClientHitTest()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_header_painter_ash.cc223 if (frame_->widget_delegate() && in PaintHeader()
224 frame_->widget_delegate()->ShouldShowWindowTitle()) { in PaintHeader()
334 canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), in PaintTitleBar()
Dopaque_browser_frame_view.cc250 views::WidgetDelegate* delegate = frame()->widget_delegate(); in NonClientHitTest()
344 views::WidgetDelegate* delegate = frame()->widget_delegate(); in GetFaviconForTabIconView()
378 views::WidgetDelegate* delegate = frame()->widget_delegate(); in ShouldShowWindowIcon()
387 views::WidgetDelegate* delegate = frame()->widget_delegate(); in ShouldShowWindowTitle()
393 return frame()->widget_delegate()->GetWindowTitle(); in GetWindowTitle()

12