summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index d739c42..d51dca3 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -232,6 +232,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
static void SetDebugPaintEnabled(bool enabled);
static bool IsDebugPaintEnabled();
+ // Returns true if the specified type requires a NonClientView.
+ static bool RequiresNonClientView(InitParams::Type type);
+
void Init(const InitParams& params);
// Returns the gfx::NativeView associated with this Widget.