Lines Matching refs:widget
37 ClientViewEx(views::Widget* widget, in ClientViewEx() argument
40 : views::ClientView(widget, contents_view), in ClientViewEx()
61 NativeFrameViewEx(views::Widget* widget, CefWindowView* view) in NativeFrameViewEx() argument
62 : views::NativeFrameView(widget), widget_(widget), view_(view) {} in NativeFrameViewEx()
117 CaptionlessFrameView(views::Widget* widget, CefWindowView* view) in CaptionlessFrameView() argument
118 : widget_(widget), view_(view) {} in CaptionlessFrameView()
262 views::Widget* widget = cef::IsChromeRuntimeEnabled() ? new ChromeBrowserFrame in CreateWidget() local
308 params.parent = view_util::GetNativeView(parent_window_impl->widget()); in CreateWidget()
336 widget->Init(std::move(params)); in CreateWidget()
337 widget->AddObserver(this); in CreateWidget()
340 DCHECK_EQ(widget, GetWidget()); in CreateWidget()
342 DCHECK(widget->is_top_level()); in CreateWidget()
346 DCHECK(widget->widget_delegate()->CanActivate()); in CreateWidget()
352 auto window = view_util::GetWindowHandle(widget); in CreateWidget()
418 views::ClientView* CefWindowView::CreateClientView(views::Widget* widget) { in CreateClientView() argument
419 return new ClientViewEx(widget, GetContentsView(), window_delegate_); in CreateClientView()
423 CefWindowView::CreateNonClientFrameView(views::Widget* widget) { in CreateNonClientFrameView() argument
426 return std::make_unique<CaptionlessFrameView>(widget, this); in CreateNonClientFrameView()
427 } else if (widget->ShouldUseNativeFrame()) { in CreateNonClientFrameView()
430 return std::make_unique<NativeFrameViewEx>(widget, this); in CreateNonClientFrameView()
493 void CefWindowView::OnWidgetBoundsChanged(views::Widget* widget, in OnWidgetBoundsChanged() argument
499 const views::Widget* widget = GetWidget(); in GetDisplay() local
500 if (widget) { in GetDisplay()
502 widget->GetWindowBoundsInScreen(), false); in GetDisplay()
509 views::Widget* widget = GetWidget(); in SetTitle() local
510 if (widget) in SetTitle()
511 widget->UpdateWindowTitle(); in SetTitle()
521 views::Widget* widget = GetWidget(); in SetWindowIcon() local
522 if (widget) in SetWindowIcon()
523 widget->UpdateWindowIcon(); in SetWindowIcon()
528 views::Widget* widget = GetWidget(); in SetWindowAppIcon() local
529 if (widget) in SetWindowAppIcon()
530 widget->UpdateWindowIcon(); in SetWindowAppIcon()
541 views::Widget* widget = GetWidget(); in AddOverlayView() local
542 if (widget) { in AddOverlayView()
585 const views::Widget* widget = GetWidget(); in GetNonClientFrameView() local
586 if (!widget) in GetNonClientFrameView()
588 if (!widget->non_client_view()) in GetNonClientFrameView()
590 return widget->non_client_view()->frame_view(); in GetNonClientFrameView()