summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget.h')
-rw-r--r--views/widget/native_widget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/widget/native_widget.h b/views/widget/native_widget.h
index f3faba0..6cb4147 100644
--- a/views/widget/native_widget.h
+++ b/views/widget/native_widget.h
@@ -66,6 +66,14 @@ class NativeWidget {
// Initializes the NativeWidget.
virtual void InitNativeWidget(const Widget::InitParams& params) = 0;
+ // Returns a NonClientFrameView for the widget's NonClientView, or NULL if
+ // the NativeWidget wants no special NonClientFrameView.
+ virtual NonClientFrameView* CreateNonClientFrameView() = 0;
+
+ virtual void UpdateFrameAfterFrameChange() = 0;
+ virtual bool ShouldUseNativeFrame() const = 0;
+ virtual void FrameTypeChanged() = 0;
+
// Returns the Widget associated with this NativeWidget. This function is
// guaranteed to return non-NULL for the lifetime of the NativeWidget.
virtual Widget* GetWidget() = 0;