| Index: views/widget/widget.h
|
| diff --git a/views/widget/widget.h b/views/widget/widget.h
|
| index ba0445b7449f9deaabefb08b8c0cddd1a0604183..abc8fbaa9a4c22bdee93a1c1dd21e42374fd241f 100644
|
| --- a/views/widget/widget.h
|
| +++ b/views/widget/widget.h
|
| @@ -342,10 +342,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| // Returns whether the Widget is the currently active window.
|
| virtual bool IsActive() const;
|
|
|
| - // Prevents the window from being rendered as deactivated the next time it is.
|
| - // This state is reset automatically as soon as the window becomes activated
|
| - // again. There is no ability to control the state through this API as this
|
| - // leads to sync problems.
|
| + // Prevents the window from being rendered as deactivated. This state is
|
| + // reset automatically as soon as the window becomes activated again. There is
|
| + // no ability to control the state through this API as this leads to sync
|
| + // problems.
|
| void DisableInactiveRendering();
|
|
|
| // Sets the widget to be on top of all other widgets in the windowing system.
|
| @@ -633,6 +633,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| // Returns whether capture should be released on mouse release.
|
| virtual bool ShouldReleaseCaptureOnMouseReleased() const;
|
|
|
| + // Sets the value of |disable_inactive_rendering_|. If the value changes,
|
| + // both the NonClientView and WidgetDelegate are notified.
|
| + void SetInactiveRenderingDisabled(bool value);
|
| +
|
| // Persists the window's restored position and "show" state using the
|
| // window delegate.
|
| void SaveWindowPlacement();
|
|
|