diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ui/views/native_app_window_views.cc | 4 | ||||
-rw-r--r-- | apps/ui/views/native_app_window_views.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/ui/views/native_app_window_views.cc b/apps/ui/views/native_app_window_views.cc index 4579c73..e185b8f 100644 --- a/apps/ui/views/native_app_window_views.cc +++ b/apps/ui/views/native_app_window_views.cc @@ -401,4 +401,8 @@ bool NativeAppWindowViews::CanHaveAlphaEnabled() const { return widget_->IsTranslucentWindowOpacitySupported(); } +void NativeAppWindowViews::SetVisibleOnAllWorkspaces(bool always_visible) { + widget_->SetVisibleOnAllWorkspaces(always_visible); +} + } // namespace apps diff --git a/apps/ui/views/native_app_window_views.h b/apps/ui/views/native_app_window_views.h index 9988b17..931faba 100644 --- a/apps/ui/views/native_app_window_views.h +++ b/apps/ui/views/native_app_window_views.h @@ -161,6 +161,7 @@ class NativeAppWindowViews : public extensions::NativeAppWindow, virtual void SetContentSizeConstraints(const gfx::Size& min_size, const gfx::Size& max_size) OVERRIDE; virtual bool CanHaveAlphaEnabled() const OVERRIDE; + virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; // web_modal::WebContentsModalDialogHost implementation. virtual gfx::NativeView GetHostView() const OVERRIDE; |