| Index: ui/views/window/non_client_view.h
|
| diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
|
| index 8be4a8599b45ef67ef2ce69f9f388295eb18f495..3b6fd0b7c7574fc53ef9ccfd47662c039e335e8d 100644
|
| --- a/ui/views/window/non_client_view.h
|
| +++ b/ui/views/window/non_client_view.h
|
| @@ -150,9 +150,10 @@ class VIEWS_EXPORT NonClientView : public View {
|
| // Called by the containing Window when it is closed.
|
| void WindowClosing();
|
|
|
| - // Changes the frame from native to custom depending on the value of
|
| - // |use_native_frame|.
|
| - void UpdateFrame();
|
| + // Replaces the frame view with a new one. Used when switching window theme
|
| + // or frame style. Pass true for |layout| to refresh the window layout (the
|
| + // common case) or false if you will trigger layout yourself.
|
| + void UpdateFrame(bool layout);
|
|
|
| // Prevents the window from being rendered as deactivated when |disable| is
|
| // true, until called with |disable| false. Used when a sub-window is to be
|
|
|