| Index: ui/views/views_delegate.h
|
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
|
| index 72aaeeaa8e611402a4c05f99a4a64c268efa3b51..151758614aef0987ab53a2371d64af96204a815d 100644
|
| --- a/ui/views/views_delegate.h
|
| +++ b/ui/views/views_delegate.h
|
| @@ -96,6 +96,10 @@ class VIEWS_EXPORT ViewsDelegate {
|
| // apply transparent window frames in the NonClientFrameView.
|
| virtual bool UseTransparentWindows() const = 0;
|
|
|
| + // Sets whether this ViewsDelegate should respond to AddRef/ReleaseRef calls.
|
| + // Can be used if there is a part of the application lifecycle during which
|
| + virtual void SetRefCounting(bool is_ref_counting) = 0;
|
| +
|
| // AddRef/ReleaseRef are invoked while a menu is visible. They are used to
|
| // ensure we don't attempt to exit while a menu is showing.
|
| virtual void AddRef() = 0;
|
|
|