| Index: ui/aura/window.h
|
| diff --git a/ui/aura/window.h b/ui/aura/window.h
|
| index 934bccb6bbf69405be1d5a94fab8bb024d6c8f48..64114406f661d2b469c5fb460483c911e03b6073 100644
|
| --- a/ui/aura/window.h
|
| +++ b/ui/aura/window.h
|
| @@ -123,6 +123,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
|
| void Hide();
|
| // Returns true if this window and all its ancestors are visible.
|
| bool IsVisible() const;
|
| + // Returns the visibility requested by this window. IsVisible() takes into
|
| + // account the visibility of the layer and ancestors, where as this tracks
|
| + // whether Show() without a Hide() has been invoked.
|
| + bool TargetVisibility() const { return visible_; }
|
|
|
| // Returns the window's bounds in screen coordinates.
|
| gfx::Rect GetScreenBounds() const;
|
|
|