Home | History | Annotate | Download | only in views

Lines Matching refs:widget_

28       widget_(NULL),
43 widget_ = new views::Widget;
47 widget_->AddObserver(this);
65 widget_->Init(init_params);
66 widget_->CenterWindow(
72 bool NativeAppWindowViews::IsActive() const { return widget_->IsActive(); }
75 return widget_->IsMaximized();
79 return widget_->IsMinimized();
83 return widget_->IsFullscreen();
87 return widget_->GetNativeWindow();
91 return widget_->GetRestoredBounds();
104 return widget_->GetWindowBoundsInScreen();
108 if (widget_->IsVisible()) {
109 widget_->Activate();
112 widget_->Show();
116 if (widget_->IsVisible())
119 widget_->ShowInactive();
122 void NativeAppWindowViews::Hide() { widget_->Hide(); }
124 void NativeAppWindowViews::Close() { widget_->Close(); }
126 void NativeAppWindowViews::Activate() { widget_->Activate(); }
128 void NativeAppWindowViews::Deactivate() { widget_->Deactivate(); }
130 void NativeAppWindowViews::Maximize() { widget_->Maximize(); }
132 void NativeAppWindowViews::Minimize() { widget_->Minimize(); }
134 void NativeAppWindowViews::Restore() { widget_->Restore(); }
137 widget_->SetBounds(bounds);
141 widget_->FlashFrame(flash);
146 return widget_->IsAlwaysOnTop();
150 widget_->SetAlwaysOnTop(always_on_top);
154 return widget_->GetNativeView();
158 gfx::Size app_window_size = widget_->GetWindowBoundsInScreen().size();
164 return widget_->GetWindowBoundsInScreen().size();
220 widget_->RemoveObserver(this);
224 views::Widget* NativeAppWindowViews::GetWidget() { return widget_; }
226 const views::Widget* NativeAppWindowViews::GetWidget() const { return widget_; }
312 widget_->SetFullscreen(fullscreen_types != AppWindow::FULLSCREEN_TYPE_NONE);
317 return widget_->IsFullscreen();
325 void NativeAppWindowViews::UpdateWindowIcon() { widget_->UpdateWindowIcon(); }
327 void NativeAppWindowViews::UpdateWindowTitle() { widget_->UpdateWindowTitle(); }
380 widget_->non_client_view()->GetWindowBoundsForClientBounds(client_bounds);
405 return widget_->IsTranslucentWindowOpacitySupported();