| Index: ui/views/widget/widget.h
|
| diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
|
| index f1b2d41e3c390a03b0a9b71bbbbfb4f40ea32ae0..b82a2f7b994f184178bca7c2920666626c323044 100644
|
| --- a/ui/views/widget/widget.h
|
| +++ b/ui/views/widget/widget.h
|
| @@ -193,6 +193,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate,
|
| gfx::NativeWindow parent,
|
| const gfx::Rect& bounds);
|
| + static Widget* CreateFramelessWindowWithParentAndBounds(
|
| + WidgetDelegate* delegate,
|
| + gfx::NativeWindow parent,
|
| + const gfx::Rect& bounds);
|
|
|
| // Enumerates all windows pertaining to us and notifies their
|
| // view hierarchies that the locale has changed.
|
| @@ -663,6 +667,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| // Sizes and positions the window just after it is created.
|
| void SetInitialBounds(const gfx::Rect& bounds);
|
|
|
| + // Sizes and positions the frameless window just after it is created.
|
| + void SetInitialBoundsForFramelessWindow(const gfx::Rect& bounds);
|
| +
|
| // Returns the bounds and "show" state from the delegate. Returns true if
|
| // the delegate wants to use a specified bounds.
|
| bool GetSavedWindowPlacement(gfx::Rect* bounds,
|
|
|