diff options
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/window_gtk.cc | 8 | ||||
-rw-r--r-- | views/window/window_gtk.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc index f27a771..4b181ed 100644 --- a/views/window/window_gtk.cc +++ b/views/window/window_gtk.cc @@ -183,6 +183,14 @@ gfx::NativeWindow WindowGtk::GetNativeWindow() const { return GTK_WINDOW(GetNativeView()); } +bool WindowGtk::ShouldUseNativeFrame() const { + return false; +} + +void WindowGtk::FrameTypeChanged() { + NOTIMPLEMENTED(); +} + WindowGtk::WindowGtk(WindowDelegate* window_delegate) : WidgetGtk(TYPE_WINDOW), is_modal_(false), diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index 18b9210..92ccd56 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -56,6 +56,8 @@ class WindowGtk : public WidgetGtk, public Window { virtual NonClientView* GetNonClientView() const; virtual ClientView* GetClientView() const; virtual gfx::NativeWindow GetNativeWindow() const; + virtual bool ShouldUseNativeFrame() const; + virtual void FrameTypeChanged(); virtual Window* AsWindow() { return this; } virtual const Window* AsWindow() const { return this; } |